From 083782c07b2a284f2f4ceaef6d90a408b30f2fc3 Mon Sep 17 00:00:00 2001 From: Zacqary Xeper Date: Mon, 16 May 2022 11:42:18 -0500 Subject: [PATCH] Add comments to rulesnoozetype --- x-pack/plugins/alerting/common/rule_snooze_type.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x-pack/plugins/alerting/common/rule_snooze_type.ts b/x-pack/plugins/alerting/common/rule_snooze_type.ts index e64b9e5b663cd..ee13819772b9f 100644 --- a/x-pack/plugins/alerting/common/rule_snooze_type.ts +++ b/x-pack/plugins/alerting/common/rule_snooze_type.ts @@ -9,6 +9,8 @@ export type RuleSnooze = Array<{ startTime: string; duration: number; timeZone: string; + // For scheduled/recurring snoozes, `id` uniquely identifies them so that they can be displayed, modified, and deleted individually id?: string; + // An iCal RRULE string to define a recurrence schedule, see https://github.com/jakubroztocil/rrule for the spec rRule?: string; }>;