mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 21:36:46 +02:00
🎉 Move files to other projects and teams
This commit is contained in:
parent
6a345c4b8a
commit
c6765a48c5
10 changed files with 290 additions and 70 deletions
|
@ -24,7 +24,7 @@
|
|||
team (th/create-team* 1 {:profile-id (:id profile)})
|
||||
project-id (uuid/next)]
|
||||
|
||||
;; crate project
|
||||
;; create project
|
||||
(let [data {::th/type :create-project
|
||||
:id project-id
|
||||
:profile-id (:id profile)
|
||||
|
@ -37,7 +37,7 @@
|
|||
(let [result (:result out)]
|
||||
(t/is (= (:name data) (:name result)))))
|
||||
|
||||
;; query a list of projects
|
||||
;; query the list of projects of a team
|
||||
(let [data {::th/type :projects
|
||||
:team-id (:id team)
|
||||
:profile-id (:id profile)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue