A number of task improvements. Not optimal tag selection
Some checks failed
Build BAB Application Deployment Artifact / build (push) Failing after 2m20s

This commit is contained in:
2024-03-31 14:43:45 -04:00
parent d752898865
commit 923d09d713
8 changed files with 232 additions and 42 deletions

View File

@@ -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;