Move collections to separate directory
parent
9e3fbd5d08
commit
93d6546ce9
@ -0,0 +1,11 @@
|
|||||||
|
import { Collection, FieldTypes, Policies } from "sealious";
|
||||||
|
|
||||||
|
const tasks = new (class extends Collection {
|
||||||
|
fields = {
|
||||||
|
title: new FieldTypes.Text(),
|
||||||
|
done: new FieldTypes.Boolean(),
|
||||||
|
};
|
||||||
|
defaultPolicy = new Policies.Public();
|
||||||
|
})();
|
||||||
|
|
||||||
|
export default tasks;
|
Loading…
Reference in New Issue