[ES|QL] Renames the ESQLRealField type to ESQLFieldWithMetadata (#219894)

## Summary

Improves the naming of the `ESQLRealField` type

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Stratoula Kalafateli 2025-05-02 16:32:45 +02:00 committed by GitHub
parent 1a923ddd40
commit c89c1ee30d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 139 additions and 131 deletions

View file

@ -24,7 +24,11 @@ import {
import type { CoreStart } from '@kbn/core/public';
import { ESQLCallbacks, ESQLRealField, validateQuery } from '@kbn/esql-validation-autocomplete';
import {
ESQLCallbacks,
ESQLFieldWithMetadata,
validateQuery,
} from '@kbn/esql-validation-autocomplete';
import type { StartDependencies } from './plugin';
import { CodeSnippet } from './code_snippet';
@ -56,7 +60,7 @@ export const App = (props: { core: CoreStart; plugins: StartDependencies }) => {
[
{ name: 'doubleField', type: 'double' },
{ name: 'keywordField', type: 'keyword' },
] as ESQLRealField[]
] as ESQLFieldWithMetadata[]
: undefined,
getPolicies: callbacksEnabled.policies
? async () => [