#146 added statuses progress and cancelled in task model

parent f8dfc160
...@@ -14,7 +14,7 @@ import { ...@@ -14,7 +14,7 @@ import {
import {Project} from './Project'; import {Project} from './Project';
import { DateTimeTask } from './DateTimeTask'; import { DateTimeTask } from './DateTimeTask';
export type taskFinishType = "opened"| "progress" | "done" |"failed"; export type taskFinishType = "opened"| "in-progress" | "done" |"failed"|"cancelled";
export type priorityType = "A" | "B" |"C"; export type priorityType = "A" | "B" |"C";
interface ITask{ interface ITask{
...@@ -55,7 +55,7 @@ import { DateTimeTask } from './DateTimeTask'; ...@@ -55,7 +55,7 @@ import { DateTimeTask } from './DateTimeTask';
@Column({ @Column({
type: "enum", type: "enum",
enum: ["opened", "done" , "failed"], enum: ["opened", "done" , "failed","in-progress","cancelled"],
default: "opened" default: "opened"
}) })
accomplish!: taskFinishType accomplish!: taskFinishType
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment