From dae5e71fa1e747c85ba42702b8cd3c495a74a532 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 6 Jul 2023 15:51:10 +0200 Subject: [PATCH] :sparkles: Mark new or updated files with new features for avoid crossversion modifications --- backend/src/app/rpc/commands/files.clj | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/src/app/rpc/commands/files.clj b/backend/src/app/rpc/commands/files.clj index be13e4fd6..d171f28b3 100644 --- a/backend/src/app/rpc/commands/files.clj +++ b/backend/src/app/rpc/commands/files.clj @@ -46,11 +46,14 @@ (def supported-features #{"storage/objects-map" "storage/pointer-map" + "internal/shape-record" + "internal/geom-record" "components/v2"}) (defn get-default-features [] - (cond-> #{} + (cond-> #{"internal/shape-record" + "internal/geom-record"} (contains? cf/flags :fdata-storage-pointer-map) (conj "storage/pointer-map")