[8.6] [Enterprise Search] Update on_demand enum value (#146127) (#146135)

# Backport

This will backport the following commits from `main` to `8.6`:
- [[Enterprise Search] Update on_demand enum value
(#146127)](https://github.com/elastic/kibana/pull/146127)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Sander
Philipse","email":"94373878+sphilipse@users.noreply.github.com"},"sourceCommit":{"committedDate":"2022-11-23T11:45:55Z","message":"[Enterprise
Search] Update on_demand enum value (#146127)\n\nThis updates the
TriggerMethod enum to match the connectors
protocol.","sha":"a2549b7c92c024389bd6690b84073b75608a6a34","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.6.0","v8.7.0"],"number":146127,"url":"https://github.com/elastic/kibana/pull/146127","mergeCommit":{"message":"[Enterprise
Search] Update on_demand enum value (#146127)\n\nThis updates the
TriggerMethod enum to match the connectors
protocol.","sha":"a2549b7c92c024389bd6690b84073b75608a6a34"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146127","number":146127,"mergeCommit":{"message":"[Enterprise
Search] Update on_demand enum value (#146127)\n\nThis updates the
TriggerMethod enum to match the connectors
protocol.","sha":"a2549b7c92c024389bd6690b84073b75608a6a34"}}]}]
BACKPORT-->

Co-authored-by: Sander Philipse <94373878+sphilipse@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2022-11-23 08:02:35 -05:00 committed by GitHub
parent ece3ec789e
commit 411da5f0db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,7 +99,7 @@ export interface FilteringConfig {
}
export enum TriggerMethod {
ON_DEMAND = 'on-demand',
ON_DEMAND = 'on_demand',
SCHEDULED = 'scheduled',
}