Plugins support for code generation

This commit is contained in:
alonso.torres 2024-06-24 15:26:21 +02:00
parent 8ff0015458
commit f86156b619
4 changed files with 61 additions and 10 deletions

View file

@ -32,8 +32,10 @@
(dm/get-in (locate-file file-id) [:data :pages-index id]))
(defn locate-objects
[file-id page-id]
(:objects (locate-page file-id page-id)))
([]
(locate-objects (:current-file-id @st/state) (:current-page-id @st/state)))
([file-id page-id]
(:objects (locate-page file-id page-id))))
(defn locate-shape
[file-id page-id id]