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

@ -107,6 +107,13 @@ Lists.attachSchema(new SimpleSchema({
'saddlebrown', 'paleturquoise', 'mistyrose', 'indigo',
],
},
type: {
/**
* The type of list
*/
type: String,
defaultValue: 'list',
},
}));
Lists.allow({
@ -169,6 +176,10 @@ Lists.helpers({
return this.color;
return '';
},
isTemplateList() {
return this.type === 'template-list';
},
});
Lists.mutations({