n8n/packages/nodes-base/nodes/TheHive/interfaces/LogInterface.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
414 B
TypeScript
Raw Normal View History

import type { IAttachment } from './ObservableInterface';
export const enum LogStatus {
OK = 'Ok',
DELETED = 'Deleted',
}
export interface ILog {
// Required attributes
id?: string;
message?: string;
startDate?: Date;
status?: LogStatus;
// Optional attributes
attachment?: IAttachment;
// Backend generated attributes
createdBy?: string;
createdAt?: Date;
updatedBy?: string;
upadtedAt?: Date;
}