mirror of
https://github.com/penpot/penpot.git
synced 2025-06-09 12:51:40 +02: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
|
:assets-s3 :s3
|
||||||
:fs)))
|
: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
|
;; Storage Module State
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
@ -257,6 +267,8 @@
|
||||||
(pos? (db/get-update-count res))))
|
(pos? (db/get-update-count res))))
|
||||||
|
|
||||||
(dm/export impl/calculate-hash)
|
(dm/export impl/calculate-hash)
|
||||||
|
(dm/export impl/get-hash)
|
||||||
|
(dm/export impl/get-size)
|
||||||
|
|
||||||
(defn configure
|
(defn configure
|
||||||
[storage connectable]
|
[storage connectable]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue