chore: Add date types to IFlow and IExecution

This commit is contained in:
Faruk AYDIN
2023-10-26 17:15:10 +02:00
parent e185ceb385
commit ffaf9b6e0c

View File

@@ -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>;
} }