event-planner-lib
v0.1.1
Published
Non-ui code for event planning
Maintainers
Readme
Non-UI library for the event planner project
[!WARNING] In order to compile this you'll need access to @terrestrialorigin/core (and in the future, possibly other @terrestrialorigin/* libraries). Those are private libraries at this time. There's a chance they might become available in the future.
If you need to compile and use this yourself and you don't have access to @terrestrialorigin/core just remove the @terrestrialorigin/core dependency and use this for the Item interface (change the imports to use that instead):
export class Task implements Item {
id?: string;
name?: string;
description?: string;
active?: boolean;
created?: Date;
modified?: Date;
parents?: string[];
constructor(name?: string, description?: string) {
this.name = name;
this.description = description;
this.active = true;
this.created = new Date();
this.modified = new Date();
this.parents = [];
}
}Don't forget to install the dependencies
npm installWhile developing run:
npm run devTo run the tests:
npm run testBuild the project
npm run build