1
0
Fork 0
mirror of https://github.com/n8n-io/n8n.git synced 2025-02-21 02:56:40 -08:00
n8n/packages/nodes-base/nodes/TheHive/interfaces/TaskInterface.ts
2020-12-02 11:54:10 +01:00

26 lines
459 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 enum TaskStatus {
WAITING = 'Waiting',
INPROGRESS = 'InProgress',
COMPLETED = 'Completed',
CANCEL = 'Cancel',
}