-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RAM] Add data model for scheduled and recurring snoozes #131019
Changes from 32 commits
a98faba
fdbe1b5
bc20443
de7a37f
7fec109
ab4f21b
27c5702
29173d8
0822788
274c0c0
cabd5c3
7c918a5
5b57cb8
5df3868
7f8acf1
d128eac
59c5a1b
03d2d29
32344fe
e3c28e8
b93d460
f9dfc6e
370fd45
6dda9a2
128950f
8f3546f
8b69fad
01ae2b2
3af6c23
c526de9
6527c36
0f9826b
7eec7af
41414cb
fda4b4b
d2542a5
fadb744
0603855
fc99605
857c36f
4e1cc32
52f281f
92511d2
2434080
70a2aa7
3646458
2c53cb7
ed75133
20c37dc
083782c
f11125d
409c606
eb1f391
ffeb94d
f8fe600
22e839e
25f8f7d
3edaa0c
02baeea
07bb7e9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
export type RuleSnooze = Array<{ | ||
pmuellr marked this conversation as resolved.
Show resolved
Hide resolved
|
||
startTime: string; | ||
duration: number; | ||
timeZone?: string; | ||
Zacqary marked this conversation as resolved.
Show resolved
Hide resolved
|
||
id?: string; | ||
rRule?: string; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe we can use the type from the library There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't want to import There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. or we can just fork it for now There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I meant that we can just copy the interface, so our API is well defined There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This PR is already very large and duplicating the schema would be a lot of additional code, so I'm tracking this here: #132164 |
||
}>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a peer dependency of
rrule