mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 17:14:05 -08:00
26 lines
465 B
TypeScript
26 lines
465 B
TypeScript
export interface ITask {
|
|
// Required attributes
|
|
id?: string;
|
|
title?: string;
|
|
status?: TaskStatus;
|
|
flag?: boolean;
|
|
// Optional attributes
|
|
owner?: string;
|
|
description?: string;
|
|
startDate?: Date;
|
|
endDate?: Date;
|
|
// Backend generated attributes
|
|
|
|
createdBy?: string;
|
|
createdAt?: Date;
|
|
updatedBy?: string;
|
|
upadtedAt?: Date;
|
|
}
|
|
|
|
export const enum TaskStatus {
|
|
WAITING = 'Waiting',
|
|
INPROGRESS = 'InProgress',
|
|
COMPLETED = 'Completed',
|
|
CANCEL = 'Cancel',
|
|
}
|