[RAM] Add new attribute snoozeEndTime to alert saved objects (#125992)

* Add snooze_end_time property

* Switch property name to camelcase and add to types

* Switch to strict_date_time

* Remove number from types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Zacqary Adam Xeper 2022-03-03 12:00:21 -06:00 committed by GitHub
parent 891b6cd83b
commit 568a5578fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -155,6 +155,10 @@
}
}
}
},
"snoozeEndTime": {
"type": "date",
"format": "strict_date_time"
}
}
}

View file

@ -250,6 +250,7 @@ export interface RawRule extends SavedObjectAttributes {
meta?: AlertMeta;
executionStatus: RawRuleExecutionStatus;
monitoring?: RuleMonitoring;
snoozeEndTime?: string;
}
export type AlertInfoParams = Pick<