mirror of
https://github.com/penpot/penpot.git
synced 2025-07-31 14:48:34 +02:00
⬆️ Move svg parsing to the frontend with Tubax
This commit is contained in:
parent
f57fb5006d
commit
7ff608ff0b
7 changed files with 25 additions and 13 deletions
|
@ -110,14 +110,6 @@
|
|||
:response-type :blob})
|
||||
(rx/mapcat handle-response)))
|
||||
|
||||
(defmethod query :parsed-svg
|
||||
[id params]
|
||||
(->> (http/send! {:method :post
|
||||
:uri (u/join base-uri "api/rpc/query/" (name id))
|
||||
:body (http/transit-data params)})
|
||||
(rx/map http/conditional-decode-transit)
|
||||
(rx/mapcat handle-response)))
|
||||
|
||||
(derive :upload-file-media-object ::multipart-upload)
|
||||
(derive :update-profile-photo ::multipart-upload)
|
||||
(derive :update-team-photo ::multipart-upload)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue