summaryrefslogtreecommitdiffstats
path: root/models/cards.js
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2018-03-20 00:13:42 -0300
committerAndrés Manelli <andresmanelli@gmail.com>2018-08-10 23:55:19 +0200
commitdcc7b2970f3635b95bc71e3fc163a51cacad0931 (patch)
tree58f4bffdfef29b2bdab8d04a64fd8c873a0f20a4 /models/cards.js
parent193af893ee4da894e9494792306f5825e99de74a (diff)
downloadwekan-dcc7b2970f3635b95bc71e3fc163a51cacad0931.tar.gz
wekan-dcc7b2970f3635b95bc71e3fc163a51cacad0931.tar.bz2
wekan-dcc7b2970f3635b95bc71e3fc163a51cacad0931.zip
Add UI for importing card-as-card and board-as-card
Diffstat (limited to 'models/cards.js')
-rw-r--r--models/cards.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/models/cards.js b/models/cards.js
index b6a7b4c6..af8bea48 100644
--- a/models/cards.js
+++ b/models/cards.js
@@ -133,6 +133,13 @@ Cards.attachSchema(new SimpleSchema({
defaultValue: -1,
optional: true,
},
+ type: {
+ type: String,
+ },
+ importedId: {
+ type: String,
+ optional: true,
+ },
}));
Cards.allow({