mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 08:31:39 +02:00
🎉 Add specific namespace for data macros
And additionally add optimized macros for get-in, select-keys and str.
This commit is contained in:
parent
165c551e39
commit
84a36624a6
9 changed files with 277 additions and 184 deletions
|
@ -8,6 +8,7 @@
|
|||
"Objects storage abstraction layer."
|
||||
(:require
|
||||
[app.common.data :as d]
|
||||
[app.common.data.macros :as dm]
|
||||
[app.common.exceptions :as ex]
|
||||
[app.common.logging :as l]
|
||||
[app.common.spec :as us]
|
||||
|
@ -248,7 +249,7 @@
|
|||
(-> (assoc storage :conn (or conn pool))
|
||||
(delete-database-object (if (uuid? id-or-obj) id-or-obj (:id id-or-obj)))))
|
||||
|
||||
(d/export impl/resolve-backend)
|
||||
(dm/export impl/resolve-backend)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Garbage Collection: Permanently delete objects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue