A number of task improvements. Not optimal tag selection
Some checks failed
Build BAB Application Deployment Artifact / build (push) Failing after 2m20s
Some checks failed
Build BAB Application Deployment Artifact / build (push) Failing after 2m20s
This commit is contained in:
@@ -2,14 +2,25 @@ import { defineStore } from 'pinia';
|
||||
import { AppwriteIds, databases, ID } from 'src/boot/appwrite';
|
||||
import type { Models } from 'appwrite';
|
||||
|
||||
export enum TASKSTATUS {
|
||||
READY = 'ready',
|
||||
COMPLETE = 'complete',
|
||||
WAITING = 'waiting',
|
||||
}
|
||||
export interface Task extends Models.Document {
|
||||
title: string;
|
||||
description: string;
|
||||
taskLabels: string[];
|
||||
dueDate: Date;
|
||||
parentId: string;
|
||||
required_skills: string[];
|
||||
tags: string[];
|
||||
due_date: string;
|
||||
duration: number;
|
||||
volunteers: string[];
|
||||
volunteers_required: number;
|
||||
status: TASKSTATUS;
|
||||
depends_on: string;
|
||||
completed: boolean;
|
||||
}
|
||||
boat: string;
|
||||
} // TODO: convert some of these strings into objects.
|
||||
|
||||
export interface TaskTag extends Models.Document {
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user