From da3f731341562c9dbdb92438b9b0746728e171b5 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 22 Oct 2024 18:33:11 +0530 Subject: [PATCH] feat: include schedule config in robot attributes --- server/src/models/Robot.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/models/Robot.ts b/server/src/models/Robot.ts index c19ed19a..c99a01f0 100644 --- a/server/src/models/Robot.ts +++ b/server/src/models/Robot.ts @@ -25,6 +25,7 @@ interface RobotAttributes { google_sheet_id?: string | null; google_access_token?: string | null; google_refresh_token?: string | null; + schedule?: ScheduleConfig | null; } interface ScheduleConfig { @@ -52,6 +53,7 @@ class Robot extends Model implements R public google_sheet_id?: string | null; public google_access_token!: string | null; public google_refresh_token!: string | null; + public schedule!: ScheduleConfig | null; } Robot.init(