mirror of
https://github.com/penpot/penpot.git
synced 2025-03-28 15:41:25 -05:00
✨ Expose a list of valid buckets on main storage ns
This commit is contained in:
parent
88d85706ad
commit
015fd5bc3a
1 changed files with 12 additions and 0 deletions
|
@ -32,6 +32,16 @@
|
|||
:assets-s3 :s3
|
||||
:fs)))
|
||||
|
||||
(def valid-buckets
|
||||
#{"file-media-object"
|
||||
"team-font-variant"
|
||||
"file-object-thumbnail"
|
||||
"file-thumbnail"
|
||||
"profile"
|
||||
"file-data"
|
||||
"file-data-fragment"
|
||||
"file-change"})
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Storage Module State
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
@ -257,6 +267,8 @@
|
|||
(pos? (db/get-update-count res))))
|
||||
|
||||
(dm/export impl/calculate-hash)
|
||||
(dm/export impl/get-hash)
|
||||
(dm/export impl/get-size)
|
||||
|
||||
(defn configure
|
||||
[storage connectable]
|
||||
|
|
Loading…
Add table
Reference in a new issue