Moved from master

This commit is contained in:
djmaze 2021-09-17 10:41:37 +02:00
parent 134deb8d73
commit 19c78c2350
37 changed files with 797 additions and 0 deletions

23
dev/Model/Template.js Normal file
View file

@ -0,0 +1,23 @@
import ko from 'ko';
import { AbstractModel } from 'Knoin/AbstractModel';
export class TemplateModel extends AbstractModel {
/**
* @param {string} id
* @param {string} name
* @param {string} body
*/
constructor(id = '', name = '', body = '') {
super();
this.id = id;
this.name = name;
this.body = body;
this.populated = true;
this.deleteAccess = ko.observable(false);
}
// static reviveFromJson(json) {}
}