* Remove custom code, add in a hack * remove artifical limit * Fix arrow functions in interfaces not having children * Update docs * Update api docs after merge from master * update api docs after merge from master * update api docs # Conflicts: # api_docs/core.json # api_docs/data.json # api_docs/data_index_patterns.json # api_docs/deprecations.mdx # api_docs/features.json # api_docs/licensing.json # api_docs/reporting.json # api_docs/spaces.json
507 lines
No EOL
16 KiB
JSON
507 lines
No EOL
16 KiB
JSON
{
|
|
"id": "runtimeFields",
|
|
"client": {
|
|
"classes": [],
|
|
"functions": [
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.RuntimeFieldEditor",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "RuntimeFieldEditor",
|
|
"description": [],
|
|
"signature": [
|
|
"({ defaultValue, onChange, docLinks, ctx }: ",
|
|
{
|
|
"pluginId": "runtimeFields",
|
|
"scope": "public",
|
|
"docId": "kibRuntimeFieldsPluginApi",
|
|
"section": "def-public.Props",
|
|
"text": "Props"
|
|
},
|
|
") => JSX.Element"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/components/runtime_field_editor/runtime_field_editor.tsx",
|
|
"lineNumber": 22
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.RuntimeFieldEditor.$1",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "{ defaultValue, onChange, docLinks, ctx }",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "runtimeFields",
|
|
"scope": "public",
|
|
"docId": "kibRuntimeFieldsPluginApi",
|
|
"section": "def-public.Props",
|
|
"text": "Props"
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/components/runtime_field_editor/runtime_field_editor.tsx",
|
|
"lineNumber": 22
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
}
|
|
],
|
|
"returnComment": [],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.RuntimeFieldEditorFlyoutContent",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "RuntimeFieldEditorFlyoutContent",
|
|
"description": [],
|
|
"signature": [
|
|
"({ onSave, onCancel, docLinks, defaultValue: field, ctx, }: ",
|
|
{
|
|
"pluginId": "runtimeFields",
|
|
"scope": "public",
|
|
"docId": "kibRuntimeFieldsPluginApi",
|
|
"section": "def-public.Props",
|
|
"text": "Props"
|
|
},
|
|
") => JSX.Element"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.tsx",
|
|
"lineNumber": 78
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.RuntimeFieldEditorFlyoutContent.$1",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "{\n onSave,\n onCancel,\n docLinks,\n defaultValue: field,\n ctx,\n}",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "runtimeFields",
|
|
"scope": "public",
|
|
"docId": "kibRuntimeFieldsPluginApi",
|
|
"section": "def-public.Props",
|
|
"text": "Props"
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.tsx",
|
|
"lineNumber": 78
|
|
},
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
}
|
|
],
|
|
"returnComment": [],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"interfaces": [
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.FormState",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "FormState",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/components/runtime_field_form/runtime_field_form.tsx",
|
|
"lineNumber": 39
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.FormState.isValid",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "isValid",
|
|
"description": [],
|
|
"signature": [
|
|
"boolean | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/components/runtime_field_form/runtime_field_form.tsx",
|
|
"lineNumber": 40
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.FormState.isSubmitted",
|
|
"type": "boolean",
|
|
"tags": [],
|
|
"label": "isSubmitted",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/components/runtime_field_form/runtime_field_form.tsx",
|
|
"lineNumber": 41
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.FormState.submit",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "submit",
|
|
"description": [],
|
|
"signature": [
|
|
"(e?: React.FormEvent<HTMLFormElement> | React.MouseEvent<Element, MouseEvent> | undefined) => Promise<{ data: ",
|
|
{
|
|
"pluginId": "runtimeFields",
|
|
"scope": "public",
|
|
"docId": "kibRuntimeFieldsPluginApi",
|
|
"section": "def-public.RuntimeField",
|
|
"text": "RuntimeField"
|
|
},
|
|
"; isValid: boolean; }>"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/components/runtime_field_form/runtime_field_form.tsx",
|
|
"lineNumber": 42
|
|
},
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.e",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "e",
|
|
"description": [],
|
|
"signature": [
|
|
"React.FormEvent<HTMLFormElement> | React.MouseEvent<Element, MouseEvent> | undefined"
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/es_ui_shared/static/forms/hook_form_lib/types.ts",
|
|
"lineNumber": 29
|
|
},
|
|
"deprecated": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.Props",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "Props",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.tsx",
|
|
"lineNumber": 55
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.Props.onSave",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "onSave",
|
|
"description": [
|
|
"\nHandler for the \"save\" footer button"
|
|
],
|
|
"signature": [
|
|
"(field: ",
|
|
{
|
|
"pluginId": "runtimeFields",
|
|
"scope": "public",
|
|
"docId": "kibRuntimeFieldsPluginApi",
|
|
"section": "def-public.RuntimeField",
|
|
"text": "RuntimeField"
|
|
},
|
|
") => void"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.tsx",
|
|
"lineNumber": 59
|
|
},
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.field",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "field",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "runtimeFields",
|
|
"scope": "public",
|
|
"docId": "kibRuntimeFieldsPluginApi",
|
|
"section": "def-public.RuntimeField",
|
|
"text": "RuntimeField"
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.tsx",
|
|
"lineNumber": 59
|
|
},
|
|
"deprecated": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.Props.onCancel",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "onCancel",
|
|
"description": [
|
|
"\nHandler for the \"cancel\" footer button"
|
|
],
|
|
"signature": [
|
|
"() => void"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.tsx",
|
|
"lineNumber": 63
|
|
},
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": []
|
|
},
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.Props.docLinks",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "docLinks",
|
|
"description": [
|
|
"\nThe docLinks start service from core"
|
|
],
|
|
"signature": [
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "public",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-public.DocLinksStart",
|
|
"text": "DocLinksStart"
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.tsx",
|
|
"lineNumber": 67
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.Props.defaultValue",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "defaultValue",
|
|
"description": [
|
|
"\nAn optional runtime field to edit"
|
|
],
|
|
"signature": [
|
|
{
|
|
"pluginId": "runtimeFields",
|
|
"scope": "public",
|
|
"docId": "kibRuntimeFieldsPluginApi",
|
|
"section": "def-public.RuntimeField",
|
|
"text": "RuntimeField"
|
|
},
|
|
" | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.tsx",
|
|
"lineNumber": 71
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.Props.ctx",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "ctx",
|
|
"description": [
|
|
"\nOptional context object"
|
|
],
|
|
"signature": [
|
|
"{ namesNotAllowed?: string[] | undefined; existingConcreteFields?: Field[] | undefined; } | undefined"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.tsx",
|
|
"lineNumber": 75
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.RuntimeField",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "RuntimeField",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/types.ts",
|
|
"lineNumber": 33
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.RuntimeField.name",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "name",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/types.ts",
|
|
"lineNumber": 34
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.RuntimeField.type",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "type",
|
|
"description": [],
|
|
"signature": [
|
|
"\"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/types.ts",
|
|
"lineNumber": 35
|
|
},
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.RuntimeField.script",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "script",
|
|
"description": [],
|
|
"signature": [
|
|
"{ source: string; }"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/types.ts",
|
|
"lineNumber": 36
|
|
},
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [],
|
|
"misc": [
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.RUNTIME_FIELD_OPTIONS",
|
|
"type": "Array",
|
|
"tags": [],
|
|
"label": "RUNTIME_FIELD_OPTIONS",
|
|
"description": [],
|
|
"signature": [
|
|
"ComboBoxOption",
|
|
"<\"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\">[]"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/constants.ts",
|
|
"lineNumber": 14
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.RuntimeType",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "RuntimeType",
|
|
"description": [],
|
|
"signature": [
|
|
"\"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\""
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/types.ts",
|
|
"lineNumber": 31
|
|
},
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": [],
|
|
"setup": {
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.PluginSetup",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "PluginSetup",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/types.ts",
|
|
"lineNumber": 17
|
|
},
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "runtimeFields",
|
|
"id": "def-public.PluginSetup.loadEditor",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "loadEditor",
|
|
"description": [],
|
|
"signature": [
|
|
"() => Promise<",
|
|
"LoadEditorResponse",
|
|
">"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/runtime_fields/public/types.ts",
|
|
"lineNumber": 18
|
|
},
|
|
"deprecated": false,
|
|
"children": [],
|
|
"returnComment": []
|
|
}
|
|
],
|
|
"lifecycle": "setup",
|
|
"initialIsOpen": true
|
|
}
|
|
},
|
|
"server": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
},
|
|
"common": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
}
|
|
} |