Complete the model entities.

This commit is contained in:
2022-02-20 22:29:36 +01:00
parent c1a335ef60
commit 9ba0ba5856
2 changed files with 11 additions and 0 deletions

View File

@@ -2,4 +2,6 @@ export interface Task {
title: string;
creationDate: Date;
description: string;
subtasks: Task[];
isAsync: boolean;
}

View File

@@ -0,0 +1,9 @@
import { Task } from "./task";
export interface TaskList {
id: string;
name: string;
tasks: Task[],
achievedTasks: Task[];
abandonnedTasks: Task[];
}