mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 19:13:14 -04:00
ES|QL static metadata (#183890)
## Summary Cleanups the implementation of the metadata logic. There is no reason at this point (and maybe not even in the future) to have this metadata list be dynamic. This PR is removing this logic and cleans it up
This commit is contained in:
parent
96b195b76c
commit
c7ae3c6f71
17 changed files with 107 additions and 155 deletions
|
@ -35,11 +35,6 @@ function getCallbacksCode(callbacks: CodeSnippetProps['callbacks']) {
|
|||
],`
|
||||
: ''
|
||||
}
|
||||
${
|
||||
callbacks.metaFields
|
||||
? `getMetaFields: async () => ['_version', '_id', '_index', '_source'],`
|
||||
: ''
|
||||
}
|
||||
${
|
||||
callbacks.policies
|
||||
? `getPolicies: async () => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue