mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
✨ Expose a list of valid buckets on main storage ns
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user