mirror of
https://github.com/penpot/penpot.git
synced 2025-07-16 03:25:14 +02:00
✨ Add proper fdata objects deletion.
This commit is contained in:
parent
2293253558
commit
2728fa2b8d
7 changed files with 68 additions and 6 deletions
|
@ -62,6 +62,14 @@
|
|||
:context cfg))
|
||||
|
||||
|
||||
(defmulti del-object (fn [cfg _] (:type cfg)))
|
||||
|
||||
(defmethod del-object :default
|
||||
[cfg _]
|
||||
(ex/raise :type :internal
|
||||
:code :invalid-storage-backend
|
||||
:context cfg))
|
||||
|
||||
(defmulti del-objects-in-bulk (fn [cfg _] (:type cfg)))
|
||||
|
||||
(defmethod del-objects-in-bulk :default
|
||||
|
@ -70,7 +78,6 @@
|
|||
:code :invalid-storage-backend
|
||||
:context cfg))
|
||||
|
||||
|
||||
;; --- HELPERS
|
||||
|
||||
(defn uuid->hex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue