mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 18:56:13 +02:00
♻️ Reorganize files export and import related code on frontend
This commit is contained in:
parent
8618cb950f
commit
6c9f4a8fd5
15 changed files with 555 additions and 219 deletions
|
@ -10,10 +10,10 @@
|
|||
[app.common.record :as crc]
|
||||
[app.common.uuid :as uuid]
|
||||
[app.config :as cf]
|
||||
[app.main.data.exports.files :as exports.files]
|
||||
[app.main.data.workspace :as dw]
|
||||
[app.main.features :as features]
|
||||
[app.main.store :as st]
|
||||
[app.main.ui.export :as mue]
|
||||
[app.main.worker :as uw]
|
||||
[app.plugins.page :as page]
|
||||
[app.plugins.parser :as parser]
|
||||
|
@ -121,7 +121,7 @@
|
|||
(not (contains? #{"penpot" "zip"} format))
|
||||
(u/display-not-valid :format type)
|
||||
|
||||
(not (contains? (set mue/default-export-types) type))
|
||||
(not (contains? (set exports.files/valid-types) type))
|
||||
(u/display-not-valid :type type)
|
||||
|
||||
:else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue