From ffaf9b6e0c516d245ba832b64442f728b8c7b52e Mon Sep 17 00:00:00 2001 From: Faruk AYDIN Date: Thu, 26 Oct 2023 17:15:10 +0200 Subject: [PATCH] chore: Add date types to IFlow and IExecution --- packages/types/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/types/index.d.ts b/packages/types/index.d.ts index e8a70979..2e4e97d7 100644 --- a/packages/types/index.d.ts +++ b/packages/types/index.d.ts @@ -51,8 +51,8 @@ export interface IExecution { testRun: boolean; status: 'success' | 'failure'; executionSteps: IExecutionStep[]; - updatedAt: string; - createdAt: string; + updatedAt: string | Date; + createdAt: string | Date; } export interface IStep { @@ -83,8 +83,8 @@ export interface IFlow { active: boolean; status: 'paused' | 'published' | 'draft'; steps: IStep[]; - createdAt: string; - updatedAt: string; + createdAt: string | Date; + updatedAt: string | Date; remoteWebhookId: string; lastInternalId: () => Promise; }