🎉 Add variations POC

This commit is contained in:
Pablo Alba 2025-02-17 16:47:25 +01:00 committed by GitHub
parent 91fa39705d
commit 3268225941
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 751 additions and 124 deletions

View file

@ -20,6 +20,7 @@
[app.common.types.component :as ctk]
[app.common.types.components-list :as ctkl]
[app.common.types.shape-tree :as ctst]
[app.common.uuid :as uuid]
[clojure.test :as t]))
(t/use-fixtures :each thi/test-fixture)
@ -288,6 +289,7 @@
changes (cll/generate-duplicate-component (pcb/empty-changes)
file
(:id component)
(uuid/next)
true)
file' (thf/apply-changes file changes)