Add first draft of data model and user interface. No actions.

This commit is contained in:
Andrés Manelli 2019-02-22 22:59:19 +01:00
parent ef85b71ee4
commit 0a53ee87b9
14 changed files with 129 additions and 7 deletions

View file

@ -304,6 +304,13 @@ Boards.attachSchema(new SimpleSchema({
defaultValue: false,
optional: true,
},
type: {
/**
* The type of board
*/
type: String,
defaultValue: 'board',
},
}));
@ -559,6 +566,9 @@ Boards.helpers({
});
},
isTemplateBoard() {
return this.type === 'template-board';
},
});