# 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):
```ts
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

```bash
npm install
```

## While developing run:

```bash
npm run dev
```
## To run the tests:

```bash
npm run test
```

## Build the project

```bash
npm run build
```



