mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [[ML] Updating calendars schema (#194160)](https://github.com/elastic/kibana/pull/194160) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"James Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2024-09-26T15:57:54Z","message":"[ML] Updating calendars schema (#194160)\n\nUpdating schema to add `skip_result`, `skip_model_update` and\r\n`force_time_shift`","sha":"8e29141c344d415087419c605bba7f07caa57cf4","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","v9.0.0","v8.16.0","backport:version"],"title":"[ML] Updating calendars schema","number":194160,"url":"https://github.com/elastic/kibana/pull/194160","mergeCommit":{"message":"[ML] Updating calendars schema (#194160)\n\nUpdating schema to add `skip_result`, `skip_model_update` and\r\n`force_time_shift`","sha":"8e29141c344d415087419c605bba7f07caa57cf4"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194160","number":194160,"mergeCommit":{"message":"[ML] Updating calendars schema (#194160)\n\nUpdating schema to add `skip_result`, `skip_model_update` and\r\n`force_time_shift`","sha":"8e29141c344d415087419c605bba7f07caa57cf4"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: James Gowdy <jgowdy@elastic.co>
This commit is contained in:
parent
3094a7e8b7
commit
d5dd72b392
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ export const calendarSchema = schema.object({
|
|||
description: schema.maybe(schema.string()),
|
||||
start_time: schema.oneOf([schema.string(), schema.number()]),
|
||||
end_time: schema.oneOf([schema.string(), schema.number()]),
|
||||
skip_result: schema.maybe(schema.boolean()),
|
||||
skip_model_update: schema.maybe(schema.boolean()),
|
||||
force_time_shift: schema.maybe(schema.number()),
|
||||
})
|
||||
),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue