chore: Add date types to IFlow and IExecution
This commit is contained in:
8
packages/types/index.d.ts
vendored
8
packages/types/index.d.ts
vendored
@@ -51,8 +51,8 @@ export interface IExecution {
|
|||||||
testRun: boolean;
|
testRun: boolean;
|
||||||
status: 'success' | 'failure';
|
status: 'success' | 'failure';
|
||||||
executionSteps: IExecutionStep[];
|
executionSteps: IExecutionStep[];
|
||||||
updatedAt: string;
|
updatedAt: string | Date;
|
||||||
createdAt: string;
|
createdAt: string | Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IStep {
|
export interface IStep {
|
||||||
@@ -83,8 +83,8 @@ export interface IFlow {
|
|||||||
active: boolean;
|
active: boolean;
|
||||||
status: 'paused' | 'published' | 'draft';
|
status: 'paused' | 'published' | 'draft';
|
||||||
steps: IStep[];
|
steps: IStep[];
|
||||||
createdAt: string;
|
createdAt: string | Date;
|
||||||
updatedAt: string;
|
updatedAt: string | Date;
|
||||||
remoteWebhookId: string;
|
remoteWebhookId: string;
|
||||||
lastInternalId: () => Promise<string>;
|
lastInternalId: () => Promise<string>;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user