mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-21 23:37:37 -07:00
23 lines
478 B
TypeScript
23 lines
478 B
TypeScript
|
import { IDataObject } from "n8n-workflow";
|
||
|
import {IAttachment} from "./ObservableInterface";
|
||
|
export 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;
|
||
|
}
|