From 2ac82d1edd2bee8dd60348c3fb39dffb441c51cd Mon Sep 17 00:00:00 2001 From: Nathaniel Caza Date: Mon, 27 Nov 2023 13:44:39 -0600 Subject: [PATCH] regen --- gadb/models.go | 2 +- web/src/schema.d.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gadb/models.go b/gadb/models.go index 801a3b7912..9ceff6d90c 100644 --- a/gadb/models.go +++ b/gadb/models.go @@ -958,7 +958,7 @@ type Label struct { TgtEpID uuid.NullUUID TgtRotationID uuid.NullUUID TgtScheduleID uuid.NullUUID - TgtServiceID uuid.UUID + TgtServiceID uuid.NullUUID Value string } diff --git a/web/src/schema.d.ts b/web/src/schema.d.ts index 01f3032cb2..256988a558 100644 --- a/web/src/schema.d.ts +++ b/web/src/schema.d.ts @@ -572,6 +572,7 @@ export interface CreateScheduleInput { favorite?: null | boolean targets?: null | ScheduleTargetInput[] newUserOverrides?: null | CreateUserOverrideInput[] + labels?: null | SetLabelInput[] } export interface ScheduleTargetInput { @@ -627,6 +628,7 @@ export interface CreateEscalationPolicyInput { repeat?: null | number favorite?: null | boolean steps?: null | CreateEscalationPolicyStepInput[] + labels?: null | SetLabelInput[] } export interface CreateEscalationPolicyStepInput { @@ -706,6 +708,7 @@ export interface Schedule { isFavorite: boolean temporarySchedules: TemporarySchedule[] onCallNotificationRules: OnCallNotificationRule[] + labels: Label[] } export interface SetScheduleOnCallNotificationRulesInput { @@ -764,6 +767,7 @@ export interface CreateRotationInput { type: RotationType shiftLength?: null | number userIDs?: null | string[] + labels?: null | SetLabelInput[] } export interface Rotation { @@ -779,6 +783,7 @@ export interface Rotation { userIDs: string[] users: User[] nextHandoffTimes: ISOTimestamp[] + labels: Label[] } export type RotationType = 'monthly' | 'weekly' | 'daily' | 'hourly' @@ -1031,6 +1036,7 @@ export interface EscalationPolicy { assignedTo: Target[] steps: EscalationPolicyStep[] notices: Notice[] + labels: Label[] } export type AlertStatus =