0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 00:40:30 -05:00

Mark new or updated files with new features

for avoid crossversion modifications
This commit is contained in:
Andrey Antukh 2023-07-06 15:51:10 +02:00
parent dfc2ab56a9
commit dae5e71fa1

View file

@ -46,11 +46,14 @@
(def supported-features (def supported-features
#{"storage/objects-map" #{"storage/objects-map"
"storage/pointer-map" "storage/pointer-map"
"internal/shape-record"
"internal/geom-record"
"components/v2"}) "components/v2"})
(defn get-default-features (defn get-default-features
[] []
(cond-> #{} (cond-> #{"internal/shape-record"
"internal/geom-record"}
(contains? cf/flags :fdata-storage-pointer-map) (contains? cf/flags :fdata-storage-pointer-map)
(conj "storage/pointer-map") (conj "storage/pointer-map")