From bbe4a89e75274165ddae72765419638331483d21 Mon Sep 17 00:00:00 2001 From: Dominique Clarke Date: Fri, 29 Jul 2022 12:41:35 -0400 Subject: [PATCH 01/37] [Synthetics] adjust private locations form (#137526) * adjust locations form * fix tests --- .../plugins/synthetics/e2e/journeys/index.ts | 2 +- .../private_locations/manage_locations.ts | 2 +- .../public/hooks/use_form_wrapped.tsx | 3 +- .../manage_locations/add_location_flyout.tsx | 94 +++++++++++-------- .../manage_locations/location_form.tsx | 40 +------- .../manage_locations/locations_table.tsx | 2 +- .../manage_locations_flyout.tsx | 8 +- 7 files changed, 70 insertions(+), 81 deletions(-) diff --git a/x-pack/plugins/synthetics/e2e/journeys/index.ts b/x-pack/plugins/synthetics/e2e/journeys/index.ts index a84301b8fbc2c0..a73ec34ef1d290 100644 --- a/x-pack/plugins/synthetics/e2e/journeys/index.ts +++ b/x-pack/plugins/synthetics/e2e/journeys/index.ts @@ -16,4 +16,4 @@ export * from './monitor_management.journey'; export * from './monitor_management_enablement.journey'; export * from './monitor_details'; export * from './locations'; -// export * from './private_locations'; +export * from './private_locations'; diff --git a/x-pack/plugins/synthetics/e2e/journeys/private_locations/manage_locations.ts b/x-pack/plugins/synthetics/e2e/journeys/private_locations/manage_locations.ts index 80b429ccbc1c20..6d318d2adfc902 100644 --- a/x-pack/plugins/synthetics/e2e/journeys/private_locations/manage_locations.ts +++ b/x-pack/plugins/synthetics/e2e/journeys/private_locations/manage_locations.ts @@ -33,7 +33,7 @@ journey('ManagePrivateLocation', async ({ page, params: { kibanaUrl } }) => { await page.click('button:has-text("Private locations")'); }); - step('Click text=Add two agent policies', async () => { + step('Add two agent policies', async () => { await page.click('text=Create agent policy'); await addAgentPolicy('Fleet test policy'); diff --git a/x-pack/plugins/synthetics/public/hooks/use_form_wrapped.tsx b/x-pack/plugins/synthetics/public/hooks/use_form_wrapped.tsx index 5e80eaee2c031c..d02b835a29d449 100644 --- a/x-pack/plugins/synthetics/public/hooks/use_form_wrapped.tsx +++ b/x-pack/plugins/synthetics/public/hooks/use_form_wrapped.tsx @@ -11,7 +11,7 @@ import { FieldValues, useForm, UseFormProps } from 'react-hook-form'; export function useFormWrapped( props?: UseFormProps ) { - const { register, ...restOfForm } = useForm(props); + const { register, ...restOfForm } = useForm(props); const euiRegister = useCallback( (name, ...registerArgs) => { @@ -19,6 +19,7 @@ export function useFormWrapped void; privateLocations: PrivateLocation[]; }) => { - const [formData, setFormData] = useState>(); + const form = useFormWrapped({ + mode: 'onSubmit', + reValidateMode: 'onChange', + shouldFocusError: true, + defaultValues: { + label: '', + agentPolicyId: '', + id: '', + geo: { + lat: 0, + lon: 0, + }, + concurrentMonitors: 1, + }, + }); + + const { handleSubmit } = form; const { canReadAgentPolicies } = usePrivateLocationPermissions(); @@ -46,45 +64,39 @@ export const AddLocationFlyout = ({ }; return ( - - - -

{ADD_PRIVATE_LOCATION}

-
-
- - {!canReadAgentPolicies && ( - -

{NEED_FLEET_READ_AGENT_POLICIES_PERMISSION}

-
- )} + + + + +

{ADD_PRIVATE_LOCATION}

+
+
+ + {!canReadAgentPolicies && ( + +

{NEED_FLEET_READ_AGENT_POLICIES_PERMISSION}

+
+ )} - - -
- - - - - {CANCEL_LABEL} - - - - { - if (formData) { - onSubmit(formData as PrivateLocation); - closeFlyout(); - } - }} - > - {SAVE_LABEL} - - - - -
+ + +
+ + + + + {CANCEL_LABEL} + + + + + {SAVE_LABEL} + + + + +
+ ); }; @@ -100,5 +112,5 @@ const CANCEL_LABEL = i18n.translate('xpack.synthetics.monitorManagement.cancelLa }); const SAVE_LABEL = i18n.translate('xpack.synthetics.monitorManagement.saveLabel', { - defaultMessage: 'save', + defaultMessage: 'Save', }); diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor_management/manage_locations/location_form.tsx b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor_management/manage_locations/location_form.tsx index 4acd67da8bb838..8985a5e0a09ee5 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor_management/manage_locations/location_form.tsx +++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor_management/manage_locations/location_form.tsx @@ -4,55 +4,25 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import React, { useEffect } from 'react'; +import React from 'react'; import { EuiFieldText, EuiForm, EuiFormRow, EuiSpacer } from '@elastic/eui'; import { useSelector } from 'react-redux'; import { i18n } from '@kbn/i18n'; +import { useFormContext, useFormState } from 'react-hook-form'; import { AgentPolicyNeeded } from './agent_policy_needed'; -import { useFormWrapped } from '../../../../hooks/use_form_wrapped'; import { PrivateLocation } from '../../../../../common/runtime_types'; import { PolicyHostsField } from './policy_hosts'; import { selectAgentPolicies } from '../../../state/private_locations'; export const LocationForm = ({ - setFormData, privateLocations, }: { - setFormData: (val: Partial) => void; onDiscard?: () => void; privateLocations: PrivateLocation[]; }) => { const { data } = useSelector(selectAgentPolicies); - - const { - getValues, - control, - register, - formState: { errors }, - } = useFormWrapped({ - mode: 'onTouched', - reValidateMode: 'onChange', - shouldFocusError: true, - defaultValues: { - label: '', - agentPolicyId: '', - id: '', - geo: { - lat: 0, - lon: 0, - }, - concurrentMonitors: 1, - }, - }); - - const label = getValues('label'); - const agentPolicyId = getValues('agentPolicyId'); - - useEffect(() => { - if (label && agentPolicyId) { - setFormData({ label, agentPolicyId }); - } - }, [label, agentPolicyId, setFormData]); + const { control, register } = useFormContext(); + const { errors } = useFormState(); return ( <> @@ -67,7 +37,7 @@ export const LocationForm = ({ { const dispatch = useDispatch(); @@ -69,6 +70,11 @@ export const ManageLocationsFlyout = () => { dispatch(getServiceLocations()); }; + const handleSubmit = (formData: PrivateLocation) => { + onSubmit(formData); + setIsAddingNew(false); + }; + const flyout = ( @@ -127,7 +133,7 @@ export const ManageLocationsFlyout = () => { {isAddingNew ? ( ) : null} From 405c9041e7bf8f26ad4f776517fe1b3415056235 Mon Sep 17 00:00:00 2001 From: CJ Cenizal Date: Fri, 29 Jul 2022 10:00:32 -0700 Subject: [PATCH 02/37] Clean up error state of Ingest Pipelines drag and drop list items. (#137244) --- .../__jest__/processors/grok.test.ts | 8 +-- .../__jest__/processors/processor.helpers.tsx | 1 - .../drag_and_drop_text_list.scss | 16 +++--- .../drag_and_drop_text_list.tsx | 52 ++++++------------- 4 files changed, 29 insertions(+), 48 deletions(-) diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/processors/grok.test.ts b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/processors/grok.test.ts index b488e69ed84dac..01b4cedf825367 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/processors/grok.test.ts +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/processors/grok.test.ts @@ -62,16 +62,16 @@ describe('Processor: Grok', () => { const { actions: { saveNewProcessor }, form, - exists, } = testBed; // Click submit button with only the type defined await saveNewProcessor(); // Expect form error as "field" is a required parameter - expect(form.getErrorsMessages()).toEqual(['A field value is required.']); - // Patterns field is also required; it uses EuiDraggable and only shows an error icon when invalid - expect(exists('droppableList.errorIcon')).toBe(true); + expect(form.getErrorsMessages()).toEqual([ + 'A field value is required.', // "Field" input + 'A value is required.', // First input in "Patterns" list + ]); }); test('saves with default parameter values', async () => { diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/processors/processor.helpers.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/processors/processor.helpers.tsx index ade7077e3fd10e..c5996073fd3ecf 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/processors/processor.helpers.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/processors/processor.helpers.tsx @@ -182,7 +182,6 @@ type TestSubject = | 'copyFromInput' | 'trimSwitch.input' | 'droppableList.addButton' - | 'droppableList.errorIcon' | 'droppableList.input-0' | 'droppableList.input-1' | 'droppableList.input-2'; diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/field_components/drag_and_drop_text_list.scss b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/field_components/drag_and_drop_text_list.scss index 2f563d86a6d4a8..bee4f053b4af54 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/field_components/drag_and_drop_text_list.scss +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/field_components/drag_and_drop_text_list.scss @@ -4,18 +4,10 @@ padding: $euiSizeM; } - &__grabIcon { - margin-right: $euiSizeS; - } - &__removeButton { margin-left: $euiSizeS; } - &__errorIcon { - margin-left: -$euiSizeXL; - } - &__item { background-color: $euiColorLightestShade; padding-top: $euiSizeS; @@ -26,3 +18,11 @@ margin-bottom: $euiSizeXS; } } + +.pipelineProcessorsEditor__form__dragAndDropList__grabIcon { + height: $euiSizeXL; + width: $euiSizeXL; + display: flex; + align-items: center; + justify-content: center; +} \ No newline at end of file diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/field_components/drag_and_drop_text_list.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/field_components/drag_and_drop_text_list.tsx index d574479b03e7bb..a27251978ab6fa 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/field_components/drag_and_drop_text_list.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/field_components/drag_and_drop_text_list.tsx @@ -18,7 +18,6 @@ import { EuiFlexItem, EuiIcon, EuiFieldText, - EuiIconTip, EuiFormRow, EuiText, } from '@elastic/eui'; @@ -133,15 +132,14 @@ function DragAndDropTextListComponent({ -
- +
+
@@ -160,34 +158,17 @@ function DragAndDropTextListComponent({ const { isInvalid, errorMessage } = getFieldValidityAndErrorMessage(field); return ( - - - - - {typeof errorMessage === 'string' && ( - -
- -
-
- )} -
+ + + ); }} @@ -200,6 +181,7 @@ function DragAndDropTextListComponent({ iconType="minusInCircle" color="danger" onClick={() => onRemove(item.id)} + size="s" /> ) : ( // Render a no-op placeholder button From 103aa675c74eaf0bac1db9d299a06170079230a5 Mon Sep 17 00:00:00 2001 From: "Christiane (Tina) Heiligers" Date: Fri, 29 Jul 2022 10:52:49 -0700 Subject: [PATCH 03/37] Migrate Core's Overlays service to packages (#137365) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- package.json | 10 ++ packages/BUILD.bazel | 10 ++ .../BUILD.bazel | 113 ++++++++++++++++ .../README.md | 3 + .../jest.config.js | 13 ++ .../package.json | 8 ++ .../src}/consts.ts | 0 .../src/index.ts | 10 ++ .../src}/mount.test.tsx | 0 .../src}/mount.tsx | 17 ++- .../tsconfig.json | 19 +++ .../core-mount-utils-browser/BUILD.bazel | 107 +++++++++++++++ .../core-mount-utils-browser/README.md | 3 + .../core-mount-utils-browser/jest.config.js | 13 ++ .../core-mount-utils-browser/package.json | 8 ++ .../core-mount-utils-browser/src/index.ts | 10 ++ .../src/mount_point.ts | 7 - .../src/overlay_ref.ts | 0 .../core-mount-utils-browser/tsconfig.json | 19 +++ .../BUILD.bazel | 124 ++++++++++++++++++ .../core-overlays-browser-internal/README.md | 3 + .../jest.config.js | 13 ++ .../package.json | 8 ++ .../src}/_index.scss | 0 .../src}/_mount_wrapper.scss | 0 .../src}/banners/_banners_list.scss | 0 .../src}/banners/_index.scss | 0 .../src}/banners/banners_list.test.tsx | 2 +- .../src}/banners/banners_list.tsx | 3 +- .../src/banners/banners_service.test.mocks.ts | 25 ++++ .../src}/banners/banners_service.test.ts | 4 +- .../src}/banners/banners_service.tsx | 50 ++----- .../src}/banners/index.ts | 2 +- .../src}/banners/priority_map.test.ts | 0 .../src}/banners/priority_map.ts | 0 .../src}/banners/user_banner_service.test.ts | 2 +- .../src}/banners/user_banner_service.tsx | 2 +- .../flyout_service.test.tsx.snap | 0 .../src}/flyout/flyout_service.test.tsx | 5 +- .../src}/flyout/flyout_service.tsx | 46 +------ .../src}/flyout/index.ts | 1 - .../src/index.ts | 15 +++ .../__snapshots__/modal_service.test.tsx.snap | 0 .../src}/modal/index.ts | 6 - .../src}/modal/modal_service.test.tsx | 7 +- .../src}/modal/modal_service.tsx | 70 ++-------- .../src}/overlay.test.mocks.ts | 0 .../src}/overlay_service.ts | 19 +-- .../tsconfig.json | 19 +++ .../core-overlays-browser-mocks/BUILD.bazel | 102 ++++++++++++++ .../core-overlays-browser-mocks/README.md | 3 + .../jest.config.js | 13 ++ .../core-overlays-browser-mocks/package.json | 7 + .../src}/banners_service.mock.ts | 7 +- .../src}/flyout_service.mock.ts | 3 +- .../core-overlays-browser-mocks/src/index.ts | 9 ++ .../src}/modal_service.mock.ts | 3 +- .../src}/overlay_service.mock.ts | 9 +- .../core-overlays-browser-mocks/tsconfig.json | 18 +++ .../core-overlays-browser/BUILD.bazel | 108 +++++++++++++++ .../overlays/core-overlays-browser/README.md | 3 + .../core-overlays-browser/jest.config.js | 13 ++ .../core-overlays-browser/package.json | 8 ++ .../core-overlays-browser/src/banners.ts | 42 ++++++ .../core-overlays-browser/src/flyout.ts | 47 +++++++ .../core-overlays-browser/src}/index.ts | 4 +- .../core-overlays-browser/src/modal.ts | 68 ++++++++++ .../core-overlays-browser/src/overlays.ts | 22 ++++ .../core-overlays-browser/tsconfig.json | 19 +++ src/core/public/_banners_list.scss | 3 + src/core/public/_mount_wrapper.scss | 5 + .../application/application_service.mock.ts | 2 +- .../application/application_service.test.ts | 2 +- .../application/application_service.tsx | 4 +- .../application_service.test.tsx | 4 +- .../application/navigation_confirm.test.ts | 4 +- src/core/public/application/types.ts | 2 +- .../public/application/ui/app_container.tsx | 2 +- src/core/public/application/ui/app_router.tsx | 2 +- src/core/public/chrome/chrome_service.tsx | 2 +- .../nav_controls/nav_controls_service.ts | 2 +- src/core/public/chrome/types.ts | 2 +- .../ui/header/header_action_menu.test.tsx | 2 +- .../chrome/ui/header/header_action_menu.tsx | 2 +- .../chrome/ui/header/header_extension.tsx | 2 +- .../core_app/errors/public_base_url.tsx | 2 +- .../public/core_app/errors/url_overflow.tsx | 2 +- src/core/public/core_system.test.mocks.ts | 4 +- src/core/public/core_system.ts | 4 +- src/core/public/index.scss | 3 +- src/core/public/index.ts | 8 +- src/core/public/kbn_bootstrap.ts | 2 +- src/core/public/mocks.ts | 4 +- .../notifications/notifications_service.ts | 2 +- .../notifications/toasts/toasts_api.tsx | 6 +- .../toasts/toasts_service.test.tsx | 2 +- .../notifications/toasts/toasts_service.tsx | 2 +- .../public/plugins/plugins_service.test.ts | 2 +- .../rendering/rendering_service.test.tsx | 2 +- .../public/rendering/rendering_service.tsx | 2 +- src/core/public/utils/index.ts | 7 +- yarn.lock | 40 ++++++ 102 files changed, 1196 insertions(+), 244 deletions(-) create mode 100644 packages/core/mount-utils/core-mount-utils-browser-internal/BUILD.bazel create mode 100644 packages/core/mount-utils/core-mount-utils-browser-internal/README.md create mode 100644 packages/core/mount-utils/core-mount-utils-browser-internal/jest.config.js create mode 100644 packages/core/mount-utils/core-mount-utils-browser-internal/package.json rename {src/core/public/utils => packages/core/mount-utils/core-mount-utils-browser-internal/src}/consts.ts (100%) create mode 100644 packages/core/mount-utils/core-mount-utils-browser-internal/src/index.ts rename {src/core/public/utils => packages/core/mount-utils/core-mount-utils-browser-internal/src}/mount.test.tsx (100%) rename {src/core/public/utils => packages/core/mount-utils/core-mount-utils-browser-internal/src}/mount.tsx (71%) create mode 100644 packages/core/mount-utils/core-mount-utils-browser-internal/tsconfig.json create mode 100644 packages/core/mount-utils/core-mount-utils-browser/BUILD.bazel create mode 100644 packages/core/mount-utils/core-mount-utils-browser/README.md create mode 100644 packages/core/mount-utils/core-mount-utils-browser/jest.config.js create mode 100644 packages/core/mount-utils/core-mount-utils-browser/package.json create mode 100644 packages/core/mount-utils/core-mount-utils-browser/src/index.ts rename src/core/public/types.ts => packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts (86%) rename src/core/public/overlays/types.ts => packages/core/mount-utils/core-mount-utils-browser/src/overlay_ref.ts (100%) create mode 100644 packages/core/mount-utils/core-mount-utils-browser/tsconfig.json create mode 100644 packages/core/overlays/core-overlays-browser-internal/BUILD.bazel create mode 100644 packages/core/overlays/core-overlays-browser-internal/README.md create mode 100644 packages/core/overlays/core-overlays-browser-internal/jest.config.js create mode 100644 packages/core/overlays/core-overlays-browser-internal/package.json rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/_index.scss (100%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/_mount_wrapper.scss (100%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/banners/_banners_list.scss (100%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/banners/_index.scss (100%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/banners/banners_list.test.tsx (98%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/banners/banners_list.tsx (97%) create mode 100644 packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.test.mocks.ts rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/banners/banners_service.test.ts (96%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/banners/banners_service.tsx (62%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/banners/index.ts (82%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/banners/priority_map.test.ts (100%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/banners/priority_map.ts (100%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/banners/user_banner_service.test.ts (98%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/banners/user_banner_service.tsx (97%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/flyout/__snapshots__/flyout_service.test.tsx.snap (100%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/flyout/flyout_service.test.tsx (95%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/flyout/flyout_service.tsx (75%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/flyout/index.ts (82%) create mode 100644 packages/core/overlays/core-overlays-browser-internal/src/index.ts rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/modal/__snapshots__/modal_service.test.tsx.snap (100%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/modal/index.ts (77%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/modal/modal_service.test.tsx (96%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/modal/modal_service.tsx (71%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/overlay.test.mocks.ts (100%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-internal/src}/overlay_service.ts (74%) create mode 100644 packages/core/overlays/core-overlays-browser-internal/tsconfig.json create mode 100644 packages/core/overlays/core-overlays-browser-mocks/BUILD.bazel create mode 100644 packages/core/overlays/core-overlays-browser-mocks/README.md create mode 100644 packages/core/overlays/core-overlays-browser-mocks/jest.config.js create mode 100644 packages/core/overlays/core-overlays-browser-mocks/package.json rename {src/core/public/overlays/banners => packages/core/overlays/core-overlays-browser-mocks/src}/banners_service.mock.ts (83%) rename {src/core/public/overlays/flyout => packages/core/overlays/core-overlays-browser-mocks/src}/flyout_service.mock.ts (87%) create mode 100644 packages/core/overlays/core-overlays-browser-mocks/src/index.ts rename {src/core/public/overlays/modal => packages/core/overlays/core-overlays-browser-mocks/src}/modal_service.mock.ts (87%) rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser-mocks/src}/overlay_service.mock.ts (78%) create mode 100644 packages/core/overlays/core-overlays-browser-mocks/tsconfig.json create mode 100644 packages/core/overlays/core-overlays-browser/BUILD.bazel create mode 100644 packages/core/overlays/core-overlays-browser/README.md create mode 100644 packages/core/overlays/core-overlays-browser/jest.config.js create mode 100644 packages/core/overlays/core-overlays-browser/package.json create mode 100644 packages/core/overlays/core-overlays-browser/src/banners.ts create mode 100644 packages/core/overlays/core-overlays-browser/src/flyout.ts rename {src/core/public/overlays => packages/core/overlays/core-overlays-browser/src}/index.ts (79%) create mode 100644 packages/core/overlays/core-overlays-browser/src/modal.ts create mode 100644 packages/core/overlays/core-overlays-browser/src/overlays.ts create mode 100644 packages/core/overlays/core-overlays-browser/tsconfig.json create mode 100644 src/core/public/_banners_list.scss create mode 100644 src/core/public/_mount_wrapper.scss diff --git a/package.json b/package.json index 5d6b3db8a3a896..204389c0d73d6c 100644 --- a/package.json +++ b/package.json @@ -218,9 +218,14 @@ "@kbn/core-metrics-server": "link:bazel-bin/packages/core/metrics/core-metrics-server", "@kbn/core-metrics-server-internal": "link:bazel-bin/packages/core/metrics/core-metrics-server-internal", "@kbn/core-metrics-server-mocks": "link:bazel-bin/packages/core/metrics/core-metrics-server-mocks", + "@kbn/core-mount-utils-browser": "link:bazel-bin/packages/core/mount-utils/core-mount-utils-browser", + "@kbn/core-mount-utils-browser-internal": "link:bazel-bin/packages/core/mount-utils/core-mount-utils-browser-internal", "@kbn/core-node-server": "link:bazel-bin/packages/core/node/core-node-server", "@kbn/core-node-server-internal": "link:bazel-bin/packages/core/node/core-node-server-internal", "@kbn/core-node-server-mocks": "link:bazel-bin/packages/core/node/core-node-server-mocks", + "@kbn/core-overlays-browser": "link:bazel-bin/packages/core/overlays/core-overlays-browser", + "@kbn/core-overlays-browser-internal": "link:bazel-bin/packages/core/overlays/core-overlays-browser-internal", + "@kbn/core-overlays-browser-mocks": "link:bazel-bin/packages/core/overlays/core-overlays-browser-mocks", "@kbn/core-preboot-server": "link:bazel-bin/packages/core/preboot/core-preboot-server", "@kbn/core-preboot-server-internal": "link:bazel-bin/packages/core/preboot/core-preboot-server-internal", "@kbn/core-preboot-server-mocks": "link:bazel-bin/packages/core/preboot/core-preboot-server-mocks", @@ -840,9 +845,14 @@ "@types/kbn__core-metrics-server": "link:bazel-bin/packages/core/metrics/core-metrics-server/npm_module_types", "@types/kbn__core-metrics-server-internal": "link:bazel-bin/packages/core/metrics/core-metrics-server-internal/npm_module_types", "@types/kbn__core-metrics-server-mocks": "link:bazel-bin/packages/core/metrics/core-metrics-server-mocks/npm_module_types", + "@types/kbn__core-mount-utils-browser": "link:bazel-bin/packages/core/mount-utils/core-mount-utils-browser/npm_module_types", + "@types/kbn__core-mount-utils-browser-internal": "link:bazel-bin/packages/core/mount-utils/core-mount-utils-browser-internal/npm_module_types", "@types/kbn__core-node-server": "link:bazel-bin/packages/core/node/core-node-server/npm_module_types", "@types/kbn__core-node-server-internal": "link:bazel-bin/packages/core/node/core-node-server-internal/npm_module_types", "@types/kbn__core-node-server-mocks": "link:bazel-bin/packages/core/node/core-node-server-mocks/npm_module_types", + "@types/kbn__core-overlays-browser": "link:bazel-bin/packages/core/overlays/core-overlays-browser/npm_module_types", + "@types/kbn__core-overlays-browser-internal": "link:bazel-bin/packages/core/overlays/core-overlays-browser-internal/npm_module_types", + "@types/kbn__core-overlays-browser-mocks": "link:bazel-bin/packages/core/overlays/core-overlays-browser-mocks/npm_module_types", "@types/kbn__core-preboot-server": "link:bazel-bin/packages/core/preboot/core-preboot-server/npm_module_types", "@types/kbn__core-preboot-server-internal": "link:bazel-bin/packages/core/preboot/core-preboot-server-internal/npm_module_types", "@types/kbn__core-preboot-server-mocks": "link:bazel-bin/packages/core/preboot/core-preboot-server-mocks/npm_module_types", diff --git a/packages/BUILD.bazel b/packages/BUILD.bazel index e9f374e058e140..539c8d14127985 100644 --- a/packages/BUILD.bazel +++ b/packages/BUILD.bazel @@ -86,9 +86,14 @@ filegroup( "//packages/core/metrics/core-metrics-server-internal:build", "//packages/core/metrics/core-metrics-server-mocks:build", "//packages/core/metrics/core-metrics-server:build", + "//packages/core/mount-utils/core-mount-utils-browser-internal:build", + "//packages/core/mount-utils/core-mount-utils-browser:build", "//packages/core/node/core-node-server-internal:build", "//packages/core/node/core-node-server-mocks:build", "//packages/core/node/core-node-server:build", + "//packages/core/overlays/core-overlays-browser-internal:build", + "//packages/core/overlays/core-overlays-browser-mocks:build", + "//packages/core/overlays/core-overlays-browser:build", "//packages/core/preboot/core-preboot-server-internal:build", "//packages/core/preboot/core-preboot-server-mocks:build", "//packages/core/preboot/core-preboot-server:build", @@ -333,9 +338,14 @@ filegroup( "//packages/core/metrics/core-metrics-server-internal:build_types", "//packages/core/metrics/core-metrics-server-mocks:build_types", "//packages/core/metrics/core-metrics-server:build_types", + "//packages/core/mount-utils/core-mount-utils-browser-internal:build_types", + "//packages/core/mount-utils/core-mount-utils-browser:build_types", "//packages/core/node/core-node-server-internal:build_types", "//packages/core/node/core-node-server-mocks:build_types", "//packages/core/node/core-node-server:build_types", + "//packages/core/overlays/core-overlays-browser-internal:build_types", + "//packages/core/overlays/core-overlays-browser-mocks:build_types", + "//packages/core/overlays/core-overlays-browser:build_types", "//packages/core/preboot/core-preboot-server-internal:build_types", "//packages/core/preboot/core-preboot-server-mocks:build_types", "//packages/core/preboot/core-preboot-server:build_types", diff --git a/packages/core/mount-utils/core-mount-utils-browser-internal/BUILD.bazel b/packages/core/mount-utils/core-mount-utils-browser-internal/BUILD.bazel new file mode 100644 index 00000000000000..81e0c122ed7418 --- /dev/null +++ b/packages/core/mount-utils/core-mount-utils-browser-internal/BUILD.bazel @@ -0,0 +1,113 @@ +load("@npm//@bazel/typescript:index.bzl", "ts_config") +load("@build_bazel_rules_nodejs//:index.bzl", "js_library") +load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project") + +PKG_DIRNAME = "core-mount-utils-browser-internal" +PKG_REQUIRE_NAME = "@kbn/core-mount-utils-browser-internal" + +SOURCE_FILES = glob( + [ + "src/**/*.ts", + "src/**/*.tsx", + ], + exclude = [ + "**/*.test.*", + "**/*.stories.*", + ], +) + +SRCS = SOURCE_FILES + +filegroup( + name = "srcs", + srcs = SRCS, +) + +NPM_MODULE_EXTRA_FILES = [ + "package.json", +] + +RUNTIME_DEPS = [ + "@npm//react", + "@npm//react-dom", + "@npm//enzyme", + "//packages/kbn-i18n-react", +] + +TYPES_DEPS = [ + "@npm//@types/node", + "@npm//@types/jest", + "@npm//@types/react", + "@npm//@types/react-dom", + "//packages/kbn-i18n-react:npm_module_types", + "//packages/core/mount-utils/core-mount-utils-browser:npm_module_types" +] + +jsts_transpiler( + name = "target_node", + srcs = SRCS, + build_pkg_name = package_name(), +) + +jsts_transpiler( + name = "target_web", + srcs = SRCS, + build_pkg_name = package_name(), + web = True, +) + +ts_config( + name = "tsconfig", + src = "tsconfig.json", + deps = [ + "//:tsconfig.base.json", + "//:tsconfig.bazel.json", + ], +) + +ts_project( + name = "tsc_types", + args = ['--pretty'], + srcs = SRCS, + deps = TYPES_DEPS, + declaration = True, + declaration_map = True, + emit_declaration_only = True, + out_dir = "target_types", + root_dir = "src", + tsconfig = ":tsconfig", +) + +js_library( + name = PKG_DIRNAME, + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + +pkg_npm( + name = "npm_module", + deps = [":" + PKG_DIRNAME], +) + +filegroup( + name = "build", + srcs = [":npm_module"], + visibility = ["//visibility:public"], +) + +pkg_npm_types( + name = "npm_module_types", + srcs = SRCS, + deps = [":tsc_types"], + package_name = PKG_REQUIRE_NAME, + tsconfig = ":tsconfig", + visibility = ["//visibility:public"], +) + +filegroup( + name = "build_types", + srcs = [":npm_module_types"], + visibility = ["//visibility:public"], +) diff --git a/packages/core/mount-utils/core-mount-utils-browser-internal/README.md b/packages/core/mount-utils/core-mount-utils-browser-internal/README.md new file mode 100644 index 00000000000000..5f7f42c92cd62a --- /dev/null +++ b/packages/core/mount-utils/core-mount-utils-browser-internal/README.md @@ -0,0 +1,3 @@ +# @kbn/core-mount-utils-browser-internal + +This package contains the implementation and tests for Core's browser-side mount utilities. diff --git a/packages/core/mount-utils/core-mount-utils-browser-internal/jest.config.js b/packages/core/mount-utils/core-mount-utils-browser-internal/jest.config.js new file mode 100644 index 00000000000000..de36aaf5926a9d --- /dev/null +++ b/packages/core/mount-utils/core-mount-utils-browser-internal/jest.config.js @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../..', + roots: ['/packages/core/mount-utils/core-mount-utils-browser-internal'], +}; diff --git a/packages/core/mount-utils/core-mount-utils-browser-internal/package.json b/packages/core/mount-utils/core-mount-utils-browser-internal/package.json new file mode 100644 index 00000000000000..66bf96174c8c97 --- /dev/null +++ b/packages/core/mount-utils/core-mount-utils-browser-internal/package.json @@ -0,0 +1,8 @@ +{ + "name": "@kbn/core-mount-utils-browser-internal", + "private": true, + "version": "1.0.0", + "main": "./target_node/index.js", + "browser": "./target_web/index.js", + "license": "SSPL-1.0 OR Elastic License 2.0" +} diff --git a/src/core/public/utils/consts.ts b/packages/core/mount-utils/core-mount-utils-browser-internal/src/consts.ts similarity index 100% rename from src/core/public/utils/consts.ts rename to packages/core/mount-utils/core-mount-utils-browser-internal/src/consts.ts diff --git a/packages/core/mount-utils/core-mount-utils-browser-internal/src/index.ts b/packages/core/mount-utils/core-mount-utils-browser-internal/src/index.ts new file mode 100644 index 00000000000000..2164c31f1ea29f --- /dev/null +++ b/packages/core/mount-utils/core-mount-utils-browser-internal/src/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +export { MountWrapper, mountReactNode } from './mount'; +export { KBN_LOAD_MARKS } from './consts'; diff --git a/src/core/public/utils/mount.test.tsx b/packages/core/mount-utils/core-mount-utils-browser-internal/src/mount.test.tsx similarity index 100% rename from src/core/public/utils/mount.test.tsx rename to packages/core/mount-utils/core-mount-utils-browser-internal/src/mount.test.tsx diff --git a/src/core/public/utils/mount.tsx b/packages/core/mount-utils/core-mount-utils-browser-internal/src/mount.tsx similarity index 71% rename from src/core/public/utils/mount.tsx rename to packages/core/mount-utils/core-mount-utils-browser-internal/src/mount.tsx index 468fde3c043857..efe1eaf8671123 100644 --- a/src/core/public/utils/mount.tsx +++ b/packages/core/mount-utils/core-mount-utils-browser-internal/src/mount.tsx @@ -9,17 +9,24 @@ import React, { useEffect, useRef } from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { I18nProvider } from '@kbn/i18n-react'; -import { MountPoint } from '../types'; +import type { MountPoint } from '@kbn/core-mount-utils-browser'; const defaultWrapperClass = 'kbnMountWrapper'; +interface MountWrapperComponentProps { + mount: MountPoint; + className?: string; +} /** * MountWrapper is a react component to mount a {@link MountPoint} inside a react tree. + * @internal */ -export const MountWrapper: React.FunctionComponent<{ mount: MountPoint; className?: string }> = ({ - mount, - className = defaultWrapperClass, -}) => { +type MountWrapperComponent = React.FunctionComponent; + +/** + * MountWrapper is a react component to mount a {@link MountPoint} inside a react tree. + */ +export const MountWrapper: MountWrapperComponent = ({ mount, className = defaultWrapperClass }) => { const element = useRef(null); useEffect(() => mount(element.current!), [mount]); return
; diff --git a/packages/core/mount-utils/core-mount-utils-browser-internal/tsconfig.json b/packages/core/mount-utils/core-mount-utils-browser-internal/tsconfig.json new file mode 100644 index 00000000000000..d10eb479b3697d --- /dev/null +++ b/packages/core/mount-utils/core-mount-utils-browser-internal/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../../tsconfig.bazel.json", + "compilerOptions": { + "declaration": true, + "declarationMap": true, + "emitDeclarationOnly": true, + "outDir": "target_types", + "rootDir": "src", + "stripInternal": false, + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "src/**/*" + ] +} diff --git a/packages/core/mount-utils/core-mount-utils-browser/BUILD.bazel b/packages/core/mount-utils/core-mount-utils-browser/BUILD.bazel new file mode 100644 index 00000000000000..cd18de62575a3a --- /dev/null +++ b/packages/core/mount-utils/core-mount-utils-browser/BUILD.bazel @@ -0,0 +1,107 @@ +load("@npm//@bazel/typescript:index.bzl", "ts_config") +load("@build_bazel_rules_nodejs//:index.bzl", "js_library") +load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project") + +PKG_DIRNAME = "core-mount-utils-browser" +PKG_REQUIRE_NAME = "@kbn/core-mount-utils-browser" + +SOURCE_FILES = glob( + [ + "src/**/*.ts", + "src/**/*.tsx", + ], + exclude = [ + "**/*.test.*", + "**/*.stories.*", + ], +) + +SRCS = SOURCE_FILES + +filegroup( + name = "srcs", + srcs = SRCS, +) + +NPM_MODULE_EXTRA_FILES = [ + "package.json", +] + +RUNTIME_DEPS = [ + "@npm//react" +] + +TYPES_DEPS = [ + "@npm//@types/node", + "@npm//@types/jest", + "@npm//@types/react" +] + +jsts_transpiler( + name = "target_node", + srcs = SRCS, + build_pkg_name = package_name(), +) + +jsts_transpiler( + name = "target_web", + srcs = SRCS, + build_pkg_name = package_name(), + web = True, +) + +ts_config( + name = "tsconfig", + src = "tsconfig.json", + deps = [ + "//:tsconfig.base.json", + "//:tsconfig.bazel.json", + ], +) + +ts_project( + name = "tsc_types", + args = ['--pretty'], + srcs = SRCS, + deps = TYPES_DEPS, + declaration = True, + declaration_map = True, + emit_declaration_only = True, + out_dir = "target_types", + root_dir = "src", + tsconfig = ":tsconfig", +) + +js_library( + name = PKG_DIRNAME, + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + +pkg_npm( + name = "npm_module", + deps = [":" + PKG_DIRNAME], +) + +filegroup( + name = "build", + srcs = [":npm_module"], + visibility = ["//visibility:public"], +) + +pkg_npm_types( + name = "npm_module_types", + srcs = SRCS, + deps = [":tsc_types"], + package_name = PKG_REQUIRE_NAME, + tsconfig = ":tsconfig", + visibility = ["//visibility:public"], +) + +filegroup( + name = "build_types", + srcs = [":npm_module_types"], + visibility = ["//visibility:public"], +) diff --git a/packages/core/mount-utils/core-mount-utils-browser/README.md b/packages/core/mount-utils/core-mount-utils-browser/README.md new file mode 100644 index 00000000000000..a1aef206cc0c7e --- /dev/null +++ b/packages/core/mount-utils/core-mount-utils-browser/README.md @@ -0,0 +1,3 @@ +# @kbn/core-mount-utils-browser + +This package contains the public type for Core's browser-side mount utilities public types. diff --git a/packages/core/mount-utils/core-mount-utils-browser/jest.config.js b/packages/core/mount-utils/core-mount-utils-browser/jest.config.js new file mode 100644 index 00000000000000..91bfd3df2efbaf --- /dev/null +++ b/packages/core/mount-utils/core-mount-utils-browser/jest.config.js @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../..', + roots: ['/packages/core/mount-utils/core-mount-utils-browser'], +}; diff --git a/packages/core/mount-utils/core-mount-utils-browser/package.json b/packages/core/mount-utils/core-mount-utils-browser/package.json new file mode 100644 index 00000000000000..6e766b78cd5c41 --- /dev/null +++ b/packages/core/mount-utils/core-mount-utils-browser/package.json @@ -0,0 +1,8 @@ +{ + "name": "@kbn/core-mount-utils-browser", + "private": true, + "version": "1.0.0", + "main": "./target_node/index.js", + "browser": "./target_web/index.js", + "license": "SSPL-1.0 OR Elastic License 2.0" +} diff --git a/packages/core/mount-utils/core-mount-utils-browser/src/index.ts b/packages/core/mount-utils/core-mount-utils-browser/src/index.ts new file mode 100644 index 00000000000000..3374f4ed110e09 --- /dev/null +++ b/packages/core/mount-utils/core-mount-utils-browser/src/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +export type { MountPoint, UnmountCallback } from './mount_point'; +export type { OverlayRef } from './overlay_ref'; diff --git a/src/core/public/types.ts b/packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts similarity index 86% rename from src/core/public/types.ts rename to packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts index 8df8b2c10f179b..32317b2964003a 100644 --- a/src/core/public/types.ts +++ b/packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts @@ -6,13 +6,6 @@ * Side Public License, v 1. */ -export type { - UiSettingsParams, - PublicUiSettingsParams, - UserProvidedValues, - UiSettingsType, -} from '@kbn/core-ui-settings-common'; - /** * A function that should mount DOM content inside the provided container element * and return a handler to unmount it. diff --git a/src/core/public/overlays/types.ts b/packages/core/mount-utils/core-mount-utils-browser/src/overlay_ref.ts similarity index 100% rename from src/core/public/overlays/types.ts rename to packages/core/mount-utils/core-mount-utils-browser/src/overlay_ref.ts diff --git a/packages/core/mount-utils/core-mount-utils-browser/tsconfig.json b/packages/core/mount-utils/core-mount-utils-browser/tsconfig.json new file mode 100644 index 00000000000000..d10eb479b3697d --- /dev/null +++ b/packages/core/mount-utils/core-mount-utils-browser/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../../tsconfig.bazel.json", + "compilerOptions": { + "declaration": true, + "declarationMap": true, + "emitDeclarationOnly": true, + "outDir": "target_types", + "rootDir": "src", + "stripInternal": false, + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "src/**/*" + ] +} diff --git a/packages/core/overlays/core-overlays-browser-internal/BUILD.bazel b/packages/core/overlays/core-overlays-browser-internal/BUILD.bazel new file mode 100644 index 00000000000000..597a2aee263683 --- /dev/null +++ b/packages/core/overlays/core-overlays-browser-internal/BUILD.bazel @@ -0,0 +1,124 @@ +load("@npm//@bazel/typescript:index.bzl", "ts_config") +load("@build_bazel_rules_nodejs//:index.bzl", "js_library") +load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project") + +PKG_DIRNAME = "core-overlays-browser-internal" +PKG_REQUIRE_NAME = "@kbn/core-overlays-browser-internal" + +SOURCE_FILES = glob( + [ + "src/**/*.ts", + "src/**/*.tsx", + "src/**/*.scss" + ], + exclude = [ + "**/*.test.*", + "**/*.stories.*", + ], +) + +SRCS = SOURCE_FILES + +filegroup( + name = "srcs", + srcs = SRCS, +) + +NPM_MODULE_EXTRA_FILES = [ + "package.json", +] + +RUNTIME_DEPS = [ + "@npm//react", + "@npm//react-markdown", + "//packages/kbn-i18n-react", + "//packages/core/theme/core-theme-browser-internal", + "//packages/core/mount-utils/core-mount-utils-browser-internal", +] + +TYPES_DEPS = [ + "@npm//@types/node", + "@npm//@types/jest", + "@npm//@types/react", + "@npm//react-markdown", + "//packages/kbn-i18n-react:npm_module_types", + "//packages/core/theme/core-theme-browser:npm_module_types", + "//packages/core/theme/core-theme-browser-internal:npm_module_types", + "//packages/core/mount-utils/core-mount-utils-browser-internal:npm_module_types", + "//packages/core/i18n/core-i18n-browser:npm_module_types", + "//packages/core/ui-settings/core-ui-settings-browser:npm_module_types", + "//packages/core/overlays/core-overlays-browser:npm_module_types" +] + +jsts_transpiler( + name = "target_node", + srcs = SRCS, + build_pkg_name = package_name(), +) + +jsts_transpiler( + name = "target_web", + srcs = SRCS, + build_pkg_name = package_name(), + web = True, + additional_args = [ + "--copy-files", + "--quiet" + ] +) + +ts_config( + name = "tsconfig", + src = "tsconfig.json", + deps = [ + "//:tsconfig.base.json", + "//:tsconfig.bazel.json", + ], +) + +ts_project( + name = "tsc_types", + args = ['--pretty'], + srcs = SRCS, + deps = TYPES_DEPS, + declaration = True, + declaration_map = True, + emit_declaration_only = True, + out_dir = "target_types", + root_dir = "src", + tsconfig = ":tsconfig", +) + +js_library( + name = PKG_DIRNAME, + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + +pkg_npm( + name = "npm_module", + deps = [":" + PKG_DIRNAME], +) + +filegroup( + name = "build", + srcs = [":npm_module"], + visibility = ["//visibility:public"], +) + +pkg_npm_types( + name = "npm_module_types", + srcs = SRCS, + deps = [":tsc_types"], + package_name = PKG_REQUIRE_NAME, + tsconfig = ":tsconfig", + visibility = ["//visibility:public"], +) + +filegroup( + name = "build_types", + srcs = [":npm_module_types"], + visibility = ["//visibility:public"], +) diff --git a/packages/core/overlays/core-overlays-browser-internal/README.md b/packages/core/overlays/core-overlays-browser-internal/README.md new file mode 100644 index 00000000000000..85192dad31cfb8 --- /dev/null +++ b/packages/core/overlays/core-overlays-browser-internal/README.md @@ -0,0 +1,3 @@ +# @kbn/core-overlays-browser-internal + +This package contains the implementation and internal types for Core's browser-side Overlays service. diff --git a/packages/core/overlays/core-overlays-browser-internal/jest.config.js b/packages/core/overlays/core-overlays-browser-internal/jest.config.js new file mode 100644 index 00000000000000..fd58becdbd7b41 --- /dev/null +++ b/packages/core/overlays/core-overlays-browser-internal/jest.config.js @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../..', + roots: ['/packages/core/overlays/core-overlays-browser-internal'], +}; diff --git a/packages/core/overlays/core-overlays-browser-internal/package.json b/packages/core/overlays/core-overlays-browser-internal/package.json new file mode 100644 index 00000000000000..8008e3d88d94f0 --- /dev/null +++ b/packages/core/overlays/core-overlays-browser-internal/package.json @@ -0,0 +1,8 @@ +{ + "name": "@kbn/core-overlays-browser-internal", + "private": true, + "version": "1.0.0", + "main": "./target_node/index.js", + "browser": "./target_web/index.js", + "license": "SSPL-1.0 OR Elastic License 2.0" +} diff --git a/src/core/public/overlays/_index.scss b/packages/core/overlays/core-overlays-browser-internal/src/_index.scss similarity index 100% rename from src/core/public/overlays/_index.scss rename to packages/core/overlays/core-overlays-browser-internal/src/_index.scss diff --git a/src/core/public/overlays/_mount_wrapper.scss b/packages/core/overlays/core-overlays-browser-internal/src/_mount_wrapper.scss similarity index 100% rename from src/core/public/overlays/_mount_wrapper.scss rename to packages/core/overlays/core-overlays-browser-internal/src/_mount_wrapper.scss diff --git a/src/core/public/overlays/banners/_banners_list.scss b/packages/core/overlays/core-overlays-browser-internal/src/banners/_banners_list.scss similarity index 100% rename from src/core/public/overlays/banners/_banners_list.scss rename to packages/core/overlays/core-overlays-browser-internal/src/banners/_banners_list.scss diff --git a/src/core/public/overlays/banners/_index.scss b/packages/core/overlays/core-overlays-browser-internal/src/banners/_index.scss similarity index 100% rename from src/core/public/overlays/banners/_index.scss rename to packages/core/overlays/core-overlays-browser-internal/src/banners/_index.scss diff --git a/src/core/public/overlays/banners/banners_list.test.tsx b/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_list.test.tsx similarity index 98% rename from src/core/public/overlays/banners/banners_list.test.tsx rename to packages/core/overlays/core-overlays-browser-internal/src/banners/banners_list.test.tsx index 29958419e7e820..7959c28f56e201 100644 --- a/src/core/public/overlays/banners/banners_list.test.tsx +++ b/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_list.test.tsx @@ -12,7 +12,7 @@ import { mount } from 'enzyme'; import { BannersList } from './banners_list'; import { BehaviorSubject } from 'rxjs'; -import { OverlayBanner } from './banners_service'; +import type { OverlayBanner } from './banners_service'; describe('BannersList', () => { test('renders null if no banners', () => { diff --git a/src/core/public/overlays/banners/banners_list.tsx b/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_list.tsx similarity index 97% rename from src/core/public/overlays/banners/banners_list.tsx rename to packages/core/overlays/core-overlays-browser-internal/src/banners/banners_list.tsx index 4d48232f18fcbc..b8ef2d64b25bbc 100644 --- a/src/core/public/overlays/banners/banners_list.tsx +++ b/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_list.tsx @@ -8,8 +8,7 @@ import React, { useEffect, useRef, useState } from 'react'; import { Observable } from 'rxjs'; - -import { OverlayBanner } from './banners_service'; +import type { OverlayBanner } from './banners_service'; interface Props { banners$: Observable; diff --git a/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.test.mocks.ts b/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.test.mocks.ts new file mode 100644 index 00000000000000..62ac11b166f6ea --- /dev/null +++ b/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.test.mocks.ts @@ -0,0 +1,25 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import type { InternalOverlayBannersStart } from './banners_service'; + +// internal duplicate of public mock for `createStartContractMock` +export const createStartContractMock = () => { + const startContract: jest.Mocked = { + add: jest.fn(), + remove: jest.fn(), + replace: jest.fn(), + get$: jest.fn(), + getComponent: jest.fn(), + }; + return startContract; +}; + +export const overlayBannersServiceMock = { + createStartContract: createStartContractMock, +}; diff --git a/src/core/public/overlays/banners/banners_service.test.ts b/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.test.ts similarity index 96% rename from src/core/public/overlays/banners/banners_service.test.ts rename to packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.test.ts index 69f30d99b98265..f8aafde90e46bf 100644 --- a/src/core/public/overlays/banners/banners_service.test.ts +++ b/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.test.ts @@ -6,13 +6,13 @@ * Side Public License, v 1. */ -import { OverlayBannersService, OverlayBannersStart } from './banners_service'; +import { InternalOverlayBannersStart, OverlayBannersService } from './banners_service'; import { take } from 'rxjs/operators'; import { i18nServiceMock } from '@kbn/core-i18n-browser-mocks'; import { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; describe('OverlayBannersService', () => { - let service: OverlayBannersStart; + let service: InternalOverlayBannersStart; beforeEach(() => { service = new OverlayBannersService().start({ i18n: i18nServiceMock.createStartContract(), diff --git a/src/core/public/overlays/banners/banners_service.tsx b/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.tsx similarity index 62% rename from src/core/public/overlays/banners/banners_service.tsx rename to packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.tsx index 11bc995c059f82..df38511d83b116 100644 --- a/src/core/public/overlays/banners/banners_service.tsx +++ b/packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.tsx @@ -7,50 +7,25 @@ */ import React from 'react'; -import { BehaviorSubject, Observable } from 'rxjs'; +import { BehaviorSubject, type Observable } from 'rxjs'; import { map } from 'rxjs/operators'; import type { I18nStart } from '@kbn/core-i18n-browser'; import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; +import type { MountPoint } from '@kbn/core-mount-utils-browser'; +import type { OverlayBannersStart } from '@kbn/core-overlays-browser'; import { PriorityMap } from './priority_map'; import { BannersList } from './banners_list'; -import { MountPoint } from '../../types'; import { UserBannerService } from './user_banner_service'; -/** @public */ -export interface OverlayBannersStart { - /** - * Add a new banner - * - * @param mount {@link MountPoint} - * @param priority optional priority order to display this banner. Higher priority values are shown first. - * @returns a unique identifier for the given banner to be used with {@link OverlayBannersStart.remove} and - * {@link OverlayBannersStart.replace} - */ - add(mount: MountPoint, priority?: number): string; - - /** - * Remove a banner - * - * @param id the unique identifier for the banner returned by {@link OverlayBannersStart.add} - * @returns if the banner was found or not - */ - remove(id: string): boolean; - - /** - * Replace a banner in place - * - * @param id the unique identifier for the banner returned by {@link OverlayBannersStart.add} - * @param mount {@link MountPoint} - * @param priority optional priority order to display this banner. Higher priority values are shown first. - * @returns a new identifier for the given banner to be used with {@link OverlayBannersStart.remove} and - * {@link OverlayBannersStart.replace} - */ - replace(id: string | undefined, mount: MountPoint, priority?: number): string; +interface StartDeps { + i18n: I18nStart; + uiSettings: IUiSettingsClient; +} +export interface InternalOverlayBannersStart extends OverlayBannersStart { /** @internal */ get$(): Observable; - getComponent(): JSX.Element; } /** @internal */ @@ -60,21 +35,16 @@ export interface OverlayBanner { readonly priority: number; } -interface StartDeps { - i18n: I18nStart; - uiSettings: IUiSettingsClient; -} - /** @internal */ export class OverlayBannersService { private readonly userBanner = new UserBannerService(); - public start({ i18n, uiSettings }: StartDeps): OverlayBannersStart { + public start({ i18n, uiSettings }: StartDeps): InternalOverlayBannersStart { let uniqueId = 0; const genId = () => `${uniqueId++}`; const banners$ = new BehaviorSubject(new PriorityMap()); - const service: OverlayBannersStart = { + const service: InternalOverlayBannersStart = { add: (mount, priority = 0) => { const id = genId(); const nextBanner: OverlayBanner = { id, mount, priority }; diff --git a/src/core/public/overlays/banners/index.ts b/packages/core/overlays/core-overlays-browser-internal/src/banners/index.ts similarity index 82% rename from src/core/public/overlays/banners/index.ts rename to packages/core/overlays/core-overlays-browser-internal/src/banners/index.ts index 18d465d1240c3a..378061e4eb89ae 100644 --- a/src/core/public/overlays/banners/index.ts +++ b/packages/core/overlays/core-overlays-browser-internal/src/banners/index.ts @@ -7,4 +7,4 @@ */ export { OverlayBannersService } from './banners_service'; -export type { OverlayBannersStart } from './banners_service'; +export type { InternalOverlayBannersStart, OverlayBanner } from './banners_service'; diff --git a/src/core/public/overlays/banners/priority_map.test.ts b/packages/core/overlays/core-overlays-browser-internal/src/banners/priority_map.test.ts similarity index 100% rename from src/core/public/overlays/banners/priority_map.test.ts rename to packages/core/overlays/core-overlays-browser-internal/src/banners/priority_map.test.ts diff --git a/src/core/public/overlays/banners/priority_map.ts b/packages/core/overlays/core-overlays-browser-internal/src/banners/priority_map.ts similarity index 100% rename from src/core/public/overlays/banners/priority_map.ts rename to packages/core/overlays/core-overlays-browser-internal/src/banners/priority_map.ts diff --git a/src/core/public/overlays/banners/user_banner_service.test.ts b/packages/core/overlays/core-overlays-browser-internal/src/banners/user_banner_service.test.ts similarity index 98% rename from src/core/public/overlays/banners/user_banner_service.test.ts rename to packages/core/overlays/core-overlays-browser-internal/src/banners/user_banner_service.test.ts index e0a46cbb7fd6aa..378de1611a7463 100644 --- a/src/core/public/overlays/banners/user_banner_service.test.ts +++ b/packages/core/overlays/core-overlays-browser-internal/src/banners/user_banner_service.test.ts @@ -8,7 +8,7 @@ import { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; import { UserBannerService } from './user_banner_service'; -import { overlayBannersServiceMock } from './banners_service.mock'; +import { overlayBannersServiceMock } from './banners_service.test.mocks'; import { i18nServiceMock } from '@kbn/core-i18n-browser-mocks'; import { Subject } from 'rxjs'; diff --git a/src/core/public/overlays/banners/user_banner_service.tsx b/packages/core/overlays/core-overlays-browser-internal/src/banners/user_banner_service.tsx similarity index 97% rename from src/core/public/overlays/banners/user_banner_service.tsx rename to packages/core/overlays/core-overlays-browser-internal/src/banners/user_banner_service.tsx index 7d3c9eab9b17f5..81ee879615b761 100644 --- a/src/core/public/overlays/banners/user_banner_service.tsx +++ b/packages/core/overlays/core-overlays-browser-internal/src/banners/user_banner_service.tsx @@ -16,7 +16,7 @@ import { EuiCallOut, EuiButton, EuiLoadingSpinner } from '@elastic/eui'; import type { I18nStart } from '@kbn/core-i18n-browser'; import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; -import { OverlayBannersStart } from './banners_service'; +import type { OverlayBannersStart } from '@kbn/core-overlays-browser'; interface StartDeps { banners: OverlayBannersStart; diff --git a/src/core/public/overlays/flyout/__snapshots__/flyout_service.test.tsx.snap b/packages/core/overlays/core-overlays-browser-internal/src/flyout/__snapshots__/flyout_service.test.tsx.snap similarity index 100% rename from src/core/public/overlays/flyout/__snapshots__/flyout_service.test.tsx.snap rename to packages/core/overlays/core-overlays-browser-internal/src/flyout/__snapshots__/flyout_service.test.tsx.snap diff --git a/src/core/public/overlays/flyout/flyout_service.test.tsx b/packages/core/overlays/core-overlays-browser-internal/src/flyout/flyout_service.test.tsx similarity index 95% rename from src/core/public/overlays/flyout/flyout_service.test.tsx rename to packages/core/overlays/core-overlays-browser-internal/src/flyout/flyout_service.test.tsx index cd7e72f2883f5d..cca6bcc8967c25 100644 --- a/src/core/public/overlays/flyout/flyout_service.test.tsx +++ b/packages/core/overlays/core-overlays-browser-internal/src/flyout/flyout_service.test.tsx @@ -11,8 +11,9 @@ import { mockReactDomRender, mockReactDomUnmount } from '../overlay.test.mocks'; import { mount } from 'enzyme'; import { i18nServiceMock } from '@kbn/core-i18n-browser-mocks'; import { themeServiceMock } from '@kbn/core-theme-browser-mocks'; -import { FlyoutService, OverlayFlyoutStart } from './flyout_service'; -import { OverlayRef } from '../types'; +import { FlyoutService } from './flyout_service'; +import type { OverlayRef } from '@kbn/core-mount-utils-browser'; +import type { OverlayFlyoutStart } from '@kbn/core-overlays-browser'; const i18nMock = i18nServiceMock.createStartContract(); const themeMock = themeServiceMock.createStartContract(); diff --git a/src/core/public/overlays/flyout/flyout_service.tsx b/packages/core/overlays/core-overlays-browser-internal/src/flyout/flyout_service.tsx similarity index 75% rename from src/core/public/overlays/flyout/flyout_service.tsx rename to packages/core/overlays/core-overlays-browser-internal/src/flyout/flyout_service.tsx index 186517890412d8..42547782e2d280 100644 --- a/src/core/public/overlays/flyout/flyout_service.tsx +++ b/packages/core/overlays/core-overlays-browser-internal/src/flyout/flyout_service.tsx @@ -8,16 +8,16 @@ /* eslint-disable max-classes-per-file */ -import { EuiFlyout, EuiFlyoutSize, EuiOverlayMaskProps } from '@elastic/eui'; +import { EuiFlyout } from '@elastic/eui'; import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { Subject } from 'rxjs'; import type { ThemeServiceStart } from '@kbn/core-theme-browser'; import type { I18nStart } from '@kbn/core-i18n-browser'; import { CoreContextProvider } from '@kbn/core-theme-browser-internal'; -import { MountPoint } from '../../types'; -import { OverlayRef } from '../types'; -import { MountWrapper } from '../../utils'; +import type { MountPoint, OverlayRef } from '@kbn/core-mount-utils-browser'; +import { MountWrapper } from '@kbn/core-mount-utils-browser-internal'; +import type { OverlayFlyoutOpenOptions, OverlayFlyoutStart } from '@kbn/core-overlays-browser'; /** * A FlyoutRef is a reference to an opened flyout panel. It offers methods to @@ -59,44 +59,6 @@ class FlyoutRef implements OverlayRef { } } -/** - * APIs to open and manage fly-out dialogs. - * - * @public - */ -export interface OverlayFlyoutStart { - /** - * Opens a flyout panel with the given mount point inside. You can use - * `close()` on the returned FlyoutRef to close the flyout. - * - * @param mount {@link MountPoint} - Mounts the children inside a flyout panel - * @param options {@link OverlayFlyoutOpenOptions} - options for the flyout - * @return {@link OverlayRef} A reference to the opened flyout panel. - */ - open(mount: MountPoint, options?: OverlayFlyoutOpenOptions): OverlayRef; -} - -/** - * @public - */ -export interface OverlayFlyoutOpenOptions { - className?: string; - closeButtonAriaLabel?: string; - ownFocus?: boolean; - 'data-test-subj'?: string; - 'aria-label'?: string; - size?: EuiFlyoutSize; - maxWidth?: boolean | number | string; - hideCloseButton?: boolean; - outsideClickCloses?: boolean; - maskProps?: EuiOverlayMaskProps; - /** - * EuiFlyout onClose handler. - * If provided the consumer is responsible for calling flyout.close() to close the flyout; - */ - onClose?: (flyout: OverlayRef) => void; -} - interface StartDeps { i18n: I18nStart; theme: ThemeServiceStart; diff --git a/src/core/public/overlays/flyout/index.ts b/packages/core/overlays/core-overlays-browser-internal/src/flyout/index.ts similarity index 82% rename from src/core/public/overlays/flyout/index.ts rename to packages/core/overlays/core-overlays-browser-internal/src/flyout/index.ts index 0945f5a6e5c6db..83abd2bfc1a563 100644 --- a/src/core/public/overlays/flyout/index.ts +++ b/packages/core/overlays/core-overlays-browser-internal/src/flyout/index.ts @@ -7,4 +7,3 @@ */ export { FlyoutService } from './flyout_service'; -export type { OverlayFlyoutStart, OverlayFlyoutOpenOptions } from './flyout_service'; diff --git a/packages/core/overlays/core-overlays-browser-internal/src/index.ts b/packages/core/overlays/core-overlays-browser-internal/src/index.ts new file mode 100644 index 00000000000000..a1721a16ef272e --- /dev/null +++ b/packages/core/overlays/core-overlays-browser-internal/src/index.ts @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +export { OverlayService } from './overlay_service'; +export { + OverlayBannersService, + type InternalOverlayBannersStart, + type OverlayBanner, +} from './banners'; +export { FlyoutService } from './flyout'; +export { ModalService } from './modal'; diff --git a/src/core/public/overlays/modal/__snapshots__/modal_service.test.tsx.snap b/packages/core/overlays/core-overlays-browser-internal/src/modal/__snapshots__/modal_service.test.tsx.snap similarity index 100% rename from src/core/public/overlays/modal/__snapshots__/modal_service.test.tsx.snap rename to packages/core/overlays/core-overlays-browser-internal/src/modal/__snapshots__/modal_service.test.tsx.snap diff --git a/src/core/public/overlays/modal/index.ts b/packages/core/overlays/core-overlays-browser-internal/src/modal/index.ts similarity index 77% rename from src/core/public/overlays/modal/index.ts rename to packages/core/overlays/core-overlays-browser-internal/src/modal/index.ts index ac8aba588e7208..c33362f7bb63ee 100644 --- a/src/core/public/overlays/modal/index.ts +++ b/packages/core/overlays/core-overlays-browser-internal/src/modal/index.ts @@ -7,9 +7,3 @@ */ export { ModalService } from './modal_service'; - -export type { - OverlayModalStart, - OverlayModalOpenOptions, - OverlayModalConfirmOptions, -} from './modal_service'; diff --git a/src/core/public/overlays/modal/modal_service.test.tsx b/packages/core/overlays/core-overlays-browser-internal/src/modal/modal_service.test.tsx similarity index 96% rename from src/core/public/overlays/modal/modal_service.test.tsx rename to packages/core/overlays/core-overlays-browser-internal/src/modal/modal_service.test.tsx index 9b499c54abc526..c732068543e356 100644 --- a/src/core/public/overlays/modal/modal_service.test.tsx +++ b/packages/core/overlays/core-overlays-browser-internal/src/modal/modal_service.test.tsx @@ -12,9 +12,10 @@ import React from 'react'; import { mount } from 'enzyme'; import { i18nServiceMock } from '@kbn/core-i18n-browser-mocks'; import { themeServiceMock } from '@kbn/core-theme-browser-mocks'; -import { ModalService, OverlayModalStart } from './modal_service'; -import { mountReactNode } from '../../utils'; -import { OverlayRef } from '../types'; +import { ModalService } from './modal_service'; +import type { OverlayModalStart } from '@kbn/core-overlays-browser'; +import { mountReactNode } from '@kbn/core-mount-utils-browser-internal'; +import type { OverlayRef } from '@kbn/core-mount-utils-browser'; const i18nMock = i18nServiceMock.createStartContract(); const themeMock = themeServiceMock.createStartContract(); diff --git a/src/core/public/overlays/modal/modal_service.tsx b/packages/core/overlays/core-overlays-browser-internal/src/modal/modal_service.tsx similarity index 71% rename from src/core/public/overlays/modal/modal_service.tsx rename to packages/core/overlays/core-overlays-browser-internal/src/modal/modal_service.tsx index 5645ed5c2b8a1b..eead30a24cd102 100644 --- a/src/core/public/overlays/modal/modal_service.tsx +++ b/packages/core/overlays/core-overlays-browser-internal/src/modal/modal_service.tsx @@ -9,16 +9,20 @@ /* eslint-disable max-classes-per-file */ import { i18n as t } from '@kbn/i18n'; -import { EuiModal, EuiConfirmModal, EuiConfirmModalProps } from '@elastic/eui'; +import { EuiModal, EuiConfirmModal } from '@elastic/eui'; import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { Subject } from 'rxjs'; import type { ThemeServiceStart } from '@kbn/core-theme-browser'; import type { I18nStart } from '@kbn/core-i18n-browser'; import { CoreContextProvider } from '@kbn/core-theme-browser-internal'; -import { MountPoint } from '../../types'; -import { OverlayRef } from '../types'; -import { MountWrapper } from '../../utils'; +import type { MountPoint, OverlayRef } from '@kbn/core-mount-utils-browser'; +import { MountWrapper } from '@kbn/core-mount-utils-browser-internal'; +import type { + OverlayModalConfirmOptions, + OverlayModalOpenOptions, + OverlayModalStart, +} from '@kbn/core-overlays-browser'; /** * A ModalRef is a reference to an opened modal. It offers methods to @@ -49,64 +53,6 @@ class ModalRef implements OverlayRef { } } -/** - * @public - */ -export interface OverlayModalConfirmOptions { - title?: string; - cancelButtonText?: string; - confirmButtonText?: string; - className?: string; - closeButtonAriaLabel?: string; - 'data-test-subj'?: string; - defaultFocusedButton?: EuiConfirmModalProps['defaultFocusedButton']; - buttonColor?: EuiConfirmModalProps['buttonColor']; - /** - * Sets the max-width of the modal. - * Set to `true` to use the default (`euiBreakpoints 'm'`), - * set to `false` to not restrict the width, - * set to a number for a custom width in px, - * set to a string for a custom width in custom measurement. - */ - maxWidth?: boolean | number | string; -} - -/** - * APIs to open and manage modal dialogs. - * - * @public - */ -export interface OverlayModalStart { - /** - * Opens a modal panel with the given mount point inside. You can use - * `close()` on the returned OverlayRef to close the modal. - * - * @param mount {@link MountPoint} - Mounts the children inside the modal - * @param options {@link OverlayModalOpenOptions} - options for the modal - * @return {@link OverlayRef} A reference to the opened modal. - */ - open(mount: MountPoint, options?: OverlayModalOpenOptions): OverlayRef; - - /** - * Opens a confirmation modal with the given text or mountpoint as a message. - * Returns a Promise resolving to `true` if user confirmed or `false` otherwise. - * - * @param message {@link MountPoint} - string or mountpoint to be used a the confirm message body - * @param options {@link OverlayModalConfirmOptions} - options for the confirm modal - */ - openConfirm(message: MountPoint | string, options?: OverlayModalConfirmOptions): Promise; -} - -/** - * @public - */ -export interface OverlayModalOpenOptions { - className?: string; - closeButtonAriaLabel?: string; - 'data-test-subj'?: string; - maxWidth?: boolean | number | string; -} - interface StartDeps { i18n: I18nStart; theme: ThemeServiceStart; diff --git a/src/core/public/overlays/overlay.test.mocks.ts b/packages/core/overlays/core-overlays-browser-internal/src/overlay.test.mocks.ts similarity index 100% rename from src/core/public/overlays/overlay.test.mocks.ts rename to packages/core/overlays/core-overlays-browser-internal/src/overlay.test.mocks.ts diff --git a/src/core/public/overlays/overlay_service.ts b/packages/core/overlays/core-overlays-browser-internal/src/overlay_service.ts similarity index 74% rename from src/core/public/overlays/overlay_service.ts rename to packages/core/overlays/core-overlays-browser-internal/src/overlay_service.ts index 07a8cbea29a373..386971c5f8f685 100644 --- a/src/core/public/overlays/overlay_service.ts +++ b/packages/core/overlays/core-overlays-browser-internal/src/overlay_service.ts @@ -9,9 +9,10 @@ import type { ThemeServiceStart } from '@kbn/core-theme-browser'; import type { I18nStart } from '@kbn/core-i18n-browser'; import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; -import { OverlayBannersStart, OverlayBannersService } from './banners'; -import { FlyoutService, OverlayFlyoutStart } from './flyout'; -import { ModalService, OverlayModalStart } from './modal'; +import type { OverlayStart } from '@kbn/core-overlays-browser'; +import { OverlayBannersService } from './banners'; +import { FlyoutService } from './flyout'; +import { ModalService } from './modal'; interface StartDeps { i18n: I18nStart; @@ -45,15 +46,3 @@ export class OverlayService { }; } } - -/** @public */ -export interface OverlayStart { - /** {@link OverlayBannersStart} */ - banners: OverlayBannersStart; - /** {@link OverlayFlyoutStart#open} */ - openFlyout: OverlayFlyoutStart['open']; - /** {@link OverlayModalStart#open} */ - openModal: OverlayModalStart['open']; - /** {@link OverlayModalStart#openConfirm} */ - openConfirm: OverlayModalStart['openConfirm']; -} diff --git a/packages/core/overlays/core-overlays-browser-internal/tsconfig.json b/packages/core/overlays/core-overlays-browser-internal/tsconfig.json new file mode 100644 index 00000000000000..d10eb479b3697d --- /dev/null +++ b/packages/core/overlays/core-overlays-browser-internal/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../../tsconfig.bazel.json", + "compilerOptions": { + "declaration": true, + "declarationMap": true, + "emitDeclarationOnly": true, + "outDir": "target_types", + "rootDir": "src", + "stripInternal": false, + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "src/**/*" + ] +} diff --git a/packages/core/overlays/core-overlays-browser-mocks/BUILD.bazel b/packages/core/overlays/core-overlays-browser-mocks/BUILD.bazel new file mode 100644 index 00000000000000..bcaa7d8222b859 --- /dev/null +++ b/packages/core/overlays/core-overlays-browser-mocks/BUILD.bazel @@ -0,0 +1,102 @@ +load("@npm//@bazel/typescript:index.bzl", "ts_config") +load("@build_bazel_rules_nodejs//:index.bzl", "js_library") +load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project") + +PKG_DIRNAME = "core-overlays-browser-mocks" +PKG_REQUIRE_NAME = "@kbn/core-overlays-browser-mocks" + +SOURCE_FILES = glob( + [ + "src/**/*.ts", + ], + exclude = [ + "**/*.test.*", + "**/*.stories.*", + ], +) + +SRCS = SOURCE_FILES + +filegroup( + name = "srcs", + srcs = SRCS, +) + +NPM_MODULE_EXTRA_FILES = [ + "package.json", +] + +RUNTIME_DEPS = [ + "//packages/core/overlays/core-overlays-browser-internal", +] + +TYPES_DEPS = [ + "@npm//@types/node", + "@npm//@types/jest", + "//packages/kbn-utility-types:npm_module_types", + "//packages/kbn-utility-types-jest:npm_module_types", + "//packages/core/overlays/core-overlays-browser:npm_module_types", + "//packages/core/overlays/core-overlays-browser-internal:npm_module_types" +] + +jsts_transpiler( + name = "target_node", + srcs = SRCS, + build_pkg_name = package_name(), +) + +ts_config( + name = "tsconfig", + src = "tsconfig.json", + deps = [ + "//:tsconfig.base.json", + "//:tsconfig.bazel.json", + ], +) + +ts_project( + name = "tsc_types", + args = ['--pretty'], + srcs = SRCS, + deps = TYPES_DEPS, + declaration = True, + declaration_map = True, + emit_declaration_only = True, + out_dir = "target_types", + root_dir = "src", + tsconfig = ":tsconfig", +) + +js_library( + name = PKG_DIRNAME, + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + +pkg_npm( + name = "npm_module", + deps = [":" + PKG_DIRNAME], +) + +filegroup( + name = "build", + srcs = [":npm_module"], + visibility = ["//visibility:public"], +) + +pkg_npm_types( + name = "npm_module_types", + srcs = SRCS, + deps = [":tsc_types"], + package_name = PKG_REQUIRE_NAME, + tsconfig = ":tsconfig", + visibility = ["//visibility:public"], +) + +filegroup( + name = "build_types", + srcs = [":npm_module_types"], + visibility = ["//visibility:public"], +) diff --git a/packages/core/overlays/core-overlays-browser-mocks/README.md b/packages/core/overlays/core-overlays-browser-mocks/README.md new file mode 100644 index 00000000000000..a7ec5c3f4eb7cb --- /dev/null +++ b/packages/core/overlays/core-overlays-browser-mocks/README.md @@ -0,0 +1,3 @@ +# @kbn/core-overlays-browser-mocks + +This package contains the mock for Core's browser-side Overlays service. diff --git a/packages/core/overlays/core-overlays-browser-mocks/jest.config.js b/packages/core/overlays/core-overlays-browser-mocks/jest.config.js new file mode 100644 index 00000000000000..d0e903638306a3 --- /dev/null +++ b/packages/core/overlays/core-overlays-browser-mocks/jest.config.js @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../..', + roots: ['/packages/core/overlays/core-overlays-browser-mocks'], +}; diff --git a/packages/core/overlays/core-overlays-browser-mocks/package.json b/packages/core/overlays/core-overlays-browser-mocks/package.json new file mode 100644 index 00000000000000..be515617f7f6f7 --- /dev/null +++ b/packages/core/overlays/core-overlays-browser-mocks/package.json @@ -0,0 +1,7 @@ +{ + "name": "@kbn/core-overlays-browser-mocks", + "private": true, + "version": "1.0.0", + "main": "./target_node/index.js", + "license": "SSPL-1.0 OR Elastic License 2.0" +} diff --git a/src/core/public/overlays/banners/banners_service.mock.ts b/packages/core/overlays/core-overlays-browser-mocks/src/banners_service.mock.ts similarity index 83% rename from src/core/public/overlays/banners/banners_service.mock.ts rename to packages/core/overlays/core-overlays-browser-mocks/src/banners_service.mock.ts index 19ee6d63df3146..0fed75b82ff8ff 100644 --- a/src/core/public/overlays/banners/banners_service.mock.ts +++ b/packages/core/overlays/core-overlays-browser-mocks/src/banners_service.mock.ts @@ -7,10 +7,13 @@ */ import type { PublicMethodsOf } from '@kbn/utility-types'; -import { OverlayBannersStart, OverlayBannersService } from './banners_service'; +import { + type InternalOverlayBannersStart, + type OverlayBannersService, +} from '@kbn/core-overlays-browser-internal'; const createStartContractMock = () => { - const startContract: jest.Mocked = { + const startContract: jest.Mocked = { add: jest.fn(), remove: jest.fn(), replace: jest.fn(), diff --git a/src/core/public/overlays/flyout/flyout_service.mock.ts b/packages/core/overlays/core-overlays-browser-mocks/src/flyout_service.mock.ts similarity index 87% rename from src/core/public/overlays/flyout/flyout_service.mock.ts rename to packages/core/overlays/core-overlays-browser-mocks/src/flyout_service.mock.ts index e577e0f080cd49..bec014445640a0 100644 --- a/src/core/public/overlays/flyout/flyout_service.mock.ts +++ b/packages/core/overlays/core-overlays-browser-mocks/src/flyout_service.mock.ts @@ -7,7 +7,8 @@ */ import type { PublicMethodsOf } from '@kbn/utility-types'; -import { FlyoutService, OverlayFlyoutStart } from './flyout_service'; +import type { OverlayFlyoutStart } from '@kbn/core-overlays-browser'; +import type { FlyoutService } from '@kbn/core-overlays-browser-internal'; const createStartContractMock = () => { const startContract: jest.Mocked = { diff --git a/packages/core/overlays/core-overlays-browser-mocks/src/index.ts b/packages/core/overlays/core-overlays-browser-mocks/src/index.ts new file mode 100644 index 00000000000000..1d0a8ef055397e --- /dev/null +++ b/packages/core/overlays/core-overlays-browser-mocks/src/index.ts @@ -0,0 +1,9 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +export { overlayServiceMock } from './overlay_service.mock'; diff --git a/src/core/public/overlays/modal/modal_service.mock.ts b/packages/core/overlays/core-overlays-browser-mocks/src/modal_service.mock.ts similarity index 87% rename from src/core/public/overlays/modal/modal_service.mock.ts rename to packages/core/overlays/core-overlays-browser-mocks/src/modal_service.mock.ts index 72d14f834f7e1e..da921de638994c 100644 --- a/src/core/public/overlays/modal/modal_service.mock.ts +++ b/packages/core/overlays/core-overlays-browser-mocks/src/modal_service.mock.ts @@ -7,7 +7,8 @@ */ import type { PublicMethodsOf } from '@kbn/utility-types'; -import { ModalService, OverlayModalStart } from './modal_service'; +import type { OverlayModalStart } from '@kbn/core-overlays-browser'; +import type { ModalService } from '@kbn/core-overlays-browser-internal'; const createStartContractMock = () => { const startContract: jest.Mocked = { diff --git a/src/core/public/overlays/overlay_service.mock.ts b/packages/core/overlays/core-overlays-browser-mocks/src/overlay_service.mock.ts similarity index 78% rename from src/core/public/overlays/overlay_service.mock.ts rename to packages/core/overlays/core-overlays-browser-mocks/src/overlay_service.mock.ts index 1769dd8265f9af..235f9c7b3aecc2 100644 --- a/src/core/public/overlays/overlay_service.mock.ts +++ b/packages/core/overlays/core-overlays-browser-mocks/src/overlay_service.mock.ts @@ -8,10 +8,11 @@ import type { PublicMethodsOf } from '@kbn/utility-types'; import type { DeeplyMockedKeys } from '@kbn/utility-types-jest'; -import { OverlayService, OverlayStart } from './overlay_service'; -import { overlayBannersServiceMock } from './banners/banners_service.mock'; -import { overlayFlyoutServiceMock } from './flyout/flyout_service.mock'; -import { overlayModalServiceMock } from './modal/modal_service.mock'; +import type { OverlayService } from '@kbn/core-overlays-browser-internal'; +import type { OverlayStart } from '@kbn/core-overlays-browser'; +import { overlayBannersServiceMock } from './banners_service.mock'; +import { overlayFlyoutServiceMock } from './flyout_service.mock'; +import { overlayModalServiceMock } from './modal_service.mock'; const createStartContractMock = () => { const overlayStart = overlayModalServiceMock.createStartContract(); diff --git a/packages/core/overlays/core-overlays-browser-mocks/tsconfig.json b/packages/core/overlays/core-overlays-browser-mocks/tsconfig.json new file mode 100644 index 00000000000000..39d3c7097814ac --- /dev/null +++ b/packages/core/overlays/core-overlays-browser-mocks/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../../tsconfig.bazel.json", + "compilerOptions": { + "declaration": true, + "declarationMap": true, + "emitDeclarationOnly": true, + "outDir": "target_types", + "rootDir": "src", + "stripInternal": false, + "types": [ + "jest", + "node" + ] + }, + "include": [ + "src/**/*" + ] +} diff --git a/packages/core/overlays/core-overlays-browser/BUILD.bazel b/packages/core/overlays/core-overlays-browser/BUILD.bazel new file mode 100644 index 00000000000000..e10645675e32dc --- /dev/null +++ b/packages/core/overlays/core-overlays-browser/BUILD.bazel @@ -0,0 +1,108 @@ +load("@npm//@bazel/typescript:index.bzl", "ts_config") +load("@build_bazel_rules_nodejs//:index.bzl", "js_library") +load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project") + +PKG_DIRNAME = "core-overlays-browser" +PKG_REQUIRE_NAME = "@kbn/core-overlays-browser" + +SOURCE_FILES = glob( + [ + "src/**/*.ts", + "src/**/*.tsx", + ], + exclude = [ + "**/*.test.*", + "**/*.stories.*", + ], +) + +SRCS = SOURCE_FILES + +filegroup( + name = "srcs", + srcs = SRCS, +) + +NPM_MODULE_EXTRA_FILES = [ + "package.json", +] + +RUNTIME_DEPS = [ +] + +TYPES_DEPS = [ + "@npm//rxjs", + "@npm//@types/node", + "@npm//@types/jest", + "@npm//@elastic/eui", + "//packages/core/mount-utils/core-mount-utils-browser:npm_module_types" +] + +jsts_transpiler( + name = "target_node", + srcs = SRCS, + build_pkg_name = package_name(), +) + +jsts_transpiler( + name = "target_web", + srcs = SRCS, + build_pkg_name = package_name(), + web = True, +) + +ts_config( + name = "tsconfig", + src = "tsconfig.json", + deps = [ + "//:tsconfig.base.json", + "//:tsconfig.bazel.json", + ], +) + +ts_project( + name = "tsc_types", + args = ['--pretty'], + srcs = SRCS, + deps = TYPES_DEPS, + declaration = True, + declaration_map = True, + emit_declaration_only = True, + out_dir = "target_types", + root_dir = "src", + tsconfig = ":tsconfig", +) + +js_library( + name = PKG_DIRNAME, + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + +pkg_npm( + name = "npm_module", + deps = [":" + PKG_DIRNAME], +) + +filegroup( + name = "build", + srcs = [":npm_module"], + visibility = ["//visibility:public"], +) + +pkg_npm_types( + name = "npm_module_types", + srcs = SRCS, + deps = [":tsc_types"], + package_name = PKG_REQUIRE_NAME, + tsconfig = ":tsconfig", + visibility = ["//visibility:public"], +) + +filegroup( + name = "build_types", + srcs = [":npm_module_types"], + visibility = ["//visibility:public"], +) diff --git a/packages/core/overlays/core-overlays-browser/README.md b/packages/core/overlays/core-overlays-browser/README.md new file mode 100644 index 00000000000000..00a15a2801af1f --- /dev/null +++ b/packages/core/overlays/core-overlays-browser/README.md @@ -0,0 +1,3 @@ +# @kbn/core-overlays-browser + +This package contains the public types for Core's browser-side Overlays service. diff --git a/packages/core/overlays/core-overlays-browser/jest.config.js b/packages/core/overlays/core-overlays-browser/jest.config.js new file mode 100644 index 00000000000000..92b14d2d911654 --- /dev/null +++ b/packages/core/overlays/core-overlays-browser/jest.config.js @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../..', + roots: ['/packages/core/overlays/core-overlays-browser'], +}; diff --git a/packages/core/overlays/core-overlays-browser/package.json b/packages/core/overlays/core-overlays-browser/package.json new file mode 100644 index 00000000000000..eef1d2792e7816 --- /dev/null +++ b/packages/core/overlays/core-overlays-browser/package.json @@ -0,0 +1,8 @@ +{ + "name": "@kbn/core-overlays-browser", + "private": true, + "version": "1.0.0", + "main": "./target_node/index.js", + "browser": "./target_web/index.js", + "license": "SSPL-1.0 OR Elastic License 2.0" +} diff --git a/packages/core/overlays/core-overlays-browser/src/banners.ts b/packages/core/overlays/core-overlays-browser/src/banners.ts new file mode 100644 index 00000000000000..9bfc6cedefe3cb --- /dev/null +++ b/packages/core/overlays/core-overlays-browser/src/banners.ts @@ -0,0 +1,42 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +import type { MountPoint } from '@kbn/core-mount-utils-browser'; + +/** @public */ +export interface OverlayBannersStart { + /** + * Add a new banner + * + * @param mount {@link MountPoint} + * @param priority optional priority order to display this banner. Higher priority values are shown first. + * @returns a unique identifier for the given banner to be used with {@link OverlayBannersStart.remove} and + * {@link OverlayBannersStart.replace} + */ + add(mount: MountPoint, priority?: number): string; + + /** + * Remove a banner + * + * @param id the unique identifier for the banner returned by {@link OverlayBannersStart.add} + * @returns if the banner was found or not + */ + remove(id: string): boolean; + + /** + * Replace a banner in place + * + * @param id the unique identifier for the banner returned by {@link OverlayBannersStart.add} + * @param mount {@link MountPoint} + * @param priority optional priority order to display this banner. Higher priority values are shown first. + * @returns a new identifier for the given banner to be used with {@link OverlayBannersStart.remove} and + * {@link OverlayBannersStart.replace} + */ + replace(id: string | undefined, mount: MountPoint, priority?: number): string; + + getComponent(): JSX.Element; +} diff --git a/packages/core/overlays/core-overlays-browser/src/flyout.ts b/packages/core/overlays/core-overlays-browser/src/flyout.ts new file mode 100644 index 00000000000000..efa4ca7a5c5641 --- /dev/null +++ b/packages/core/overlays/core-overlays-browser/src/flyout.ts @@ -0,0 +1,47 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +import type { EuiFlyoutSize, EuiOverlayMaskProps } from '@elastic/eui'; +import type { MountPoint, OverlayRef } from '@kbn/core-mount-utils-browser'; + +/** + * APIs to open and manage fly-out dialogs. + * + * @public + */ +export interface OverlayFlyoutStart { + /** + * Opens a flyout panel with the given mount point inside. You can use + * `close()` on the returned FlyoutRef to close the flyout. + * + * @param mount {@link MountPoint} - Mounts the children inside a flyout panel + * @param options {@link OverlayFlyoutOpenOptions} - options for the flyout + * @return {@link OverlayRef} A reference to the opened flyout panel. + */ + open(mount: MountPoint, options?: OverlayFlyoutOpenOptions): OverlayRef; +} + +/** + * @public + */ +export interface OverlayFlyoutOpenOptions { + className?: string; + closeButtonAriaLabel?: string; + ownFocus?: boolean; + 'data-test-subj'?: string; + 'aria-label'?: string; + size?: EuiFlyoutSize; + maxWidth?: boolean | number | string; + hideCloseButton?: boolean; + outsideClickCloses?: boolean; + maskProps?: EuiOverlayMaskProps; + /** + * EuiFlyout onClose handler. + * If provided the consumer is responsible for calling flyout.close() to close the flyout; + */ + onClose?: (flyout: OverlayRef) => void; +} diff --git a/src/core/public/overlays/index.ts b/packages/core/overlays/core-overlays-browser/src/index.ts similarity index 79% rename from src/core/public/overlays/index.ts rename to packages/core/overlays/core-overlays-browser/src/index.ts index 93d1c1c4791527..2dd5d48b0e97ef 100644 --- a/src/core/public/overlays/index.ts +++ b/packages/core/overlays/core-overlays-browser/src/index.ts @@ -5,9 +5,8 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ -export { OverlayService } from './overlay_service'; -export type { OverlayRef } from './types'; +export type { OverlayStart } from './overlays'; export type { OverlayBannersStart } from './banners'; export type { OverlayFlyoutStart, OverlayFlyoutOpenOptions } from './flyout'; export type { @@ -15,4 +14,3 @@ export type { OverlayModalOpenOptions, OverlayModalConfirmOptions, } from './modal'; -export type { OverlayStart } from './overlay_service'; diff --git a/packages/core/overlays/core-overlays-browser/src/modal.ts b/packages/core/overlays/core-overlays-browser/src/modal.ts new file mode 100644 index 00000000000000..16ac79427d4405 --- /dev/null +++ b/packages/core/overlays/core-overlays-browser/src/modal.ts @@ -0,0 +1,68 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import type { EuiConfirmModalProps } from '@elastic/eui'; +import type { MountPoint, OverlayRef } from '@kbn/core-mount-utils-browser'; + +/** + * @public + */ +export interface OverlayModalConfirmOptions { + title?: string; + cancelButtonText?: string; + confirmButtonText?: string; + className?: string; + closeButtonAriaLabel?: string; + 'data-test-subj'?: string; + defaultFocusedButton?: EuiConfirmModalProps['defaultFocusedButton']; + buttonColor?: EuiConfirmModalProps['buttonColor']; + /** + * Sets the max-width of the modal. + * Set to `true` to use the default (`euiBreakpoints 'm'`), + * set to `false` to not restrict the width, + * set to a number for a custom width in px, + * set to a string for a custom width in custom measurement. + */ + maxWidth?: boolean | number | string; +} + +/** + * APIs to open and manage modal dialogs. + * + * @public + */ +export interface OverlayModalStart { + /** + * Opens a modal panel with the given mount point inside. You can use + * `close()` on the returned OverlayRef to close the modal. + * + * @param mount {@link MountPoint} - Mounts the children inside the modal + * @param options {@link OverlayModalOpenOptions} - options for the modal + * @return {@link OverlayRef} A reference to the opened modal. + */ + open(mount: MountPoint, options?: OverlayModalOpenOptions): OverlayRef; + + /** + * Opens a confirmation modal with the given text or mountpoint as a message. + * Returns a Promise resolving to `true` if user confirmed or `false` otherwise. + * + * @param message {@link MountPoint} - string or mountpoint to be used a the confirm message body + * @param options {@link OverlayModalConfirmOptions} - options for the confirm modal + */ + openConfirm(message: MountPoint | string, options?: OverlayModalConfirmOptions): Promise; +} + +/** + * @public + */ +export interface OverlayModalOpenOptions { + className?: string; + closeButtonAriaLabel?: string; + 'data-test-subj'?: string; + maxWidth?: boolean | number | string; +} diff --git a/packages/core/overlays/core-overlays-browser/src/overlays.ts b/packages/core/overlays/core-overlays-browser/src/overlays.ts new file mode 100644 index 00000000000000..a17ef07c9ce887 --- /dev/null +++ b/packages/core/overlays/core-overlays-browser/src/overlays.ts @@ -0,0 +1,22 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +import type { OverlayBannersStart } from './banners'; +import type { OverlayFlyoutStart } from './flyout'; +import type { OverlayModalStart } from './modal'; + +/** @public */ +export interface OverlayStart { + /** {@link OverlayBannersStart} */ + banners: OverlayBannersStart; + /** {@link OverlayFlyoutStart#open} */ + openFlyout: OverlayFlyoutStart['open']; + /** {@link OverlayModalStart#open} */ + openModal: OverlayModalStart['open']; + /** {@link OverlayModalStart#openConfirm} */ + openConfirm: OverlayModalStart['openConfirm']; +} diff --git a/packages/core/overlays/core-overlays-browser/tsconfig.json b/packages/core/overlays/core-overlays-browser/tsconfig.json new file mode 100644 index 00000000000000..d10eb479b3697d --- /dev/null +++ b/packages/core/overlays/core-overlays-browser/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../../tsconfig.bazel.json", + "compilerOptions": { + "declaration": true, + "declarationMap": true, + "emitDeclarationOnly": true, + "outDir": "target_types", + "rootDir": "src", + "stripInternal": false, + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "src/**/*" + ] +} diff --git a/src/core/public/_banners_list.scss b/src/core/public/_banners_list.scss new file mode 100644 index 00000000000000..3d10a71c84a95d --- /dev/null +++ b/src/core/public/_banners_list.scss @@ -0,0 +1,3 @@ +.kbnGlobalBannerList__item + .kbnGlobalBannerList__item { + margin-top: $euiSizeS; +} diff --git a/src/core/public/_mount_wrapper.scss b/src/core/public/_mount_wrapper.scss new file mode 100644 index 00000000000000..aafcc4bbe87db1 --- /dev/null +++ b/src/core/public/_mount_wrapper.scss @@ -0,0 +1,5 @@ +.kbnOverlayMountWrapper { + display: flex; + flex-direction: column; + height: 100%; +} diff --git a/src/core/public/application/application_service.mock.ts b/src/core/public/application/application_service.mock.ts index 39e8db55c52621..08993428894d1e 100644 --- a/src/core/public/application/application_service.mock.ts +++ b/src/core/public/application/application_service.mock.ts @@ -9,7 +9,7 @@ import { History } from 'history'; import { BehaviorSubject, Subject } from 'rxjs'; -import type { MountPoint } from '../types'; +import type { MountPoint } from '@kbn/core-mount-utils-browser'; import { capabilitiesServiceMock } from './capabilities/capabilities_service.mock'; import { themeServiceMock } from '@kbn/core-theme-browser-mocks'; import { scopedHistoryMock } from './scoped_history.mock'; diff --git a/src/core/public/application/application_service.test.ts b/src/core/public/application/application_service.test.ts index 3444ac8cddcaed..c53fab881351d5 100644 --- a/src/core/public/application/application_service.test.ts +++ b/src/core/public/application/application_service.test.ts @@ -19,7 +19,7 @@ import { mount, shallow } from 'enzyme'; import { httpServiceMock } from '@kbn/core-http-browser-mocks'; import { themeServiceMock } from '@kbn/core-theme-browser-mocks'; -import { overlayServiceMock } from '../overlays/overlay_service.mock'; +import { overlayServiceMock } from '@kbn/core-overlays-browser-mocks'; import { MockLifecycle } from './test_types'; import { ApplicationService } from './application_service'; import { App, AppDeepLink, AppNavLinkStatus, AppStatus, AppUpdater, PublicAppInfo } from './types'; diff --git a/src/core/public/application/application_service.tsx b/src/core/public/application/application_service.tsx index 799e39d0a4ab67..dfc474f57ff009 100644 --- a/src/core/public/application/application_service.tsx +++ b/src/core/public/application/application_service.tsx @@ -15,8 +15,8 @@ import type { PluginOpaqueId } from '@kbn/core-base-common'; import type { ThemeServiceStart } from '@kbn/core-theme-browser'; import type { HttpSetup, HttpStart } from '@kbn/core-http-browser'; import type { Capabilities } from '@kbn/core-capabilities-common'; -import type { MountPoint } from '../types'; -import type { OverlayStart } from '../overlays'; +import type { MountPoint } from '@kbn/core-mount-utils-browser'; +import type { OverlayStart } from '@kbn/core-overlays-browser'; import { AppRouter } from './ui'; import { CapabilitiesService } from './capabilities'; import type { diff --git a/src/core/public/application/integration_tests/application_service.test.tsx b/src/core/public/application/integration_tests/application_service.test.tsx index 5787e1aa460314..474e948da26692 100644 --- a/src/core/public/application/integration_tests/application_service.test.tsx +++ b/src/core/public/application/integration_tests/application_service.test.tsx @@ -16,9 +16,9 @@ import { themeServiceMock } from '@kbn/core-theme-browser-mocks'; import { createRenderer } from './utils'; import { ApplicationService } from '../application_service'; import type { MockLifecycle } from '../test_types'; -import { overlayServiceMock } from '../../overlays/overlay_service.mock'; +import { overlayServiceMock } from '@kbn/core-overlays-browser-mocks'; import type { AppMountParameters, AppUpdater } from '../types'; -import type { MountPoint } from '../..'; +import type { MountPoint } from '@kbn/core-mount-utils-browser'; const flushPromises = () => new Promise((resolve) => setImmediate(resolve)); diff --git a/src/core/public/application/navigation_confirm.test.ts b/src/core/public/application/navigation_confirm.test.ts index d31f25fd94c934..9921e4f446a175 100644 --- a/src/core/public/application/navigation_confirm.test.ts +++ b/src/core/public/application/navigation_confirm.test.ts @@ -6,8 +6,8 @@ * Side Public License, v 1. */ -import { OverlayStart } from '../overlays'; -import { overlayServiceMock } from '../overlays/overlay_service.mock'; +import type { OverlayStart } from '@kbn/core-overlays-browser'; +import { overlayServiceMock } from '@kbn/core-overlays-browser-mocks'; import { getUserConfirmationHandler, ConfirmHandler } from './navigation_confirm'; const nextTick = () => new Promise((resolve) => setImmediate(resolve)); diff --git a/src/core/public/application/types.ts b/src/core/public/application/types.ts index 093f697cc0159a..62200b897a6640 100644 --- a/src/core/public/application/types.ts +++ b/src/core/public/application/types.ts @@ -13,7 +13,7 @@ import { RecursiveReadonly } from '@kbn/utility-types'; import type { CoreTheme } from '@kbn/core-theme-browser'; import type { Capabilities } from '@kbn/core-capabilities-common'; -import { MountPoint } from '../types'; +import type { MountPoint } from '@kbn/core-mount-utils-browser'; import { PluginOpaqueId } from '../plugins'; import { AppCategory } from '../../types'; import { ScopedHistory } from './scoped_history'; diff --git a/src/core/public/application/ui/app_container.tsx b/src/core/public/application/ui/app_container.tsx index ef1d95496a9671..1340d5acdf2db2 100644 --- a/src/core/public/application/ui/app_container.tsx +++ b/src/core/public/application/ui/app_container.tsx @@ -13,7 +13,7 @@ import { EuiLoadingElastic } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import type { CoreTheme } from '@kbn/core-theme-browser'; -import type { MountPoint } from '../../types'; +import type { MountPoint } from '@kbn/core-mount-utils-browser'; import { AppLeaveHandler, AppStatus, AppUnmount, Mounter } from '../types'; import { AppNotFound } from './app_not_found_screen'; import { ScopedHistory } from '../scoped_history'; diff --git a/src/core/public/application/ui/app_router.tsx b/src/core/public/application/ui/app_router.tsx index 043769aa58efe5..c1fa36b69bdef2 100644 --- a/src/core/public/application/ui/app_router.tsx +++ b/src/core/public/application/ui/app_router.tsx @@ -13,7 +13,7 @@ import { Observable } from 'rxjs'; import useObservable from 'react-use/lib/useObservable'; import type { CoreTheme } from '@kbn/core-theme-browser'; -import type { MountPoint } from '../../types'; +import type { MountPoint } from '@kbn/core-mount-utils-browser'; import { AppLeaveHandler, AppStatus, Mounter } from '../types'; import { AppContainer } from './app_container'; import { ScopedHistory } from '../scoped_history'; diff --git a/src/core/public/chrome/chrome_service.tsx b/src/core/public/chrome/chrome_service.tsx index 2f3c469f203919..97e9bce2ff245b 100644 --- a/src/core/public/chrome/chrome_service.tsx +++ b/src/core/public/chrome/chrome_service.tsx @@ -15,7 +15,7 @@ import { EuiLink } from '@elastic/eui'; import type { InternalInjectedMetadataStart } from '@kbn/core-injected-metadata-browser-internal'; import type { DocLinksStart } from '@kbn/core-doc-links-browser'; import type { HttpStart } from '@kbn/core-http-browser'; -import { mountReactNode } from '../utils/mount'; +import { mountReactNode } from '@kbn/core-mount-utils-browser-internal'; import type { InternalApplicationStart } from '../application'; import type { NotificationsStart } from '../notifications'; import { KIBANA_ASK_ELASTIC_LINK } from './constants'; diff --git a/src/core/public/chrome/nav_controls/nav_controls_service.ts b/src/core/public/chrome/nav_controls/nav_controls_service.ts index 13c65b65e5725c..f9dc7ef72c7bf8 100644 --- a/src/core/public/chrome/nav_controls/nav_controls_service.ts +++ b/src/core/public/chrome/nav_controls/nav_controls_service.ts @@ -9,7 +9,7 @@ import { sortBy } from 'lodash'; import { BehaviorSubject, ReplaySubject, Observable } from 'rxjs'; import { map, takeUntil } from 'rxjs/operators'; -import { MountPoint } from '../../types'; +import type { MountPoint } from '@kbn/core-mount-utils-browser'; /** @public */ export interface ChromeNavControl { diff --git a/src/core/public/chrome/types.ts b/src/core/public/chrome/types.ts index 827b8978791e4f..72c134957615aa 100644 --- a/src/core/public/chrome/types.ts +++ b/src/core/public/chrome/types.ts @@ -8,7 +8,7 @@ import { EuiBreadcrumb, IconType } from '@elastic/eui'; import { Observable } from 'rxjs'; -import { MountPoint } from '../types'; +import type { MountPoint } from '@kbn/core-mount-utils-browser'; import { ChromeDocTitle } from './doc_title'; import { ChromeNavControls } from './nav_controls'; import { ChromeNavLinks, ChromeNavLink } from './nav_links'; diff --git a/src/core/public/chrome/ui/header/header_action_menu.test.tsx b/src/core/public/chrome/ui/header/header_action_menu.test.tsx index e75b3b978bc11b..7f291a5e810d4f 100644 --- a/src/core/public/chrome/ui/header/header_action_menu.test.tsx +++ b/src/core/public/chrome/ui/header/header_action_menu.test.tsx @@ -11,7 +11,7 @@ import { mount, ReactWrapper } from 'enzyme'; import { act } from 'react-dom/test-utils'; import { BehaviorSubject } from 'rxjs'; import { HeaderActionMenu } from './header_action_menu'; -import { MountPoint, UnmountCallback } from '../../../types'; +import type { MountPoint, UnmountCallback } from '@kbn/core-mount-utils-browser'; type MockedUnmount = jest.MockedFunction; diff --git a/src/core/public/chrome/ui/header/header_action_menu.tsx b/src/core/public/chrome/ui/header/header_action_menu.tsx index 9951af99f4b507..aabf2cf11307fd 100644 --- a/src/core/public/chrome/ui/header/header_action_menu.tsx +++ b/src/core/public/chrome/ui/header/header_action_menu.tsx @@ -8,7 +8,7 @@ import React, { FC, useRef, useLayoutEffect, useState } from 'react'; import { Observable } from 'rxjs'; -import { MountPoint, UnmountCallback } from '../../../types'; +import type { MountPoint, UnmountCallback } from '@kbn/core-mount-utils-browser'; interface HeaderActionMenuProps { actionMenu$: Observable; diff --git a/src/core/public/chrome/ui/header/header_extension.tsx b/src/core/public/chrome/ui/header/header_extension.tsx index b3d117459ca30a..1039ece2f0539f 100644 --- a/src/core/public/chrome/ui/header/header_extension.tsx +++ b/src/core/public/chrome/ui/header/header_extension.tsx @@ -7,7 +7,7 @@ */ import React from 'react'; -import { MountPoint } from '../../../types'; +import type { MountPoint } from '@kbn/core-mount-utils-browser'; interface Props { extension?: MountPoint; diff --git a/src/core/public/core_app/errors/public_base_url.tsx b/src/core/public/core_app/errors/public_base_url.tsx index 19afdd8d0ed01b..f86903f3c185fe 100644 --- a/src/core/public/core_app/errors/public_base_url.tsx +++ b/src/core/public/core_app/errors/public_base_url.tsx @@ -12,8 +12,8 @@ import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; import type { DocLinksStart } from '@kbn/core-doc-links-browser'; +import { mountReactNode } from '@kbn/core-mount-utils-browser-internal'; import type { HttpStart, NotificationsStart } from '../..'; -import { mountReactNode } from '../../utils'; /** Only exported for tests */ export const MISSING_CONFIG_STORAGE_KEY = `core.warnings.publicBaseUrlMissingDismissed`; diff --git a/src/core/public/core_app/errors/url_overflow.tsx b/src/core/public/core_app/errors/url_overflow.tsx index 4925cf18c0f776..9b71dbf882059a 100644 --- a/src/core/public/core_app/errors/url_overflow.tsx +++ b/src/core/public/core_app/errors/url_overflow.tsx @@ -14,7 +14,7 @@ import { FormattedMessage } from '@kbn/i18n-react'; import type { IBasePath } from '@kbn/core-http-browser'; import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; -import { mountReactNode } from '../../utils'; +import { mountReactNode } from '@kbn/core-mount-utils-browser-internal'; import { IToasts } from '../../notifications'; const IE_REGEX = /(; ?MSIE |Edge\/\d|Trident\/[\d+\.]+;.*rv:*11\.\d+)/; diff --git a/src/core/public/core_system.test.mocks.ts b/src/core/public/core_system.test.mocks.ts index 99f525b1f8aba6..45c37f2cfb04b9 100644 --- a/src/core/public/core_system.test.mocks.ts +++ b/src/core/public/core_system.test.mocks.ts @@ -16,7 +16,7 @@ import { fatalErrorsServiceMock } from '@kbn/core-fatal-errors-browser-mocks'; import { httpServiceMock } from '@kbn/core-http-browser-mocks'; import { i18nServiceMock } from '@kbn/core-i18n-browser-mocks'; import { notificationServiceMock } from './notifications/notifications_service.mock'; -import { overlayServiceMock } from './overlays/overlay_service.mock'; +import { overlayServiceMock } from '@kbn/core-overlays-browser-mocks'; import { pluginsServiceMock } from './plugins/plugins_service.mock'; import { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; import { renderingServiceMock } from './rendering/rendering_service.mock'; @@ -88,7 +88,7 @@ jest.doMock('./chrome', () => ({ export const MockOverlayService = overlayServiceMock.create(); export const OverlayServiceConstructor = jest.fn().mockImplementation(() => MockOverlayService); -jest.doMock('./overlays', () => ({ +jest.doMock('@kbn/core-overlays-browser-internal', () => ({ OverlayService: OverlayServiceConstructor, })); diff --git a/src/core/public/core_system.ts b/src/core/public/core_system.ts index 20f5725f1693ae..761016e4b6647d 100644 --- a/src/core/public/core_system.ts +++ b/src/core/public/core_system.ts @@ -26,10 +26,11 @@ import { HttpService } from '@kbn/core-http-browser-internal'; import { UiSettingsService } from '@kbn/core-ui-settings-browser-internal'; import { DeprecationsService } from '@kbn/core-deprecations-browser-internal'; import { IntegrationsService } from '@kbn/core-integrations-browser-internal'; +import { OverlayService } from '@kbn/core-overlays-browser-internal'; +import { KBN_LOAD_MARKS } from '@kbn/core-mount-utils-browser-internal'; import { CoreSetup, CoreStart } from '.'; import { ChromeService } from './chrome'; import { NotificationsService } from './notifications'; -import { OverlayService } from './overlays'; import { PluginsService } from './plugins'; import { ApplicationService } from './application'; import { RenderingService } from './rendering'; @@ -37,7 +38,6 @@ import { SavedObjectsService } from './saved_objects'; import { CoreApp } from './core_app'; import type { InternalApplicationSetup, InternalApplicationStart } from './application/types'; import { fetchOptionalMemoryInfo } from './fetch_optional_memory_info'; -import { KBN_LOAD_MARKS } from './utils'; interface Params { rootDomElement: HTMLElement; diff --git a/src/core/public/index.scss b/src/core/public/index.scss index 04e2759c91d5dc..cacca8e4ca2e7c 100644 --- a/src/core/public/index.scss +++ b/src/core/public/index.scss @@ -2,6 +2,7 @@ @import './mixins'; @import './core'; @import './chrome/index'; -@import './overlays/index'; +@import './banners_list'; +@import './mount_wrapper'; @import './rendering/index'; @import './styles/index'; diff --git a/src/core/public/index.ts b/src/core/public/index.ts index 3da80ef78bc54c..cb105adb76e135 100644 --- a/src/core/public/index.ts +++ b/src/core/public/index.ts @@ -45,6 +45,7 @@ import type { import type { UiSettingsState, IUiSettingsClient } from '@kbn/core-ui-settings-browser'; import type { DeprecationsServiceStart } from '@kbn/core-deprecations-browser'; import type { Capabilities } from '@kbn/core-capabilities-common'; +import type { OverlayStart } from '@kbn/core-overlays-browser'; import type { ChromeBadge, ChromeBreadcrumb, @@ -68,7 +69,6 @@ import type { ChromeHelpMenuActions, } from './chrome'; import type { NotificationsSetup, NotificationsStart } from './notifications'; -import type { OverlayStart } from './overlays'; import type { Plugin, PluginInitializer, @@ -86,6 +86,7 @@ export { DEFAULT_APP_CATEGORIES, APP_WRAPPER_CLASS } from '../utils'; export type { AppCategory } from '../types'; export type { UiSettingsParams, + PublicUiSettingsParams, UserProvidedValues, UiSettingsType, } from '@kbn/core-ui-settings-common'; @@ -194,13 +195,12 @@ export type { IHttpFetchError } from '@kbn/core-http-browser'; export type { OverlayStart, OverlayBannersStart, - OverlayRef, OverlayFlyoutStart, OverlayFlyoutOpenOptions, OverlayModalOpenOptions, OverlayModalConfirmOptions, OverlayModalStart, -} from './overlays'; +} from '@kbn/core-overlays-browser'; export type { Toast, @@ -221,7 +221,7 @@ export type { ResolveDeprecationResponse, } from '@kbn/core-deprecations-browser'; -export type { MountPoint, UnmountCallback, PublicUiSettingsParams } from './types'; +export type { MountPoint, UnmountCallback, OverlayRef } from '@kbn/core-mount-utils-browser'; export { URL_MAX_LENGTH } from './core_app'; diff --git a/src/core/public/kbn_bootstrap.ts b/src/core/public/kbn_bootstrap.ts index 79283daaf9a3ae..e97c7e58a48d5b 100644 --- a/src/core/public/kbn_bootstrap.ts +++ b/src/core/public/kbn_bootstrap.ts @@ -7,9 +7,9 @@ */ import { i18n } from '@kbn/i18n'; +import { KBN_LOAD_MARKS } from '@kbn/core-mount-utils-browser-internal'; import { CoreSystem } from './core_system'; import { ApmSystem } from './apm_system'; -import { KBN_LOAD_MARKS } from './utils'; /** @internal */ export async function __kbnBootstrap__() { diff --git a/src/core/public/mocks.ts b/src/core/public/mocks.ts index 73e4a5a80fbde3..1824efc31fcf41 100644 --- a/src/core/public/mocks.ts +++ b/src/core/public/mocks.ts @@ -19,13 +19,13 @@ import { fatalErrorsServiceMock } from '@kbn/core-fatal-errors-browser-mocks'; import { httpServiceMock } from '@kbn/core-http-browser-mocks'; import { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; import { deprecationsServiceMock } from '@kbn/core-deprecations-browser-mocks'; +import { overlayServiceMock } from '@kbn/core-overlays-browser-mocks'; import type { PluginInitializerContext, AppMountParameters } from '.'; // Import values from their individual modules instead. import { ScopedHistory } from './application'; import { applicationServiceMock } from './application/application_service.mock'; import { chromeServiceMock } from './chrome/chrome_service.mock'; import { notificationServiceMock } from './notifications/notifications_service.mock'; -import { overlayServiceMock } from './overlays/overlay_service.mock'; import { savedObjectsServiceMock } from './saved_objects/saved_objects_service.mock'; export { injectedMetadataServiceMock } from '@kbn/core-injected-metadata-browser-mocks'; @@ -38,7 +38,7 @@ export { fatalErrorsServiceMock } from '@kbn/core-fatal-errors-browser-mocks'; export { httpServiceMock } from '@kbn/core-http-browser-mocks'; export { i18nServiceMock } from '@kbn/core-i18n-browser-mocks'; export { notificationServiceMock } from './notifications/notifications_service.mock'; -export { overlayServiceMock } from './overlays/overlay_service.mock'; +export { overlayServiceMock } from '@kbn/core-overlays-browser-mocks'; export { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; export { savedObjectsServiceMock } from './saved_objects/saved_objects_service.mock'; export { scopedHistoryMock } from './application/scoped_history.mock'; diff --git a/src/core/public/notifications/notifications_service.ts b/src/core/public/notifications/notifications_service.ts index 6a5a5f81f1a40a..14137d81edf953 100644 --- a/src/core/public/notifications/notifications_service.ts +++ b/src/core/public/notifications/notifications_service.ts @@ -12,8 +12,8 @@ import { Subscription } from 'rxjs'; import type { ThemeServiceStart } from '@kbn/core-theme-browser'; import type { I18nStart } from '@kbn/core-i18n-browser'; import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; +import type { OverlayStart } from '@kbn/core-overlays-browser'; import { ToastsService, ToastsSetup, ToastsStart } from './toasts'; -import { OverlayStart } from '../overlays'; export interface SetupDeps { uiSettings: IUiSettingsClient; diff --git a/src/core/public/notifications/toasts/toasts_api.tsx b/src/core/public/notifications/toasts/toasts_api.tsx index f78927c7f75794..3a75ab43239760 100644 --- a/src/core/public/notifications/toasts/toasts_api.tsx +++ b/src/core/public/notifications/toasts/toasts_api.tsx @@ -13,10 +13,10 @@ import { omitBy, isUndefined } from 'lodash'; import type { I18nStart } from '@kbn/core-i18n-browser'; import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; +import type { MountPoint } from '@kbn/core-mount-utils-browser'; +import type { OverlayStart } from '@kbn/core-overlays-browser'; +import { mountReactNode } from '@kbn/core-mount-utils-browser-internal'; import { ErrorToast } from './error_toast'; -import { MountPoint } from '../../types'; -import { mountReactNode } from '../../utils'; -import { OverlayStart } from '../../overlays'; /** * Allowed fields for {@link ToastInput}. diff --git a/src/core/public/notifications/toasts/toasts_service.test.tsx b/src/core/public/notifications/toasts/toasts_service.test.tsx index a6854f679d086d..4e4ef668e97783 100644 --- a/src/core/public/notifications/toasts/toasts_service.test.tsx +++ b/src/core/public/notifications/toasts/toasts_service.test.tsx @@ -10,7 +10,7 @@ import { mockReactDomRender, mockReactDomUnmount } from './toasts_service.test.m import { ToastsService } from './toasts_service'; import { ToastsApi } from './toasts_api'; -import { overlayServiceMock } from '../../overlays/overlay_service.mock'; +import { overlayServiceMock } from '@kbn/core-overlays-browser-mocks'; import { themeServiceMock } from '@kbn/core-theme-browser-mocks'; import { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; diff --git a/src/core/public/notifications/toasts/toasts_service.tsx b/src/core/public/notifications/toasts/toasts_service.tsx index 692e6ec9dd5043..40021e3654ce98 100644 --- a/src/core/public/notifications/toasts/toasts_service.tsx +++ b/src/core/public/notifications/toasts/toasts_service.tsx @@ -13,9 +13,9 @@ import type { ThemeServiceStart } from '@kbn/core-theme-browser'; import type { I18nStart } from '@kbn/core-i18n-browser'; import { CoreContextProvider } from '@kbn/core-theme-browser-internal'; import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; +import type { OverlayStart } from '@kbn/core-overlays-browser'; import { GlobalToastList } from './global_toast_list'; import { ToastsApi, IToasts } from './toasts_api'; -import { OverlayStart } from '../../overlays'; interface SetupDeps { uiSettings: IUiSettingsClient; diff --git a/src/core/public/plugins/plugins_service.test.ts b/src/core/public/plugins/plugins_service.test.ts index dbc3fd253a1c1f..48a8a317032167 100644 --- a/src/core/public/plugins/plugins_service.test.ts +++ b/src/core/public/plugins/plugins_service.test.ts @@ -31,7 +31,7 @@ import { import type { InjectedMetadataPlugin } from '@kbn/core-injected-metadata-common-internal'; import { notificationServiceMock } from '../notifications/notifications_service.mock'; import { applicationServiceMock } from '../application/application_service.mock'; -import { overlayServiceMock } from '../overlays/overlay_service.mock'; +import { overlayServiceMock } from '@kbn/core-overlays-browser-mocks'; import { chromeServiceMock } from '../chrome/chrome_service.mock'; import { fatalErrorsServiceMock } from '@kbn/core-fatal-errors-browser-mocks'; import { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; diff --git a/src/core/public/rendering/rendering_service.test.tsx b/src/core/public/rendering/rendering_service.test.tsx index 13cfe0b29527e8..4655e6e1593843 100644 --- a/src/core/public/rendering/rendering_service.test.tsx +++ b/src/core/public/rendering/rendering_service.test.tsx @@ -12,7 +12,7 @@ import { act } from 'react-dom/test-utils'; import { RenderingService } from './rendering_service'; import { applicationServiceMock } from '../application/application_service.mock'; import { chromeServiceMock } from '../chrome/chrome_service.mock'; -import { overlayServiceMock } from '../overlays/overlay_service.mock'; +import { overlayServiceMock } from '@kbn/core-overlays-browser-mocks'; import { themeServiceMock } from '@kbn/core-theme-browser-mocks'; import { i18nServiceMock } from '@kbn/core-i18n-browser-mocks'; import { BehaviorSubject } from 'rxjs'; diff --git a/src/core/public/rendering/rendering_service.tsx b/src/core/public/rendering/rendering_service.tsx index 1a656877d924a7..bff04e209f604e 100644 --- a/src/core/public/rendering/rendering_service.tsx +++ b/src/core/public/rendering/rendering_service.tsx @@ -13,9 +13,9 @@ import { pairwise, startWith } from 'rxjs/operators'; import type { ThemeServiceStart } from '@kbn/core-theme-browser'; import type { I18nStart } from '@kbn/core-i18n-browser'; import { CoreContextProvider } from '@kbn/core-theme-browser-internal'; +import type { OverlayStart } from '@kbn/core-overlays-browser'; import type { InternalChromeStart } from '../chrome'; import type { InternalApplicationStart } from '../application'; -import type { OverlayStart } from '../overlays'; import { AppWrapper } from './app_containers'; export interface StartDeps { diff --git a/src/core/public/utils/index.ts b/src/core/public/utils/index.ts index 2164c31f1ea29f..5679153f73baca 100644 --- a/src/core/public/utils/index.ts +++ b/src/core/public/utils/index.ts @@ -6,5 +6,8 @@ * Side Public License, v 1. */ -export { MountWrapper, mountReactNode } from './mount'; -export { KBN_LOAD_MARKS } from './consts'; +export { + MountWrapper, + mountReactNode, + KBN_LOAD_MARKS, +} from '@kbn/core-mount-utils-browser-internal'; diff --git a/yarn.lock b/yarn.lock index a33c540b15ceb9..64d1d44e6b790b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3319,6 +3319,14 @@ version "0.0.0" uid "" +"@kbn/core-mount-utils-browser-internal@link:bazel-bin/packages/core/mount-utils/core-mount-utils-browser-internal": + version "0.0.0" + uid "" + +"@kbn/core-mount-utils-browser@link:bazel-bin/packages/core/mount-utils/core-mount-utils-browser": + version "0.0.0" + uid "" + "@kbn/core-node-server-internal@link:bazel-bin/packages/core/node/core-node-server-internal": version "0.0.0" uid "" @@ -3331,6 +3339,18 @@ version "0.0.0" uid "" +"@kbn/core-overlays-browser-internal@link:bazel-bin/packages/core/overlays/core-overlays-browser-internal": + version "0.0.0" + uid "" + +"@kbn/core-overlays-browser-mocks@link:bazel-bin/packages/core/overlays/core-overlays-browser-mocks": + version "0.0.0" + uid "" + +"@kbn/core-overlays-browser@link:bazel-bin/packages/core/overlays/core-overlays-browser": + version "0.0.0" + uid "" + "@kbn/core-preboot-server-internal@link:bazel-bin/packages/core/preboot/core-preboot-server-internal": version "0.0.0" uid "" @@ -7159,6 +7179,14 @@ version "0.0.0" uid "" +"@types/kbn__core-mount-utils-browser-internal@link:bazel-bin/packages/core/mount-utils/core-mount-utils-browser-internal/npm_module_types": + version "0.0.0" + uid "" + +"@types/kbn__core-mount-utils-browser@link:bazel-bin/packages/core/mount-utils/core-mount-utils-browser/npm_module_types": + version "0.0.0" + uid "" + "@types/kbn__core-node-server-internal@link:bazel-bin/packages/core/node/core-node-server-internal/npm_module_types": version "0.0.0" uid "" @@ -7171,6 +7199,18 @@ version "0.0.0" uid "" +"@types/kbn__core-overlays-browser-internal@link:bazel-bin/packages/core/overlays/core-overlays-browser-internal/npm_module_types": + version "0.0.0" + uid "" + +"@types/kbn__core-overlays-browser-mocks@link:bazel-bin/packages/core/overlays/core-overlays-browser-mocks/npm_module_types": + version "0.0.0" + uid "" + +"@types/kbn__core-overlays-browser@link:bazel-bin/packages/core/overlays/core-overlays-browser/npm_module_types": + version "0.0.0" + uid "" + "@types/kbn__core-preboot-server-internal@link:bazel-bin/packages/core/preboot/core-preboot-server-internal/npm_module_types": version "0.0.0" uid "" From bebec37f0435f292f19834d49c8db0006f85fcbb Mon Sep 17 00:00:00 2001 From: Spencer Date: Fri, 29 Jul 2022 13:57:55 -0500 Subject: [PATCH 04/37] [eslint] fix and skip violations for cross-boundary imports (#136911) --- .eslintrc.js | 103 ----- .../common/book_saved_object_attributes.ts | 2 +- .../common/todo_saved_object_attributes.ts | 2 +- examples/field_formats_example/public/app.tsx | 2 - .../core-config-server-internal/src/index.ts | 1 + packages/elastic-apm-synthtrace/src/cli.ts | 2 +- .../src/{scripts => cli}/run_synthtrace.ts | 0 .../src/{scripts => cli}/scenario.ts | 0 .../utils/get_common_services.ts | 0 .../{scripts => cli}/utils/get_scenario.ts | 0 .../{scripts => cli}/utils/interval_to_ms.ts | 0 .../utils/parse_run_cli_flags.ts | 0 .../utils/start_historical_data_upload.ts | 0 .../utils/start_live_data_upload.ts | 0 .../utils/synthtrace_worker.ts | 0 .../src/{scripts => cli}/utils/worker.js | 0 .../src/scenarios/agent_config.ts | 6 +- .../src/scenarios/aws_lambda.ts | 6 +- .../src/scenarios/kibana_stats.ts | 6 +- .../src/scenarios/low_throughput.ts | 6 +- .../src/scenarios/many_services.ts | 6 +- .../src/scenarios/monitoring.ts | 6 +- .../src/scenarios/simple_trace.ts | 6 +- .../src/scenarios/span_links.ts | 2 +- packages/home/sample_data_card/src/index.ts | 1 + packages/kbn-eslint-config/.eslintrc.js | 1 + packages/kbn-eslint-plugin-eslint/BUILD.bazel | 1 - packages/kbn-eslint-plugin-eslint/README.mdx | 41 -- packages/kbn-eslint-plugin-eslint/index.js | 1 - .../rules/no_restricted_paths.js | 151 ------- .../rules/no_restricted_paths.test.js | 400 ------------------ .../src/repo_source_classifier.ts | 5 +- .../src/index.ts | 1 + .../kbn-securitysolution-t-grid/src/index.ts | 1 + .../src/services/index.ts | 2 + src/core/public/plugins/plugin.ts | 2 +- src/core/public/plugins/plugin_context.ts | 4 +- src/dev/build/tasks/install_chromium.js | 1 - .../common/types/expression_functions.ts | 2 +- .../expression_renderers/gauge_renderer.tsx | 1 + .../expression_gauge/server/plugin.ts | 2 +- .../common/types/expression_functions.ts | 2 +- .../expression_renderers/heatmap_renderer.tsx | 1 + .../expression_heatmap/server/plugin.ts | 2 +- .../metric_vis_renderer.tsx | 1 + .../expression_legacy_metric/server/plugin.ts | 2 +- .../metric_vis_renderer.tsx | 1 + .../expression_metric/server/plugin.ts | 2 +- .../common/types/expression_renderers.ts | 2 +- .../public/__mocks__/theme.ts | 1 - .../partition_vis_renderer.tsx | 1 + .../common/types/expression_renderers.ts | 2 +- .../tagcloud_renderer.tsx | 1 + .../expression_tagcloud/server/plugin.ts | 2 +- .../common/types/expression_functions.ts | 2 +- .../xy_chart_renderer.tsx | 1 + src/plugins/controls/public/services/index.ts | 1 + src/plugins/dashboard/common/bwc/types.ts | 2 +- src/plugins/dashboard/public/services/home.ts | 2 +- .../data/common/search/aggs/agg_config.ts | 3 +- .../data/common/search/aggs/agg_configs.ts | 7 +- .../data/common/search/aggs/agg_type.ts | 3 +- .../common/search/aggs/buckets/histogram.ts | 2 +- .../common/search/aggs/param_types/base.ts | 3 +- .../data/common/search/expressions/essql.ts | 2 - .../search_source/inspect/inspector_stats.ts | 1 - .../data/common/search/search_source/types.ts | 3 +- .../search/fetch/handle_response.test.ts | 1 - .../public/search/session/sessions_client.ts | 1 - .../session/sessions_mgmt/lib/api.test.ts | 1 - src/plugins/data/public/search/types.ts | 3 +- src/plugins/data/public/stubs.ts | 3 +- .../data/server/search/search_service.test.ts | 1 - .../data_views/common/lib/get_title.ts | 2 +- .../embeddable_factory_definition.ts | 3 +- .../components/authorization_provider.tsx | 3 +- .../authorization/components/page_error.tsx | 1 + .../errors/handle_es_error.test.ts | 1 - .../errors/handle_es_error.ts | 3 +- src/plugins/expression_image/server/plugin.ts | 2 +- .../expression_metric/server/plugin.ts | 2 +- .../expression_repeat_image/server/plugin.ts | 2 +- .../expression_reveal_image/server/plugin.ts | 2 +- src/plugins/expression_shape/server/plugin.ts | 2 +- .../expressions/common/execution/types.ts | 1 - .../expression_functions/specs/ui_setting.ts | 1 - .../common/service/expressions_services.ts | 1 - src/plugins/expressions/common/util/index.ts | 1 + .../sample_data/sample_data_registry.ts | 2 +- .../public/submit_error_callout.test.tsx | 2 +- .../kibana_utils/demos/state_sync/url.ts | 1 + .../presentation_util/common/lib/index.ts | 1 + .../common/lib/utils/default_theme.ts | 2 +- .../public/services/index.ts | 1 + .../public/lib/get_tag_references.ts | 3 +- .../url_service/locators/locator.test.ts | 1 - .../common/url_service/locators/locator.ts | 1 - .../url_service/locators/locator_client.ts | 3 +- .../server/series_functions/abs.test.js | 2 +- .../aggregate/aggregate.test.js | 2 +- .../server/series_functions/bars.test.js | 2 +- .../server/series_functions/color.test.js | 2 +- .../server/series_functions/condition.test.js | 4 +- .../server/series_functions/cusum.test.js | 2 +- .../series_functions/derivative.test.js | 2 +- .../server/series_functions/divide.test.js | 2 +- .../server/series_functions/es/es.test.js | 2 +- .../server/series_functions/first.test.js | 2 +- .../server/series_functions/fit.test.js | 4 +- .../series_functions/fixtures/series_list.js | 4 +- .../server/series_functions/hide.test.js | 2 +- .../server/series_functions/label.test.js | 2 +- .../server/series_functions/legend.test.js | 2 +- .../server/series_functions/lines.test.js | 2 +- .../server/series_functions/log.test.js | 2 +- .../server/series_functions/max.test.js | 2 +- .../server/series_functions/min.test.js | 2 +- .../series_functions/movingaverage.test.js | 6 +- .../server/series_functions/movingstd.test.js | 6 +- .../server/series_functions/multiply.test.js | 2 +- .../server/series_functions/points.test.js | 2 +- .../server/series_functions/precision.test.js | 2 +- .../server/series_functions/range.test.js | 2 +- .../series_functions/scale_interval.test.js | 2 +- .../server/series_functions/static.test.js | 2 +- .../server/series_functions/subtract.test.js | 2 +- .../server/series_functions/sum.test.js | 2 +- .../{helpers => test_helpers}/get_series.js | 0 .../get_series_list.js | 0 .../get_single_series_list.js | 0 .../invoke_series_fn.js | 0 .../server/series_functions/title.test.js | 2 +- .../server/series_functions/trim.test.js | 2 +- .../server/series_functions/yaxis.test.js | 2 +- .../alerting_example/server/plugin.ts | 1 - x-pack/plugins/alerting/common/rule.ts | 3 +- .../get_anomaly_detection_setup_state.ts | 3 +- x-pack/plugins/apm/common/apm_telemetry.ts | 2 +- x-pack/plugins/apm/common/fetch_options.ts | 2 +- ..._failed_transactions_correlations.test.tsx | 1 - .../use_latency_correlations.test.tsx | 1 - .../public/hooks/use_progressive_fetcher.tsx | 1 - .../services/rest/create_call_apm_api.ts | 6 +- .../plugins/apm/public/utils/test_helpers.tsx | 1 - .../functions/external/index.ts | 2 +- .../functions/external/saved_map.ts | 2 +- .../functions/external/saved_search.ts | 2 +- .../functions/external/saved_visualization.ts | 2 +- .../input_type_to_expression/lens.ts | 2 +- .../canvas/common/functions/filters.ts | 3 +- x-pack/plugins/canvas/common/lib/constants.ts | 1 + .../plugins/canvas/i18n/functions/dict/all.ts | 2 +- .../i18n/functions/dict/alter_column.ts | 2 +- .../plugins/canvas/i18n/functions/dict/any.ts | 2 +- .../plugins/canvas/i18n/functions/dict/as.ts | 2 +- .../canvas/i18n/functions/dict/asset.ts | 2 +- .../canvas/i18n/functions/dict/axis_config.ts | 2 +- .../canvas/i18n/functions/dict/case.ts | 2 +- .../canvas/i18n/functions/dict/clear.ts | 2 +- .../canvas/i18n/functions/dict/columns.ts | 2 +- .../canvas/i18n/functions/dict/compare.ts | 1 + .../i18n/functions/dict/container_style.ts | 2 +- .../canvas/i18n/functions/dict/context.ts | 2 +- .../plugins/canvas/i18n/functions/dict/csv.ts | 2 +- .../canvas/i18n/functions/dict/date.ts | 2 +- .../canvas/i18n/functions/dict/demodata.ts | 3 +- .../plugins/canvas/i18n/functions/dict/do.ts | 2 +- .../i18n/functions/dict/dropdown_control.ts | 2 +- .../canvas/i18n/functions/dict/embeddable.ts | 2 +- .../plugins/canvas/i18n/functions/dict/eq.ts | 2 +- .../canvas/i18n/functions/dict/escount.ts | 2 +- .../canvas/i18n/functions/dict/esdocs.ts | 2 +- .../canvas/i18n/functions/dict/exactly.ts | 2 +- .../canvas/i18n/functions/dict/filterrows.ts | 2 +- .../canvas/i18n/functions/dict/filters.ts | 2 +- .../canvas/i18n/functions/dict/formatdate.ts | 2 +- .../i18n/functions/dict/formatnumber.ts | 2 +- .../canvas/i18n/functions/dict/get_cell.ts | 2 +- .../plugins/canvas/i18n/functions/dict/gt.ts | 2 +- .../plugins/canvas/i18n/functions/dict/gte.ts | 2 +- .../canvas/i18n/functions/dict/head.ts | 2 +- .../plugins/canvas/i18n/functions/dict/if.ts | 2 +- .../canvas/i18n/functions/dict/join_rows.ts | 2 +- .../canvas/i18n/functions/dict/location.ts | 2 +- .../plugins/canvas/i18n/functions/dict/lt.ts | 2 +- .../plugins/canvas/i18n/functions/dict/lte.ts | 2 +- .../canvas/i18n/functions/dict/map_center.ts | 2 +- .../canvas/i18n/functions/dict/markdown.ts | 2 +- .../plugins/canvas/i18n/functions/dict/neq.ts | 2 +- .../plugins/canvas/i18n/functions/dict/pie.ts | 2 +- .../canvas/i18n/functions/dict/plot.ts | 2 +- .../plugins/canvas/i18n/functions/dict/ply.ts | 2 +- .../canvas/i18n/functions/dict/pointseries.ts | 2 +- .../canvas/i18n/functions/dict/render.ts | 2 +- .../canvas/i18n/functions/dict/replace.ts | 2 +- .../canvas/i18n/functions/dict/rounddate.ts | 2 +- .../canvas/i18n/functions/dict/row_count.ts | 2 +- .../canvas/i18n/functions/dict/saved_lens.ts | 2 +- .../canvas/i18n/functions/dict/saved_map.ts | 2 +- .../i18n/functions/dict/saved_search.ts | 2 +- .../functions/dict/saved_visualization.ts | 2 +- .../i18n/functions/dict/series_style.ts | 2 +- .../canvas/i18n/functions/dict/sort.ts | 2 +- .../i18n/functions/dict/static_column.ts | 2 +- .../canvas/i18n/functions/dict/string.ts | 2 +- .../canvas/i18n/functions/dict/switch.ts | 2 +- .../canvas/i18n/functions/dict/table.ts | 2 +- .../canvas/i18n/functions/dict/tail.ts | 2 +- .../canvas/i18n/functions/dict/time_range.ts | 2 +- .../canvas/i18n/functions/dict/timefilter.ts | 2 +- .../i18n/functions/dict/timefilter_control.ts | 2 +- .../canvas/i18n/functions/dict/timelion.ts | 2 +- .../plugins/canvas/i18n/functions/dict/to.ts | 2 +- .../canvas/i18n/functions/dict/urlparam.ts | 2 +- .../i18n/templates/template_strings.test.ts | 1 - .../hooks/workpad/use_download_workpad.ts | 2 +- .../share_menu/flyout/flyout.component.tsx | 2 +- .../share_menu/flyout/flyout.tsx | 3 +- .../flyout/hooks/use_download_runtime.ts | 2 +- .../plugins/canvas/public/services/workpad.ts | 2 +- .../canvas/public/state/selectors/workpad.ts | 2 +- .../server/routes/shareables/download.ts | 1 + .../canvas/server/routes/shareables/zip.ts | 1 + .../server/saved_objects/migrations/types.ts | 3 +- .../plugins/canvas/shareable_runtime/index.ts | 1 - x-pack/plugins/canvas/types/filters.ts | 2 +- x-pack/plugins/canvas/types/functions.ts | 10 +- x-pack/plugins/canvas/types/state.ts | 2 +- x-pack/plugins/canvas/types/telemetry.ts | 3 +- .../cases/common/api/connectors/index.ts | 1 - .../public/common/mock/register_connectors.ts | 1 - .../components/configure_cases/index.tsx | 1 - .../cases/server/client/attachments/delete.ts | 2 +- .../cases/server/client/cases/types.ts | 1 - .../cases/server/client/configure/client.ts | 1 - x-pack/plugins/cases/server/types.ts | 1 - .../data_visualizer/common/constants.ts | 2 +- .../components/embedded_map/embedded_map.tsx | 1 - .../enterprise_search/common/types/api.ts | 2 +- x-pack/plugins/fleet/common/index.ts | 1 + .../elasticsearch/transform/remove.test.ts | 1 - .../elasticsearch/transform/transform.test.ts | 1 - .../helpers/setup_environment.tsx | 1 - .../register_privileges_route.ts | 3 +- .../inventory_models/aws_ec2/layout.tsx | 13 +- .../aws_ec2/toolbar_items.tsx | 3 +- .../inventory_models/aws_rds/layout.tsx | 11 +- .../aws_rds/toolbar_items.tsx | 3 +- .../common/inventory_models/aws_s3/layout.tsx | 11 +- .../inventory_models/aws_s3/toolbar_items.tsx | 3 +- .../inventory_models/aws_sqs/layout.tsx | 11 +- .../aws_sqs/toolbar_items.tsx | 3 +- .../inventory_models/container/layout.tsx | 15 +- .../container/toolbar_items.tsx | 3 +- .../common/inventory_models/host/layout.tsx | 15 +- .../inventory_models/host/toolbar_items.tsx | 3 +- .../infra/common/inventory_models/layouts.ts | 3 +- .../common/inventory_models/pod/layout.tsx | 15 +- .../inventory_models/pod/toolbar_items.tsx | 3 +- .../shared/components/cloud_toolbar_items.tsx | 7 +- .../metrics_and_groupby_toolbar_items.tsx | 11 +- .../inventory_models/shared/layouts/aws.tsx | 11 +- .../inventory_models/shared/layouts/nginx.tsx | 9 +- .../infra/common/inventory_models/toolbars.ts | 3 +- x-pack/plugins/infra/common/runtime_types.ts | 1 - .../common/saved_objects/inventory_view.ts | 3 +- .../saved_objects/metrics_explorer_view.ts | 3 +- .../metrics_hosts/module_descriptor.ts | 6 - .../modules/metrics_k8s/module_descriptor.ts | 6 - .../inventory_view/hooks/use_timeline.ts | 2 +- .../__jest__/test_pipeline.helpers.tsx | 1 - .../server/shared_imports.ts | 1 + .../license_management/__jest__/util/util.js | 2 - .../plugins/ml/common/types/capabilities.ts | 3 +- x-pack/plugins/ml/common/types/locator.ts | 1 - x-pack/plugins/ml/common/types/modules.ts | 6 +- x-pack/plugins/ml/shared_imports.ts | 2 + x-pack/plugins/monitoring/common/ccs_utils.ts | 1 - .../param_details_form/validation.tsx | 1 - .../validation.tsx | 1 - .../plugins/monitoring/public/legacy_shims.ts | 2 - x-pack/plugins/monitoring/public/types.ts | 2 - .../common/utils/get_inspect_response.ts | 1 - .../shared/exploratory_view/rtl_helpers.tsx | 1 - .../services/call_observability_api/types.ts | 1 - .../plugins/osquery/public/shared_imports.ts | 4 +- .../server/routes/api/types.ts | 2 +- .../plugins/reporting/common/types/index.ts | 1 - .../create_mock_reportingplugin.ts | 1 - x-pack/plugins/reporting/server/types.ts | 1 - x-pack/plugins/rule_registry/server/mocks.ts | 2 +- .../utils/create_lifecycle_executor.test.ts | 2 +- ...ck.ts => lifecycle_alert_services.mock.ts} | 0 ...utils.ts => rule_executor.test_helpers.ts} | 0 .../pdf/pdf_maker/worker_src_harness.js | 1 + .../security/common/model/deprecations.ts | 1 - .../roles/__fixtures__/kibana_privileges.ts | 4 - .../plugins/security/server/prompt_page.tsx | 1 - .../host_isolation_exception_generator.ts | 1 + .../common/endpoint/service/authz/index.ts | 1 + .../security_solution/cti/index.mock.ts | 1 - .../security_solution/cti/index.ts | 1 - .../security_solution/cypress/objects/rule.ts | 1 - .../common/lib/kibana/__mocks__/index.ts | 1 - .../security_solution/public/common/types.ts | 1 - .../management/pages/endpoint_hosts/index.tsx | 1 + .../components/embeddables/embedded_map.tsx | 1 - .../map_tool_tip/line_tool_tip_content.tsx | 1 - .../embeddables/map_tool_tip/map_tool_tip.tsx | 1 - .../map_tool_tip/point_tool_tip_content.tsx | 1 - .../public/resolver/index.ts | 1 + .../row_renderers_browser/examples/alerts.tsx | 1 + .../row_renderers_browser/examples/auditd.tsx | 1 + .../examples/auditd_file.tsx | 1 + .../examples/library.tsx | 1 + .../examples/netflow.tsx | 1 + .../examples/registry.tsx | 1 + .../examples/suricata.tsx | 1 + .../row_renderers_browser/examples/system.tsx | 1 + .../examples/system_dns.tsx | 1 + .../examples/system_endgame_process.tsx | 1 + .../examples/system_file.tsx | 1 + .../examples/system_fim.tsx | 1 + .../examples/system_security_event.tsx | 1 + .../examples/system_socket.tsx | 1 + .../examples/threat_match.tsx | 1 + .../row_renderers_browser/examples/zeek.tsx | 1 + .../server/__mocks__/alert.mock.ts | 1 - .../server/__mocks__/core.mock.ts | 2 - .../server/__mocks__/task_manager.mock.ts | 1 - .../server/endpoint/mocks.ts | 1 - .../endpoint/services/artifacts/mocks.ts | 1 - .../endpoint/services/feature_usage/index.ts | 1 + .../endpoint/utils/action_list_helpers.ts | 1 - .../endpoint/utils/audit_log_helpers.ts | 1 - .../routes/__mocks__/request_context.ts | 1 - .../routes/rules/preview_rules_route.ts | 1 - .../utils/gather_referenced_exceptions.ts | 6 +- .../rule_types/__mocks__/rule_type.ts | 3 +- .../preview/alert_instance_factory_stub.ts | 1 - x-pack/plugins/synthetics/common/config.ts | 3 +- .../common/requests/get_certs_request_body.ts | 3 +- .../common/types/synthetics_monitor.ts | 2 +- .../components/settings/types.ts | 3 +- .../public/legacy_uptime/lib/index.ts | 1 + .../legacy_uptime/state/api/alert_actions.ts | 3 +- .../lib/alerts/test_utils/index.ts | 2 +- .../lib/requests/get_certs.test.ts | 2 +- .../lib/requests/get_journey_details.test.ts | 2 +- .../requests/get_journey_failed_steps.test.ts | 2 +- .../requests/get_journey_screenshot.test.ts | 2 +- .../get_journey_screenshot_blocks.test.ts | 2 +- .../lib/requests/get_journey_steps.test.ts | 2 +- .../lib/requests/get_latest_monitor.test.ts | 2 +- .../requests/get_monitor_availability.test.ts | 2 +- .../lib/requests/get_monitor_details.test.ts | 2 +- .../lib/requests/get_monitor_duration.test.ts | 2 +- .../lib/requests/get_monitor_status.test.ts | 2 +- .../lib/requests/get_network_events.test.ts | 2 +- .../lib/requests/get_ping_histogram.test.ts | 2 +- .../lib/requests/get_pings.test.ts | 2 +- .../lib/requests/search/query_context.test.ts | 2 +- .../lib/requests/search/test_helpers.ts | 2 +- .../requests/{helper.ts => test_helpers.ts} | 0 .../synthetics_service/get_api_key.test.ts | 2 +- .../hydrate_saved_object.test.ts | 2 +- .../common/types/timeline/actions/index.ts | 1 - .../cases_webhook/types.ts | 4 +- .../builtin_action_types/jira/types.ts | 3 +- .../builtin_action_types/resilient/types.ts | 3 +- .../builtin_action_types/servicenow/types.ts | 3 +- .../builtin_action_types/swimlane/types.ts | 4 +- .../rule_event_log_list_cell_renderer.tsx | 3 +- .../components/rule_event_log_list_status.tsx | 3 +- .../rule_event_log_list_status_filter.tsx | 3 +- .../triggers_actions_ui/public/index.ts | 3 +- .../plugins/upgrade_assistant/common/types.ts | 2 +- x-pack/plugins/ux/common/fetch_options.ts | 2 +- .../services/rest/create_call_apm_api.ts | 1 - 379 files changed, 368 insertions(+), 1168 deletions(-) rename packages/elastic-apm-synthtrace/src/{scripts => cli}/run_synthtrace.ts (100%) rename packages/elastic-apm-synthtrace/src/{scripts => cli}/scenario.ts (100%) rename packages/elastic-apm-synthtrace/src/{scripts => cli}/utils/get_common_services.ts (100%) rename packages/elastic-apm-synthtrace/src/{scripts => cli}/utils/get_scenario.ts (100%) rename packages/elastic-apm-synthtrace/src/{scripts => cli}/utils/interval_to_ms.ts (100%) rename packages/elastic-apm-synthtrace/src/{scripts => cli}/utils/parse_run_cli_flags.ts (100%) rename packages/elastic-apm-synthtrace/src/{scripts => cli}/utils/start_historical_data_upload.ts (100%) rename packages/elastic-apm-synthtrace/src/{scripts => cli}/utils/start_live_data_upload.ts (100%) rename packages/elastic-apm-synthtrace/src/{scripts => cli}/utils/synthtrace_worker.ts (100%) rename packages/elastic-apm-synthtrace/src/{scripts => cli}/utils/worker.js (100%) delete mode 100644 packages/kbn-eslint-plugin-eslint/rules/no_restricted_paths.js delete mode 100644 packages/kbn-eslint-plugin-eslint/rules/no_restricted_paths.test.js rename src/plugins/vis_types/timelion/server/series_functions/{helpers => test_helpers}/get_series.js (100%) rename src/plugins/vis_types/timelion/server/series_functions/{helpers => test_helpers}/get_series_list.js (100%) rename src/plugins/vis_types/timelion/server/series_functions/{helpers => test_helpers}/get_single_series_list.js (100%) rename src/plugins/vis_types/timelion/server/series_functions/{helpers => test_helpers}/invoke_series_fn.js (100%) rename x-pack/plugins/rule_registry/server/utils/{lifecycle_alert_services_mock.ts => lifecycle_alert_services.mock.ts} (100%) rename x-pack/plugins/rule_registry/server/utils/{rule_executor_test_utils.ts => rule_executor.test_helpers.ts} (100%) rename x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/{helper.ts => test_helpers.ts} (100%) diff --git a/.eslintrc.js b/.eslintrc.js index 8b3ccafe37f6f5..372ddb85333596 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -585,109 +585,6 @@ module.exports = { }, }, - /** - * Restricted paths - */ - { - files: ['**/*.{js,mjs,ts,tsx}'], - rules: { - '@kbn/eslint/no-restricted-paths': [ - 'error', - { - basePath: __dirname, - zones: [ - { - target: ['(src|x-pack)/**/*', '!src/core/**/*'], - from: ['src/core/utils/**/*'], - errorMessage: `Plugins may only import from src/core/server and src/core/public.`, - }, - { - target: ['(src|x-pack)/plugins/*/server/**/*'], - from: ['(src|x-pack)/plugins/*/public/**/*'], - errorMessage: `Server code can not import from public, use a common directory.`, - }, - { - target: ['(src|x-pack)/plugins/*/common/**/*'], - from: ['(src|x-pack)/plugins/*/(server|public)/**/*'], - errorMessage: `Common code can not import from server or public, use a common directory.`, - }, - { - target: ['(src|x-pack)/plugins/**/(public|server)/**/*', 'examples/**/*'], - from: [ - 'src/core/public/**/*', - '!src/core/public/index.ts', // relative import - '!src/core/public/mocks{,.ts}', - '!src/core/server/types{,.ts}', - '!src/core/public/utils/**/*', - '!src/core/public/*.test.mocks{,.ts}', - - 'src/core/server/**/*', - '!src/core/server/index.ts', // relative import - '!src/core/server/mocks{,.ts}', - '!src/core/server/types{,.ts}', - '!src/core/server/test_utils{,.ts}', - // for absolute imports until fixed in - // https://github.com/elastic/kibana/issues/36096 - '!src/core/server/*.test.mocks{,.ts}', - - 'target/types/**', - ], - allowSameFolder: true, - errorMessage: - 'Plugins may only import from top-level public and server modules in core.', - }, - { - target: [ - '(src|x-pack)/plugins/**/(public|server)/**/*', - 'examples/**/*', - '!(src|x-pack)/**/*.test.*', - '!(x-pack/)?test/**/*', - ], - from: [ - '(src|x-pack)/plugins/**/(public|server)/**/*', - '!(src|x-pack)/plugins/**/(public|server)/mocks/index.{js,mjs,ts}', - '!(src|x-pack)/plugins/**/(public|server)/(index|mocks).{js,mjs,ts,tsx}', - '!(src|x-pack)/plugins/**/__stories__/index.{js,mjs,ts,tsx}', - '!(src|x-pack)/plugins/**/__fixtures__/index.{js,mjs,ts,tsx}', - ], - allowSameFolder: true, - errorMessage: 'Plugins may only import from top-level public and server modules.', - }, - { - target: [ - '(src|x-pack)/plugins/**/*', - '!(src|x-pack)/plugins/**/server/**/*', - - 'examples/**/*', - '!examples/**/server/**/*', - ], - from: [ - 'src/core/server', - 'src/core/server/**/*', - '(src|x-pack)/plugins/*/server/**/*', - 'examples/**/server/**/*', - // TODO: Remove the 'joi' eslint rule once IE11 support is dropped - 'joi', - ], - errorMessage: - 'Server modules cannot be imported into client modules or shared modules.', - }, - { - target: ['src/core/**/*'], - from: ['plugins/**/*', 'src/plugins/**/*'], - errorMessage: 'The core cannot depend on any plugins.', - }, - { - target: ['(src|x-pack)/plugins/*/public/**/*'], - from: ['ui/**/*'], - errorMessage: 'Plugins cannot import legacy UI code.', - }, - ], - }, - ], - }, - }, - /** * Allow default exports */ diff --git a/examples/embeddable_examples/common/book_saved_object_attributes.ts b/examples/embeddable_examples/common/book_saved_object_attributes.ts index 077f54a0a0d086..0ab84e42e3d9f3 100644 --- a/examples/embeddable_examples/common/book_saved_object_attributes.ts +++ b/examples/embeddable_examples/common/book_saved_object_attributes.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { SavedObjectAttributes } from '@kbn/core/types'; +import type { SavedObjectAttributes } from '@kbn/core/types'; export const BOOK_SAVED_OBJECT = 'book'; diff --git a/examples/embeddable_examples/common/todo_saved_object_attributes.ts b/examples/embeddable_examples/common/todo_saved_object_attributes.ts index 3a05e02e523f94..21994add4ed42d 100644 --- a/examples/embeddable_examples/common/todo_saved_object_attributes.ts +++ b/examples/embeddable_examples/common/todo_saved_object_attributes.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { SavedObjectAttributes } from '@kbn/core/types'; +import type { SavedObjectAttributes } from '@kbn/core/types'; export interface TodoSavedObjectAttributes extends SavedObjectAttributes { task: string; diff --git a/examples/field_formats_example/public/app.tsx b/examples/field_formats_example/public/app.tsx index 5eea418687928a..4b9cffeec1862f 100644 --- a/examples/field_formats_example/public/app.tsx +++ b/examples/field_formats_example/public/app.tsx @@ -32,10 +32,8 @@ import example1SampleCode from '!!raw-loader!./examples/1_using_existing_format' import example2SampleCodePart1 from '!!raw-loader!../common/example_currency_format'; // @ts-ignore import example2SampleCodePart2 from '!!raw-loader!./examples/2_creating_custom_formatter'; -/* eslint-disable @kbn/eslint/no-restricted-paths */ // @ts-ignore import example2SampleCodePart3 from '!!raw-loader!../server/examples/2_creating_custom_formatter'; -/* eslint-enable @kbn/eslint/no-restricted-paths */ // @ts-ignore import example3SampleCode from '!!raw-loader!./examples/3_creating_custom_format_editor'; diff --git a/packages/core/config/core-config-server-internal/src/index.ts b/packages/core/config/core-config-server-internal/src/index.ts index cefac583eb2491..360b8998b6a97a 100644 --- a/packages/core/config/core-config-server-internal/src/index.ts +++ b/packages/core/config/core-config-server-internal/src/index.ts @@ -8,4 +8,5 @@ export { coreDeprecationProvider } from './deprecation'; export { ensureValidConfiguration } from './ensure_valid_configuration'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing export { getDeprecationsFor, getDeprecationsForGlobalSettings } from './test_utils'; diff --git a/packages/elastic-apm-synthtrace/src/cli.ts b/packages/elastic-apm-synthtrace/src/cli.ts index efd8309c737e16..ff2689d1769e90 100644 --- a/packages/elastic-apm-synthtrace/src/cli.ts +++ b/packages/elastic-apm-synthtrace/src/cli.ts @@ -6,4 +6,4 @@ * Side Public License, v 1. */ -export { runSynthtrace } from './scripts/run_synthtrace'; +export { runSynthtrace } from './cli/run_synthtrace'; diff --git a/packages/elastic-apm-synthtrace/src/scripts/run_synthtrace.ts b/packages/elastic-apm-synthtrace/src/cli/run_synthtrace.ts similarity index 100% rename from packages/elastic-apm-synthtrace/src/scripts/run_synthtrace.ts rename to packages/elastic-apm-synthtrace/src/cli/run_synthtrace.ts diff --git a/packages/elastic-apm-synthtrace/src/scripts/scenario.ts b/packages/elastic-apm-synthtrace/src/cli/scenario.ts similarity index 100% rename from packages/elastic-apm-synthtrace/src/scripts/scenario.ts rename to packages/elastic-apm-synthtrace/src/cli/scenario.ts diff --git a/packages/elastic-apm-synthtrace/src/scripts/utils/get_common_services.ts b/packages/elastic-apm-synthtrace/src/cli/utils/get_common_services.ts similarity index 100% rename from packages/elastic-apm-synthtrace/src/scripts/utils/get_common_services.ts rename to packages/elastic-apm-synthtrace/src/cli/utils/get_common_services.ts diff --git a/packages/elastic-apm-synthtrace/src/scripts/utils/get_scenario.ts b/packages/elastic-apm-synthtrace/src/cli/utils/get_scenario.ts similarity index 100% rename from packages/elastic-apm-synthtrace/src/scripts/utils/get_scenario.ts rename to packages/elastic-apm-synthtrace/src/cli/utils/get_scenario.ts diff --git a/packages/elastic-apm-synthtrace/src/scripts/utils/interval_to_ms.ts b/packages/elastic-apm-synthtrace/src/cli/utils/interval_to_ms.ts similarity index 100% rename from packages/elastic-apm-synthtrace/src/scripts/utils/interval_to_ms.ts rename to packages/elastic-apm-synthtrace/src/cli/utils/interval_to_ms.ts diff --git a/packages/elastic-apm-synthtrace/src/scripts/utils/parse_run_cli_flags.ts b/packages/elastic-apm-synthtrace/src/cli/utils/parse_run_cli_flags.ts similarity index 100% rename from packages/elastic-apm-synthtrace/src/scripts/utils/parse_run_cli_flags.ts rename to packages/elastic-apm-synthtrace/src/cli/utils/parse_run_cli_flags.ts diff --git a/packages/elastic-apm-synthtrace/src/scripts/utils/start_historical_data_upload.ts b/packages/elastic-apm-synthtrace/src/cli/utils/start_historical_data_upload.ts similarity index 100% rename from packages/elastic-apm-synthtrace/src/scripts/utils/start_historical_data_upload.ts rename to packages/elastic-apm-synthtrace/src/cli/utils/start_historical_data_upload.ts diff --git a/packages/elastic-apm-synthtrace/src/scripts/utils/start_live_data_upload.ts b/packages/elastic-apm-synthtrace/src/cli/utils/start_live_data_upload.ts similarity index 100% rename from packages/elastic-apm-synthtrace/src/scripts/utils/start_live_data_upload.ts rename to packages/elastic-apm-synthtrace/src/cli/utils/start_live_data_upload.ts diff --git a/packages/elastic-apm-synthtrace/src/scripts/utils/synthtrace_worker.ts b/packages/elastic-apm-synthtrace/src/cli/utils/synthtrace_worker.ts similarity index 100% rename from packages/elastic-apm-synthtrace/src/scripts/utils/synthtrace_worker.ts rename to packages/elastic-apm-synthtrace/src/cli/utils/synthtrace_worker.ts diff --git a/packages/elastic-apm-synthtrace/src/scripts/utils/worker.js b/packages/elastic-apm-synthtrace/src/cli/utils/worker.js similarity index 100% rename from packages/elastic-apm-synthtrace/src/scripts/utils/worker.js rename to packages/elastic-apm-synthtrace/src/cli/utils/worker.js diff --git a/packages/elastic-apm-synthtrace/src/scenarios/agent_config.ts b/packages/elastic-apm-synthtrace/src/scenarios/agent_config.ts index 767890ee493b02..79980dc0ab66b9 100644 --- a/packages/elastic-apm-synthtrace/src/scenarios/agent_config.ts +++ b/packages/elastic-apm-synthtrace/src/scenarios/agent_config.ts @@ -7,9 +7,9 @@ */ import { observer, timerange } from '..'; -import { Scenario } from '../scripts/scenario'; -import { getLogger } from '../scripts/utils/get_common_services'; -import { RunOptions } from '../scripts/utils/parse_run_cli_flags'; +import { Scenario } from '../cli/scenario'; +import { getLogger } from '../cli/utils/get_common_services'; +import { RunOptions } from '../cli/utils/parse_run_cli_flags'; import { AgentConfigFields } from '../lib/agent_config/agent_config_fields'; const scenario: Scenario = async (runOptions: RunOptions) => { diff --git a/packages/elastic-apm-synthtrace/src/scenarios/aws_lambda.ts b/packages/elastic-apm-synthtrace/src/scenarios/aws_lambda.ts index daadce1c076e72..60d006b48340ee 100644 --- a/packages/elastic-apm-synthtrace/src/scenarios/aws_lambda.ts +++ b/packages/elastic-apm-synthtrace/src/scenarios/aws_lambda.ts @@ -8,9 +8,9 @@ import { apm, timerange } from '..'; import { ApmFields } from '../lib/apm/apm_fields'; -import { Scenario } from '../scripts/scenario'; -import { getLogger } from '../scripts/utils/get_common_services'; -import { RunOptions } from '../scripts/utils/parse_run_cli_flags'; +import { Scenario } from '../cli/scenario'; +import { getLogger } from '../cli/utils/get_common_services'; +import { RunOptions } from '../cli/utils/parse_run_cli_flags'; const ENVIRONMENT = __filename; diff --git a/packages/elastic-apm-synthtrace/src/scenarios/kibana_stats.ts b/packages/elastic-apm-synthtrace/src/scenarios/kibana_stats.ts index d1ea5675993912..2494fd57d94edc 100644 --- a/packages/elastic-apm-synthtrace/src/scenarios/kibana_stats.ts +++ b/packages/elastic-apm-synthtrace/src/scenarios/kibana_stats.ts @@ -7,9 +7,9 @@ */ import { stackMonitoring, timerange } from '..'; -import { Scenario } from '../scripts/scenario'; -import { getLogger } from '../scripts/utils/get_common_services'; -import { RunOptions } from '../scripts/utils/parse_run_cli_flags'; +import { Scenario } from '../cli/scenario'; +import { getLogger } from '../cli/utils/get_common_services'; +import { RunOptions } from '../cli/utils/parse_run_cli_flags'; import { ApmFields } from '../lib/apm/apm_fields'; const scenario: Scenario = async (runOptions: RunOptions) => { diff --git a/packages/elastic-apm-synthtrace/src/scenarios/low_throughput.ts b/packages/elastic-apm-synthtrace/src/scenarios/low_throughput.ts index d128ea755fd31e..0c4ff32418f9a4 100644 --- a/packages/elastic-apm-synthtrace/src/scenarios/low_throughput.ts +++ b/packages/elastic-apm-synthtrace/src/scenarios/low_throughput.ts @@ -10,9 +10,9 @@ import { random } from 'lodash'; import { apm, timerange } from '..'; import { ApmFields } from '../lib/apm/apm_fields'; import { Instance } from '../lib/apm/instance'; -import { Scenario } from '../scripts/scenario'; -import { getLogger } from '../scripts/utils/get_common_services'; -import { RunOptions } from '../scripts/utils/parse_run_cli_flags'; +import { Scenario } from '../cli/scenario'; +import { getLogger } from '../cli/utils/get_common_services'; +import { RunOptions } from '../cli/utils/parse_run_cli_flags'; const ENVIRONMENT = __filename; diff --git a/packages/elastic-apm-synthtrace/src/scenarios/many_services.ts b/packages/elastic-apm-synthtrace/src/scenarios/many_services.ts index fc671950902a9d..fbc73f58303f14 100644 --- a/packages/elastic-apm-synthtrace/src/scenarios/many_services.ts +++ b/packages/elastic-apm-synthtrace/src/scenarios/many_services.ts @@ -9,9 +9,9 @@ import { random } from 'lodash'; import { apm, timerange } from '..'; import { Instance } from '../lib/apm/instance'; -import { Scenario } from '../scripts/scenario'; -import { getLogger } from '../scripts/utils/get_common_services'; -import { RunOptions } from '../scripts/utils/parse_run_cli_flags'; +import { Scenario } from '../cli/scenario'; +import { getLogger } from '../cli/utils/get_common_services'; +import { RunOptions } from '../cli/utils/parse_run_cli_flags'; import { ApmFields } from '../lib/apm/apm_fields'; const ENVIRONMENT = __filename; diff --git a/packages/elastic-apm-synthtrace/src/scenarios/monitoring.ts b/packages/elastic-apm-synthtrace/src/scenarios/monitoring.ts index 467be4143078d2..acaadfa281bd1a 100644 --- a/packages/elastic-apm-synthtrace/src/scenarios/monitoring.ts +++ b/packages/elastic-apm-synthtrace/src/scenarios/monitoring.ts @@ -9,9 +9,9 @@ // Run with: node ./src/scripts/run ./src/scripts/examples/03_monitoring.ts --target=http://elastic:changeme@localhost:9200 import { stackMonitoring, timerange } from '..'; -import { Scenario } from '../scripts/scenario'; -import { getLogger } from '../scripts/utils/get_common_services'; -import { RunOptions } from '../scripts/utils/parse_run_cli_flags'; +import { Scenario } from '../cli/scenario'; +import { getLogger } from '../cli/utils/get_common_services'; +import { RunOptions } from '../cli/utils/parse_run_cli_flags'; import { StackMonitoringFields } from '../lib/stack_monitoring/stack_monitoring_fields'; const scenario: Scenario = async (runOptions: RunOptions) => { diff --git a/packages/elastic-apm-synthtrace/src/scenarios/simple_trace.ts b/packages/elastic-apm-synthtrace/src/scenarios/simple_trace.ts index 5b5d6ea4bc6348..61b3fdcdba6ca0 100644 --- a/packages/elastic-apm-synthtrace/src/scenarios/simple_trace.ts +++ b/packages/elastic-apm-synthtrace/src/scenarios/simple_trace.ts @@ -9,9 +9,9 @@ import { apm, timerange } from '..'; import { ApmFields } from '../lib/apm/apm_fields'; import { Instance } from '../lib/apm/instance'; -import { Scenario } from '../scripts/scenario'; -import { getLogger } from '../scripts/utils/get_common_services'; -import { RunOptions } from '../scripts/utils/parse_run_cli_flags'; +import { Scenario } from '../cli/scenario'; +import { getLogger } from '../cli/utils/get_common_services'; +import { RunOptions } from '../cli/utils/parse_run_cli_flags'; const ENVIRONMENT = __filename; diff --git a/packages/elastic-apm-synthtrace/src/scenarios/span_links.ts b/packages/elastic-apm-synthtrace/src/scenarios/span_links.ts index eed64c05f975d6..af0cd17f73d42b 100644 --- a/packages/elastic-apm-synthtrace/src/scenarios/span_links.ts +++ b/packages/elastic-apm-synthtrace/src/scenarios/span_links.ts @@ -9,7 +9,7 @@ import { compact, shuffle } from 'lodash'; import { apm, ApmFields, EntityArrayIterable, timerange } from '..'; import { generateLongId, generateShortId } from '../lib/utils/generate_id'; -import { Scenario } from '../scripts/scenario'; +import { Scenario } from '../cli/scenario'; const ENVIRONMENT = __filename; diff --git a/packages/home/sample_data_card/src/index.ts b/packages/home/sample_data_card/src/index.ts index 47bb9696ff87f8..ea52b0fb6525e4 100644 --- a/packages/home/sample_data_card/src/index.ts +++ b/packages/home/sample_data_card/src/index.ts @@ -20,5 +20,6 @@ export { getStoryArgTypes as getSampleDataCardStoryArgTypes, getStoryServices as getSampleDataCardStoryServices, getMockDataSet as getSampleDataCardMockDataSet, + // eslint-disable-next-line @kbn/imports/no_boundary_crossing } from './mocks'; export type { Params as SampleDataCardStorybookParams } from './mocks'; diff --git a/packages/kbn-eslint-config/.eslintrc.js b/packages/kbn-eslint-config/.eslintrc.js index 6ebaf807fcafb4..97100635ac0ee0 100644 --- a/packages/kbn-eslint-config/.eslintrc.js +++ b/packages/kbn-eslint-config/.eslintrc.js @@ -258,5 +258,6 @@ module.exports = { '@kbn/imports/no_unresolvable_imports': 'error', '@kbn/imports/uniform_imports': 'error', '@kbn/imports/no_unused_imports': 'error', + '@kbn/imports/no_boundary_crossing': 'error', }, }; diff --git a/packages/kbn-eslint-plugin-eslint/BUILD.bazel b/packages/kbn-eslint-plugin-eslint/BUILD.bazel index d9966e0a7068b4..a86ec832e6870c 100644 --- a/packages/kbn-eslint-plugin-eslint/BUILD.bazel +++ b/packages/kbn-eslint-plugin-eslint/BUILD.bazel @@ -34,7 +34,6 @@ RUNTIME_DEPS = [ "@npm//dedent", "@npm//eslint", "@npm//eslint-module-utils", - "@npm//micromatch", ] js_library( diff --git a/packages/kbn-eslint-plugin-eslint/README.mdx b/packages/kbn-eslint-plugin-eslint/README.mdx index 3c7eff4620b0aa..0cbe16599f2c64 100644 --- a/packages/kbn-eslint-plugin-eslint/README.mdx +++ b/packages/kbn-eslint-plugin-eslint/README.mdx @@ -83,47 +83,6 @@ Disallows the usage of `this` into class property initializers and enforce to de Disables the usage of a trailing slash in a node module import. -## no-restricted-paths - -Defines a set of import paths valid to be imported for a given group of files. - -``` -module.exports = { - overrides: [ - { - files: ['**/*.{js,mjs,ts,tsx}'], - rules: { - '@kbn/eslint/no-restricted-paths': [ - 'error', - { - basePath: __dirname, - zones: [ - { - target: [ - '(src|x-pack)/plugins/**/(public|server)/**/*', - 'examples/**/*', - '!(src|x-pack)/**/*.test.*', - '!(x-pack/)?test/**/*', - ], - from: [ - '(src|x-pack)/plugins/**/(public|server)/**/*', - '!(src|x-pack)/plugins/**/(public|server)/mocks/index.{js,mjs,ts}', - '!(src|x-pack)/plugins/**/(public|server)/(index|mocks).{js,mjs,ts,tsx}', - '!(src|x-pack)/plugins/**/__stories__/index.{js,mjs,ts,tsx}', - '!(src|x-pack)/plugins/**/__fixtures__/index.{js,mjs,ts,tsx}', - ], - allowSameFolder: true, - errorMessage: 'Plugins may only import from top-level public and server modules.', - }, - ], - }, - ], - }, - } - ] -} -``` - ## require-license-header Requires a given license header text on a group of files. diff --git a/packages/kbn-eslint-plugin-eslint/index.js b/packages/kbn-eslint-plugin-eslint/index.js index 44244f265cd233..f099adedabbbe1 100644 --- a/packages/kbn-eslint-plugin-eslint/index.js +++ b/packages/kbn-eslint-plugin-eslint/index.js @@ -10,7 +10,6 @@ module.exports = { rules: { 'require-license-header': require('./rules/require_license_header'), 'disallow-license-headers': require('./rules/disallow_license_headers'), - 'no-restricted-paths': require('./rules/no_restricted_paths'), module_migration: require('./rules/module_migration'), no_export_all: require('./rules/no_export_all'), no_async_promise_body: require('./rules/no_async_promise_body'), diff --git a/packages/kbn-eslint-plugin-eslint/rules/no_restricted_paths.js b/packages/kbn-eslint-plugin-eslint/rules/no_restricted_paths.js deleted file mode 100644 index 97126995f3b521..00000000000000 --- a/packages/kbn-eslint-plugin-eslint/rules/no_restricted_paths.js +++ /dev/null @@ -1,151 +0,0 @@ -/* eslint-disable-line @kbn/eslint/require-license-header */ -/* - * This product uses import/no-restricted-paths which is available under a - * "MIT" license. - * - * The MIT License (MIT) - * - * Copyright (c) 2015-present, Ben Mosher - * https://github.com/benmosher/eslint-plugin-import - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ -const path = require('path'); -const mm = require('micromatch'); -const { getImportResolver } = require('@kbn/eslint-plugin-imports'); - -function isStaticRequire(node) { - return ( - node && - node.callee && - node.callee.type === 'Identifier' && - node.callee.name === 'require' && - node.arguments.length === 1 && - node.arguments[0].type === 'Literal' && - typeof node.arguments[0].value === 'string' - ); -} - -function traverseToTopFolder(src, pattern) { - while (mm([src], pattern).length > 0) { - const srcIdx = src.lastIndexOf(path.sep); - src = src.slice(0, srcIdx); - } - return src; -} - -function isSameFolderOrDescendent(src, imported, pattern) { - // to allow to exclude file by name in pattern (e.g., !**/index*) we start with file dirname and then traverse - const srcFileFolderRoot = traverseToTopFolder(path.dirname(src), pattern); - const importedFileFolderRoot = traverseToTopFolder(path.dirname(imported), pattern); - - return srcFileFolderRoot === importedFileFolderRoot; -} - -module.exports = { - meta: { - schema: [ - { - type: 'object', - properties: { - zones: { - type: 'array', - minItems: 1, - items: { - type: 'object', - properties: { - target: { - anyOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }], - }, - from: { - anyOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }], - }, - allowSameFolder: { type: 'boolean' }, - errorMessage: { type: 'string' }, - }, - additionalProperties: false, - }, - }, - basePath: { type: 'string' }, - }, - additionalProperties: false, - }, - ], - }, - - create(context) { - const resolver = getImportResolver(context); - - const sourcePath = context.getPhysicalFilename - ? context.getPhysicalFilename() - : context.getFilename(); - const sourceDirname = path.dirname(sourcePath); - - const options = context.options[0] || {}; - const zones = options.zones || []; - const basePath = options.basePath; - if (!basePath || !path.isAbsolute(basePath)) { - throw new Error('basePath option must be specified and must be absolute'); - } - - function checkForRestrictedImportPath(importPath, node) { - const resolveReport = resolver.resolve(importPath, sourceDirname); - - if (resolveReport?.type !== 'file' || resolveReport.nodeModule) { - return; - } - - for (const { target, from, allowSameFolder, errorMessage = '' } of zones) { - const relativeSrcFile = path.relative(basePath, sourcePath); - const relativeImportFile = path.relative(basePath, resolveReport.absolute); - - if ( - !mm([relativeSrcFile], target).length || - !mm([relativeImportFile], from).length || - (allowSameFolder && isSameFolderOrDescendent(relativeSrcFile, relativeImportFile, from)) - ) - continue; - - context.report({ - node, - message: `Unexpected path "${importPath}" imported in restricted zone.${ - errorMessage ? ' ' + errorMessage : '' - }`, - }); - } - } - - return { - ExportNamedDeclaration(node) { - if (!node.source) return; - checkForRestrictedImportPath(node.source.value, node.source); - }, - ImportDeclaration(node) { - checkForRestrictedImportPath(node.source.value, node.source); - }, - CallExpression(node) { - if (isStaticRequire(node)) { - const [firstArgument] = node.arguments; - - checkForRestrictedImportPath(firstArgument.value, firstArgument); - } - }, - }; - }, -}; diff --git a/packages/kbn-eslint-plugin-eslint/rules/no_restricted_paths.test.js b/packages/kbn-eslint-plugin-eslint/rules/no_restricted_paths.test.js deleted file mode 100644 index 306e2c170cdbf5..00000000000000 --- a/packages/kbn-eslint-plugin-eslint/rules/no_restricted_paths.test.js +++ /dev/null @@ -1,400 +0,0 @@ -/* eslint-disable-line @kbn/eslint/require-license-header */ -/* - * This product uses import/no-restricted-paths which is available under a - * "MIT" license. - * - * The MIT License (MIT) - * - * Copyright (c) 2015-present, Ben Mosher - * https://github.com/benmosher/eslint-plugin-import - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -const path = require('path'); -const { RuleTester } = require('eslint'); -const { REPO_ROOT } = require('@kbn/utils'); -const rule = require('./no_restricted_paths'); - -const ruleTester = new RuleTester({ - parser: require.resolve('@babel/eslint-parser'), - parserOptions: { - sourceType: 'module', - ecmaVersion: 2018, - requireConfigFile: false, - }, -}); - -ruleTester.run('@kbn/eslint/no-restricted-paths', rule, { - valid: [ - { - code: 'import a from "../client/a.js"', - filename: path.join(__dirname, './__fixtures__/no_restricted_paths/server/b.js'), - options: [ - { - basePath: __dirname, - zones: [ - { - target: '__fixtures__/no_restricted_paths/server/**/*', - from: '__fixtures__/no_restricted_paths/other/**/*', - }, - ], - }, - ], - }, - { - code: 'const a = require("../client/a.js")', - filename: path.join(__dirname, './__fixtures__/no_restricted_paths/server/b.js'), - options: [ - { - basePath: __dirname, - zones: [ - { - target: '__fixtures__/no_restricted_paths/server/**/*', - from: '__fixtures__/no_restricted_paths/other/**/*', - }, - ], - }, - ], - }, - { - code: 'import b from "../server/b.js"', - filename: path.join(__dirname, './__fixtures__/no_restricted_paths/client/a.js'), - options: [ - { - basePath: __dirname, - zones: [ - { - target: '**/no_restricted_paths/client/**/*', - from: '**/no_restricted_paths/other/**/*', - }, - ], - }, - ], - }, - - // irrelevant function calls - { - code: 'notrequire("../server/b.js")', - options: [ - { - basePath: __dirname, - }, - ], - }, - { - code: 'notrequire("../server/b.js")', - filename: path.join(__dirname, './__fixtures__/no_restricted_paths/client/a.js'), - options: [ - { - basePath: __dirname, - zones: [ - { - target: '__fixtures__/no_restricted_paths/client/**/*', - from: '__fixtures__/no_restricted_paths/server/**/*', - }, - ], - }, - ], - }, - - // no config - { - code: 'require("../server/b.js")', - options: [ - { - basePath: __dirname, - }, - ], - }, - { - code: 'import b from "../server/b.js"', - options: [ - { - basePath: __dirname, - }, - ], - }, - - // builtin (ignore) - { - code: 'require("os")', - options: [ - { - basePath: __dirname, - }, - ], - }, - - { - code: 'const d = require("./deep/d.js")', - filename: path.join(__dirname, './__fixtures__/no_restricted_paths/server/b.js'), - options: [ - { - basePath: __dirname, - zones: [ - { - allowSameFolder: true, - target: '__fixtures__/no_restricted_paths/**/*', - from: '__fixtures__/no_restricted_paths/**/*', - }, - ], - }, - ], - }, - { - code: 'const d = require("./deep/d.js")', - filename: path.join(__dirname, './__fixtures__/no_restricted_paths/server/b.js'), - options: [ - { - basePath: __dirname, - zones: [ - { - allowSameFolder: true, - target: '__fixtures__/no_restricted_paths/**/*', - from: [ - '__fixtures__/no_restricted_paths/**/*', - '!__fixtures__/no_restricted_paths/server/b*', - ], - }, - ], - }, - ], - }, - - { - // Check if dirs that start with 'index' work correctly. - code: 'import { X } from "./index_patterns"', - filename: path.join(__dirname, './__fixtures__/no_restricted_paths/server/b.js'), - options: [ - { - basePath: __dirname, - zones: [ - { - target: ['__fixtures__/no_restricted_paths/(public|server)/**/*'], - from: [ - '__fixtures__/no_restricted_paths/server/**/*', - '!__fixtures__/no_restricted_paths/server/index.{ts,tsx}', - ], - allowSameFolder: true, - }, - ], - }, - ], - }, - ], - - invalid: [ - { - code: 'export { b } from "../server/b.js"', - filename: path.join(__dirname, './__fixtures__/no_restricted_paths/client/a.js'), - options: [ - { - basePath: __dirname, - zones: [ - { - target: '__fixtures__/no_restricted_paths/client/**/*', - from: '__fixtures__/no_restricted_paths/server/**/*', - }, - ], - }, - ], - errors: [ - { - message: 'Unexpected path "../server/b.js" imported in restricted zone.', - line: 1, - column: 19, - }, - ], - }, - { - code: 'import b from "../server/b.js"', - filename: path.join(__dirname, './__fixtures__/no_restricted_paths/client/a.js'), - options: [ - { - basePath: __dirname, - zones: [ - { - target: '__fixtures__/no_restricted_paths/client/**/*', - from: '__fixtures__/no_restricted_paths/server/**/*', - }, - ], - }, - ], - errors: [ - { - message: 'Unexpected path "../server/b.js" imported in restricted zone.', - line: 1, - column: 15, - }, - ], - }, - { - code: 'import a from "../client/a"\nimport c from "./c"', - filename: path.join(__dirname, './__fixtures__/no_restricted_paths/server/b.js'), - options: [ - { - basePath: __dirname, - zones: [ - { - target: '__fixtures__/no_restricted_paths/server/**/*', - from: '__fixtures__/no_restricted_paths/client/**/*', - }, - { - target: '__fixtures__/no_restricted_paths/server/**/*', - from: '__fixtures__/no_restricted_paths/server/c.js', - }, - ], - }, - ], - errors: [ - { - message: 'Unexpected path "../client/a" imported in restricted zone.', - line: 1, - column: 15, - }, - { - message: 'Unexpected path "./c" imported in restricted zone.', - line: 2, - column: 15, - }, - ], - }, - { - code: 'const b = require("../server/b.js")', - filename: path.join(__dirname, './__fixtures__/no_restricted_paths/client/a.js'), - options: [ - { - basePath: __dirname, - zones: [ - { - target: '**/no_restricted_paths/client/**/*', - from: '**/no_restricted_paths/server/**/*', - }, - ], - }, - ], - errors: [ - { - message: 'Unexpected path "../server/b.js" imported in restricted zone.', - line: 1, - column: 19, - }, - ], - }, - { - code: 'const b = require("../server/b.js")', - filename: path.join(__dirname, './__fixtures__/no_restricted_paths/client/a.js'), - options: [ - { - basePath: path.join(__dirname, '__fixtures__', 'no_restricted_paths'), - zones: [ - { - target: 'client/**/*', - from: 'server/**/*', - }, - ], - }, - ], - errors: [ - { - message: 'Unexpected path "../server/b.js" imported in restricted zone.', - line: 1, - column: 19, - }, - ], - }, - - { - code: 'const d = require("./deep/d.js")', - filename: path.join(__dirname, './__fixtures__/no_restricted_paths/server/b.js'), - options: [ - { - basePath: __dirname, - zones: [ - { - target: '__fixtures__/no_restricted_paths/**/*', - from: '__fixtures__/no_restricted_paths/**/*', - }, - ], - }, - ], - errors: [ - { - message: 'Unexpected path "./deep/d.js" imported in restricted zone.', - line: 1, - column: 19, - }, - ], - }, - - { - // Does not allow to import deeply within Core, using "src/core/..." Webpack alias. - code: 'const d = require("src/core/server/saved_objects")', - filename: path.join(REPO_ROOT, './__fixtures__/no_restricted_paths/client/a.js'), - options: [ - { - basePath: REPO_ROOT, - zones: [ - { - target: '__fixtures__/no_restricted_paths/**/*', - from: 'src/core/server/**/*', - }, - ], - }, - ], - errors: [ - { - message: 'Unexpected path "src/core/server/saved_objects" imported in restricted zone.', - line: 1, - column: 19, - }, - ], - }, - - { - // Don't use index*. - // It won't work with dirs that start with 'index'. - code: 'import { X } from "./index_patterns"', - filename: path.join(__dirname, './__fixtures__/no_restricted_paths/server/b.js'), - options: [ - { - basePath: __dirname, - zones: [ - { - target: ['__fixtures__/no_restricted_paths/(public|server)/**/*'], - from: [ - '__fixtures__/no_restricted_paths/server/**/*', - '!__fixtures__/no_restricted_paths/server/index*', - ], - allowSameFolder: true, - }, - ], - }, - ], - errors: [ - { - message: 'Unexpected path "./index_patterns" imported in restricted zone.', - line: 1, - column: 19, - }, - ], - }, - ], -}); diff --git a/packages/kbn-repo-source-classifier/src/repo_source_classifier.ts b/packages/kbn-repo-source-classifier/src/repo_source_classifier.ts index 745ca523851661..f3aecbb49d246c 100644 --- a/packages/kbn-repo-source-classifier/src/repo_source_classifier.ts +++ b/packages/kbn-repo-source-classifier/src/repo_source_classifier.ts @@ -97,7 +97,10 @@ export class RepoSourceClassifier { } const subRoot = dirs.slice(0, 2).join('/'); - if (subRoot === 'functions/external' || subRoot === 'functions/server') { + if (subRoot === 'functions/external') { + return 'common package'; + } + if (subRoot === 'functions/server') { return 'server package'; } diff --git a/packages/kbn-securitysolution-io-ts-utils/src/index.ts b/packages/kbn-securitysolution-io-ts-utils/src/index.ts index 8082574296e3f0..8c487a9d850970 100644 --- a/packages/kbn-securitysolution-io-ts-utils/src/index.ts +++ b/packages/kbn-securitysolution-io-ts-utils/src/index.ts @@ -10,5 +10,6 @@ export * from './format_errors'; export * from './parse_schedule_dates'; export * from './exact_check'; export * from './format_errors'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing export * from './test_utils'; export * from './validate'; diff --git a/packages/kbn-securitysolution-t-grid/src/index.ts b/packages/kbn-securitysolution-t-grid/src/index.ts index 0c2e9a7dbea8bf..2e33981c0040cf 100644 --- a/packages/kbn-securitysolution-t-grid/src/index.ts +++ b/packages/kbn-securitysolution-t-grid/src/index.ts @@ -8,4 +8,5 @@ export * from './constants'; export * from './utils'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing export * from './mock'; diff --git a/packages/kbn-shared-ux-services/src/services/index.ts b/packages/kbn-shared-ux-services/src/services/index.ts index d6b9ec16cdc37e..0e4e4e473028df 100644 --- a/packages/kbn-shared-ux-services/src/services/index.ts +++ b/packages/kbn-shared-ux-services/src/services/index.ts @@ -15,5 +15,7 @@ export type { SharedUxPlatformService } from './platform'; export type { SharedUxDataService } from './data'; export type { MockServicesFactoryParams } from './mock'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing export { mockServicesFactory, mockServiceFactories } from './mock'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing export { stubServicesFactory, stubServiceFactories } from './stub'; diff --git a/src/core/public/plugins/plugin.ts b/src/core/public/plugins/plugin.ts index 8e24573bd741c4..8abab5081e55c1 100644 --- a/src/core/public/plugins/plugin.ts +++ b/src/core/public/plugins/plugin.ts @@ -7,7 +7,7 @@ */ import { firstValueFrom, Subject } from 'rxjs'; -import { DiscoveredPlugin, PluginOpaqueId } from '../../server'; +import type { DiscoveredPlugin, PluginOpaqueId } from '../../server'; import { PluginInitializerContext } from './plugin_context'; import { read } from './plugin_reader'; import { CoreStart, CoreSetup } from '..'; diff --git a/src/core/public/plugins/plugin_context.ts b/src/core/public/plugins/plugin_context.ts index 13695b2310f507..e3516ce5da787a 100644 --- a/src/core/public/plugins/plugin_context.ts +++ b/src/core/public/plugins/plugin_context.ts @@ -8,8 +8,8 @@ import { omit } from 'lodash'; import type { CoreContext } from '@kbn/core-base-browser-internal'; -import { DiscoveredPlugin } from '../../server'; -import { PluginOpaqueId, PackageInfo, EnvironmentMode } from '../../server/types'; +import type { DiscoveredPlugin } from '../../server'; +import type { PluginOpaqueId, PackageInfo, EnvironmentMode } from '../../server/types'; import { PluginWrapper } from './plugin'; import { PluginsServiceSetupDeps, PluginsServiceStartDeps } from './plugins_service'; import { CoreSetup, CoreStart } from '..'; diff --git a/src/dev/build/tasks/install_chromium.js b/src/dev/build/tasks/install_chromium.js index cb7a9e2075553e..542b36086d3ffc 100644 --- a/src/dev/build/tasks/install_chromium.js +++ b/src/dev/build/tasks/install_chromium.js @@ -6,7 +6,6 @@ * Side Public License, v 1. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { install, paths } from '@kbn/screenshotting-plugin/server/utils'; export const InstallChromium = { diff --git a/src/plugins/chart_expressions/expression_gauge/common/types/expression_functions.ts b/src/plugins/chart_expressions/expression_gauge/common/types/expression_functions.ts index 7d06b275f6b47a..ed1098ea96ad89 100644 --- a/src/plugins/chart_expressions/expression_gauge/common/types/expression_functions.ts +++ b/src/plugins/chart_expressions/expression_gauge/common/types/expression_functions.ts @@ -13,7 +13,7 @@ import { ExpressionFunctionDefinition, ExpressionValueRender, } from '@kbn/expressions-plugin/common'; -import { ExpressionValueVisDimension } from '@kbn/visualizations-plugin/public'; +import { ExpressionValueVisDimension } from '@kbn/visualizations-plugin/common'; import { CustomPaletteState } from '@kbn/charts-plugin/common'; import { EXPRESSION_GAUGE_NAME, diff --git a/src/plugins/chart_expressions/expression_gauge/public/expression_renderers/gauge_renderer.tsx b/src/plugins/chart_expressions/expression_gauge/public/expression_renderers/gauge_renderer.tsx index 5485fb873b902e..bdaa7f878fd6e1 100644 --- a/src/plugins/chart_expressions/expression_gauge/public/expression_renderers/gauge_renderer.tsx +++ b/src/plugins/chart_expressions/expression_gauge/public/expression_renderers/gauge_renderer.tsx @@ -16,6 +16,7 @@ import { METRIC_TYPE } from '@kbn/analytics'; import { ExpressionGaugePluginStart } from '../plugin'; import { EXPRESSION_GAUGE_NAME, GaugeExpressionProps, GaugeShapes } from '../../common'; import { getFormatService, getPaletteService } from '../services'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { extractContainerType, extractVisualizationType } from '../../../common'; interface ExpressionGaugeRendererDependencies { diff --git a/src/plugins/chart_expressions/expression_gauge/server/plugin.ts b/src/plugins/chart_expressions/expression_gauge/server/plugin.ts index 7b6cd1abb4d39f..f88de5e0c8c701 100644 --- a/src/plugins/chart_expressions/expression_gauge/server/plugin.ts +++ b/src/plugins/chart_expressions/expression_gauge/server/plugin.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; +import { CoreSetup, CoreStart, Plugin } from '@kbn/core/server'; import { ExpressionsServerStart, ExpressionsServerSetup } from '@kbn/expressions-plugin/server'; import { gaugeFunction } from '../common'; diff --git a/src/plugins/chart_expressions/expression_heatmap/common/types/expression_functions.ts b/src/plugins/chart_expressions/expression_heatmap/common/types/expression_functions.ts index c36f6f959c88ea..50be8b847bd6bf 100644 --- a/src/plugins/chart_expressions/expression_heatmap/common/types/expression_functions.ts +++ b/src/plugins/chart_expressions/expression_heatmap/common/types/expression_functions.ts @@ -15,7 +15,7 @@ import { import { ExpressionValueVisDimension } from '@kbn/visualizations-plugin/common'; import { CustomPaletteState } from '@kbn/charts-plugin/common'; -import { LegendSize } from '@kbn/visualizations-plugin/public'; +import type { LegendSize } from '@kbn/visualizations-plugin/public'; import { EXPRESSION_HEATMAP_NAME, EXPRESSION_HEATMAP_LEGEND_NAME, diff --git a/src/plugins/chart_expressions/expression_heatmap/public/expression_renderers/heatmap_renderer.tsx b/src/plugins/chart_expressions/expression_heatmap/public/expression_renderers/heatmap_renderer.tsx index 1bd786409350a9..b0801c89031e25 100644 --- a/src/plugins/chart_expressions/expression_heatmap/public/expression_renderers/heatmap_renderer.tsx +++ b/src/plugins/chart_expressions/expression_heatmap/public/expression_renderers/heatmap_renderer.tsx @@ -27,6 +27,7 @@ import { getUISettings, } from '../services'; import { getTimeZone } from '../utils/get_timezone'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { extractContainerType, extractVisualizationType } from '../../../common'; interface ExpressioHeatmapRendererDependencies { diff --git a/src/plugins/chart_expressions/expression_heatmap/server/plugin.ts b/src/plugins/chart_expressions/expression_heatmap/server/plugin.ts index 1f5597621341d3..2b96275ff3cf2e 100644 --- a/src/plugins/chart_expressions/expression_heatmap/server/plugin.ts +++ b/src/plugins/chart_expressions/expression_heatmap/server/plugin.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; +import { CoreSetup, CoreStart, Plugin } from '@kbn/core/server'; import { ExpressionsServerStart, ExpressionsServerSetup } from '@kbn/expressions-plugin/server'; import { heatmapFunction, heatmapLegendConfig, heatmapGridConfig } from '../common'; diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/expression_renderers/metric_vis_renderer.tsx b/src/plugins/chart_expressions/expression_legacy_metric/public/expression_renderers/metric_vis_renderer.tsx index 46e304a3dcccaa..798bc62938ca1a 100644 --- a/src/plugins/chart_expressions/expression_legacy_metric/public/expression_renderers/metric_vis_renderer.tsx +++ b/src/plugins/chart_expressions/expression_legacy_metric/public/expression_renderers/metric_vis_renderer.tsx @@ -23,6 +23,7 @@ import { Datatable } from '@kbn/expressions-plugin/common'; import { StartServicesGetter } from '@kbn/kibana-utils-plugin/public'; import { ExpressionLegacyMetricPluginStart } from '../plugin'; import { EXPRESSION_METRIC_NAME, MetricVisRenderConfig, VisParams } from '../../common'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { extractContainerType, extractVisualizationType } from '../../../common'; // @ts-ignore diff --git a/src/plugins/chart_expressions/expression_legacy_metric/server/plugin.ts b/src/plugins/chart_expressions/expression_legacy_metric/server/plugin.ts index 6c3b224d350788..c027ab506a8759 100644 --- a/src/plugins/chart_expressions/expression_legacy_metric/server/plugin.ts +++ b/src/plugins/chart_expressions/expression_legacy_metric/server/plugin.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; +import { CoreSetup, CoreStart, Plugin } from '@kbn/core/server'; import { ExpressionsServerStart, ExpressionsServerSetup } from '@kbn/expressions-plugin/server'; import { metricVisFunction } from '../common'; diff --git a/src/plugins/chart_expressions/expression_metric/public/expression_renderers/metric_vis_renderer.tsx b/src/plugins/chart_expressions/expression_metric/public/expression_renderers/metric_vis_renderer.tsx index 19b47d57a06a41..3979f2f563af29 100644 --- a/src/plugins/chart_expressions/expression_metric/public/expression_renderers/metric_vis_renderer.tsx +++ b/src/plugins/chart_expressions/expression_metric/public/expression_renderers/metric_vis_renderer.tsx @@ -18,6 +18,7 @@ import type { IInterpreterRenderHandlers, Datatable } from '@kbn/expressions-plu import { getColumnByAccessor } from '@kbn/visualizations-plugin/common/utils'; import { ExpressionMetricPluginStart } from '../plugin'; import { EXPRESSION_METRIC_NAME, MetricVisRenderConfig, VisParams } from '../../common'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { extractContainerType, extractVisualizationType } from '../../../common'; async function metricFilterable( diff --git a/src/plugins/chart_expressions/expression_metric/server/plugin.ts b/src/plugins/chart_expressions/expression_metric/server/plugin.ts index aeead69b806f25..bfaa92643f351d 100644 --- a/src/plugins/chart_expressions/expression_metric/server/plugin.ts +++ b/src/plugins/chart_expressions/expression_metric/server/plugin.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; +import { CoreSetup, CoreStart, Plugin } from '@kbn/core/server'; import { ExpressionsServerStart, ExpressionsServerSetup } from '@kbn/expressions-plugin/server'; import { metricVisFunction } from '../common'; diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/types/expression_renderers.ts b/src/plugins/chart_expressions/expression_partition_vis/common/types/expression_renderers.ts index 93f93659875530..2f436de90e138e 100644 --- a/src/plugins/chart_expressions/expression_partition_vis/common/types/expression_renderers.ts +++ b/src/plugins/chart_expressions/expression_partition_vis/common/types/expression_renderers.ts @@ -11,7 +11,7 @@ import type { PaletteOutput } from '@kbn/coloring'; import { Datatable, DatatableColumn } from '@kbn/expressions-plugin/common'; import { SerializedFieldFormat } from '@kbn/field-formats-plugin/common'; import { ExpressionValueVisDimension } from '@kbn/visualizations-plugin/common'; -import { LegendSize } from '@kbn/visualizations-plugin/public'; +import type { LegendSize } from '@kbn/visualizations-plugin/public'; import { ChartTypes, ExpressionValuePartitionLabels } from './expression_functions'; export enum EmptySizeRatios { diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/theme.ts b/src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/theme.ts index 7cf5674b1b9344..3424f4c95a7a1f 100644 --- a/src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/theme.ts +++ b/src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/theme.ts @@ -6,7 +6,6 @@ * Side Public License, v 1. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { ThemeService } from '@kbn/charts-plugin/public/services'; import { uiSettings } from './ui_settings'; diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/expression_renderers/partition_vis_renderer.tsx b/src/plugins/chart_expressions/expression_partition_vis/public/expression_renderers/partition_vis_renderer.tsx index 9a02bd9a3c3736..546b70d98c6eb4 100644 --- a/src/plugins/chart_expressions/expression_partition_vis/public/expression_renderers/partition_vis_renderer.tsx +++ b/src/plugins/chart_expressions/expression_partition_vis/public/expression_renderers/partition_vis_renderer.tsx @@ -19,6 +19,7 @@ import { METRIC_TYPE } from '@kbn/analytics'; import { VisTypePieDependencies } from '../plugin'; import { PARTITION_VIS_RENDERER_NAME } from '../../common/constants'; import { ChartTypes, RenderValue } from '../../common/types'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { extractContainerType, extractVisualizationType } from '../../../common'; export const strings = { diff --git a/src/plugins/chart_expressions/expression_tagcloud/common/types/expression_renderers.ts b/src/plugins/chart_expressions/expression_tagcloud/common/types/expression_renderers.ts index c7d6d773f001a2..5cc53c3adca187 100644 --- a/src/plugins/chart_expressions/expression_tagcloud/common/types/expression_renderers.ts +++ b/src/plugins/chart_expressions/expression_tagcloud/common/types/expression_renderers.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { ChartsPluginSetup } from '@kbn/charts-plugin/public'; +import type { ChartsPluginSetup } from '@kbn/charts-plugin/public'; export interface TagCloudTypeProps { palettes: ChartsPluginSetup['palettes']; diff --git a/src/plugins/chart_expressions/expression_tagcloud/public/expression_renderers/tagcloud_renderer.tsx b/src/plugins/chart_expressions/expression_tagcloud/public/expression_renderers/tagcloud_renderer.tsx index 3fb5436d3fa535..6553fdfd3f63e3 100644 --- a/src/plugins/chart_expressions/expression_tagcloud/public/expression_renderers/tagcloud_renderer.tsx +++ b/src/plugins/chart_expressions/expression_tagcloud/public/expression_renderers/tagcloud_renderer.tsx @@ -18,6 +18,7 @@ import { METRIC_TYPE } from '@kbn/analytics'; import { ExpressionTagcloudRendererDependencies } from '../plugin'; import { TagcloudRendererConfig } from '../../common/types'; import { EXPRESSION_NAME } from '../../common'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { extractContainerType, extractVisualizationType } from '../../../common'; export const strings = { diff --git a/src/plugins/chart_expressions/expression_tagcloud/server/plugin.ts b/src/plugins/chart_expressions/expression_tagcloud/server/plugin.ts index 78a581d135c612..40c0b7ea1d3154 100644 --- a/src/plugins/chart_expressions/expression_tagcloud/server/plugin.ts +++ b/src/plugins/chart_expressions/expression_tagcloud/server/plugin.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; +import { CoreSetup, CoreStart, Plugin } from '@kbn/core/server'; import { ExpressionsServerStart, ExpressionsServerSetup } from '@kbn/expressions-plugin/server'; import { tagcloudFunction } from '../common/expression_functions'; diff --git a/src/plugins/chart_expressions/expression_xy/common/types/expression_functions.ts b/src/plugins/chart_expressions/expression_xy/common/types/expression_functions.ts index 068f49a7f16941..12727973ea4eda 100644 --- a/src/plugins/chart_expressions/expression_xy/common/types/expression_functions.ts +++ b/src/plugins/chart_expressions/expression_xy/common/types/expression_functions.ts @@ -10,7 +10,7 @@ import { HorizontalAlignment, Position, VerticalAlignment } from '@elastic/chart import { $Values } from '@kbn/utility-types'; import type { PaletteOutput } from '@kbn/coloring'; import { Datatable, ExpressionFunctionDefinition } from '@kbn/expressions-plugin/common'; -import { LegendSize } from '@kbn/visualizations-plugin/public'; +import { LegendSize } from '@kbn/visualizations-plugin/common'; import { EventAnnotationOutput } from '@kbn/event-annotation-plugin/common'; import { ExpressionValueVisDimension } from '@kbn/visualizations-plugin/common'; diff --git a/src/plugins/chart_expressions/expression_xy/public/expression_renderers/xy_chart_renderer.tsx b/src/plugins/chart_expressions/expression_xy/public/expression_renderers/xy_chart_renderer.tsx index 619a63f9b02fc0..e1b5512dbebffd 100644 --- a/src/plugins/chart_expressions/expression_xy/public/expression_renderers/xy_chart_renderer.tsx +++ b/src/plugins/chart_expressions/expression_xy/public/expression_renderers/xy_chart_renderer.tsx @@ -24,6 +24,7 @@ import { isDataLayer } from '../../common/utils/layer_types_guards'; import { LayerTypes, SeriesTypes } from '../../common/constants'; import type { CommonXYLayerConfig, XYChartProps } from '../../common'; import type { BrushEvent, FilterEvent } from '../types'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { extractContainerType, extractVisualizationType } from '../../../common'; export type GetStartDepsFn = () => Promise<{ diff --git a/src/plugins/controls/public/services/index.ts b/src/plugins/controls/public/services/index.ts index 96cc2869ad603d..1334899b705918 100644 --- a/src/plugins/controls/public/services/index.ts +++ b/src/plugins/controls/public/services/index.ts @@ -9,6 +9,7 @@ import { PluginServices } from '@kbn/presentation-util-plugin/public'; import { ControlsDataViewsService } from './data_views'; import { ControlsOverlaysService } from './overlays'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { registry as stubRegistry } from './stub'; import { ControlsPluginStart } from '../types'; import { ControlsDataService } from './data'; diff --git a/src/plugins/dashboard/common/bwc/types.ts b/src/plugins/dashboard/common/bwc/types.ts index 111e2c52f74bf0..5a7d30dd085df1 100644 --- a/src/plugins/dashboard/common/bwc/types.ts +++ b/src/plugins/dashboard/common/bwc/types.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { SavedObjectReference } from '@kbn/core/public'; +import type { SavedObjectReference } from '@kbn/core/public'; import type { Serializable } from '@kbn/utility-types'; import { GridData } from '..'; diff --git a/src/plugins/dashboard/public/services/home.ts b/src/plugins/dashboard/public/services/home.ts index ee26c3cd9c4bcb..07c1af09356585 100644 --- a/src/plugins/dashboard/public/services/home.ts +++ b/src/plugins/dashboard/public/services/home.ts @@ -7,4 +7,4 @@ */ export type { HomePublicPluginSetup } from '@kbn/home-plugin/public'; -export { FeatureCatalogueCategory } from '@kbn/home-plugin/public'; +export type { FeatureCatalogueCategory } from '@kbn/home-plugin/public'; diff --git a/src/plugins/data/common/search/aggs/agg_config.ts b/src/plugins/data/common/search/aggs/agg_config.ts index 5c13747b238c75..a804a63ab2eb07 100644 --- a/src/plugins/data/common/search/aggs/agg_config.ts +++ b/src/plugins/data/common/search/aggs/agg_config.ts @@ -15,8 +15,7 @@ import { Assign, Ensure } from '@kbn/utility-types'; import { ExpressionAstExpression, ExpressionAstArgument } from '@kbn/expressions-plugin/common'; import type { SerializedFieldFormat } from '@kbn/field-formats-plugin/common'; import { FieldFormatParams } from '@kbn/field-formats-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ISearchOptions, ISearchSource } from '../../../public'; +import type { ISearchOptions, ISearchSource } from '../../../public'; import { IAggType } from './agg_type'; import { writeParams } from './agg_params'; diff --git a/src/plugins/data/common/search/aggs/agg_configs.ts b/src/plugins/data/common/search/aggs/agg_configs.ts index 7d1b6e7b03cada..c61ca69e0c6df5 100644 --- a/src/plugins/data/common/search/aggs/agg_configs.ts +++ b/src/plugins/data/common/search/aggs/agg_configs.ts @@ -16,12 +16,7 @@ import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import type { IndexPatternLoadExpressionFunctionDefinition } from '@kbn/data-views-plugin/common'; import { buildExpression, buildExpressionFunction } from '@kbn/expressions-plugin/common'; -import type { - IEsSearchResponse, - ISearchOptions, - ISearchSource, - // eslint-disable-next-line @kbn/eslint/no-restricted-paths -} from '../../../public'; +import type { IEsSearchResponse, ISearchOptions, ISearchSource } from '../../../public'; import type { EsaggsExpressionFunctionDefinition } from '../expressions'; import { AggConfig, AggConfigSerialized, IAggConfig } from './agg_config'; import type { IAggType } from './agg_type'; diff --git a/src/plugins/data/common/search/aggs/agg_type.ts b/src/plugins/data/common/search/aggs/agg_type.ts index 22055587eb7e8d..8d01377ddf8083 100644 --- a/src/plugins/data/common/search/aggs/agg_type.ts +++ b/src/plugins/data/common/search/aggs/agg_type.ts @@ -15,8 +15,7 @@ import type { SerializedFieldFormat } from '@kbn/field-formats-plugin/common'; import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import { FieldFormatParams } from '@kbn/field-formats-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ISearchSource } from '../../../public'; +import type { ISearchSource } from '../../../public'; import { initParams } from './agg_params'; import { AggConfig } from './agg_config'; import { IAggConfigs } from './agg_configs'; diff --git a/src/plugins/data/common/search/aggs/buckets/histogram.ts b/src/plugins/data/common/search/aggs/buckets/histogram.ts index 5231bbbb91b10a..e2cef6b0783208 100644 --- a/src/plugins/data/common/search/aggs/buckets/histogram.ts +++ b/src/plugins/data/common/search/aggs/buckets/histogram.ts @@ -8,7 +8,7 @@ import { get } from 'lodash'; import { i18n } from '@kbn/i18n'; -import { IUiSettingsClient } from '@kbn/core/public'; +import type { IUiSettingsClient } from '@kbn/core/public'; import { KBN_FIELD_TYPES, UI_SETTINGS } from '../../..'; diff --git a/src/plugins/data/common/search/aggs/param_types/base.ts b/src/plugins/data/common/search/aggs/param_types/base.ts index 8f5c660532df45..7f974de39bdb5f 100644 --- a/src/plugins/data/common/search/aggs/param_types/base.ts +++ b/src/plugins/data/common/search/aggs/param_types/base.ts @@ -7,8 +7,7 @@ */ import { ExpressionAstExpression } from '@kbn/expressions-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ISearchOptions, ISearchSource } from '../../../../public'; +import type { ISearchOptions, ISearchSource } from '../../../../public'; import { IAggConfigs } from '../agg_configs'; import { IAggConfig } from '../agg_config'; diff --git a/src/plugins/data/common/search/expressions/essql.ts b/src/plugins/data/common/search/expressions/essql.ts index 398b92de490d81..6349b76d8d6873 100644 --- a/src/plugins/data/common/search/expressions/essql.ts +++ b/src/plugins/data/common/search/expressions/essql.ts @@ -6,7 +6,6 @@ * Side Public License, v 1. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { KibanaRequest } from '@kbn/core/server'; import { buildEsQuery } from '@kbn/es-query'; import { castEsToKbnFieldTypeName, ES_FIELD_TYPES, KBN_FIELD_TYPES } from '@kbn/field-types'; @@ -21,7 +20,6 @@ import { RequestAdapter } from '@kbn/inspector-plugin/common'; import { zipObject } from 'lodash'; import { Observable, defer, throwError } from 'rxjs'; import { catchError, map, switchMap, tap } from 'rxjs/operators'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { NowProviderPublicContract } from '../../../public'; import { getEsQueryConfig } from '../../es_query'; import { getTime } from '../../query'; diff --git a/src/plugins/data/common/search/search_source/inspect/inspector_stats.ts b/src/plugins/data/common/search/search_source/inspect/inspector_stats.ts index 4d4f6d4b04f3bd..359a0e9d32d6e4 100644 --- a/src/plugins/data/common/search/search_source/inspect/inspector_stats.ts +++ b/src/plugins/data/common/search/search_source/inspect/inspector_stats.ts @@ -16,7 +16,6 @@ import { i18n } from '@kbn/i18n'; import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import type { RequestStatistics } from '@kbn/inspector-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { ISearchSource } from '../../../../public'; /** @public */ diff --git a/src/plugins/data/common/search/search_source/types.ts b/src/plugins/data/common/search/search_source/types.ts index 3cee6355ccbfac..e1ed574cda4357 100644 --- a/src/plugins/data/common/search/search_source/types.ts +++ b/src/plugins/data/common/search/search_source/types.ts @@ -12,8 +12,7 @@ import { SerializableRecord } from '@kbn/utility-types'; import { PersistableStateService } from '@kbn/kibana-utils-plugin/common'; import type { Filter } from '@kbn/es-query'; import type { DataView, DataViewSpec } from '@kbn/data-views-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { AggConfigSerialized, IAggConfigs } from '../../../public'; +import type { AggConfigSerialized, IAggConfigs } from '../../../public'; import type { SearchSource } from './search_source'; /** diff --git a/src/plugins/data/public/search/fetch/handle_response.test.ts b/src/plugins/data/public/search/fetch/handle_response.test.ts index cd71f572c27dfc..30fdd673948739 100644 --- a/src/plugins/data/public/search/fetch/handle_response.test.ts +++ b/src/plugins/data/public/search/fetch/handle_response.test.ts @@ -9,7 +9,6 @@ import { handleResponse } from './handle_response'; // Temporary disable eslint, will be removed after moving to new platform folder -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { notificationServiceMock } from '@kbn/core/public/notifications/notifications_service.mock'; import { setNotifications } from '../../services'; import { IKibanaSearchResponse } from '../../../common'; diff --git a/src/plugins/data/public/search/session/sessions_client.ts b/src/plugins/data/public/search/session/sessions_client.ts index f05f7b794763ef..12fd424e57dd82 100644 --- a/src/plugins/data/public/search/session/sessions_client.ts +++ b/src/plugins/data/public/search/session/sessions_client.ts @@ -13,7 +13,6 @@ import type { SavedObjectsFindResponse, SavedObjectsUpdateResponse, SavedObjectsFindOptions, - // eslint-disable-next-line @kbn/eslint/no-restricted-paths } from '@kbn/core/server'; import type { SearchSessionSavedObjectAttributes } from '../../../common'; export type SearchSessionSavedObject = SavedObject; diff --git a/src/plugins/data/public/search/session/sessions_mgmt/lib/api.test.ts b/src/plugins/data/public/search/session/sessions_mgmt/lib/api.test.ts index fdc67886f7c006..29a925d066905c 100644 --- a/src/plugins/data/public/search/session/sessions_mgmt/lib/api.test.ts +++ b/src/plugins/data/public/search/session/sessions_mgmt/lib/api.test.ts @@ -10,7 +10,6 @@ import type { MockedKeys } from '@kbn/utility-types-jest'; import { CoreSetup, CoreStart } from '@kbn/core/public'; import moment from 'moment'; import { coreMock } from '@kbn/core/public/mocks'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { SavedObjectsFindResponse } from '@kbn/core/server'; import { SessionsClient } from '../../..'; import { SearchSessionStatus } from '../../../../../common'; diff --git a/src/plugins/data/public/search/types.ts b/src/plugins/data/public/search/types.ts index ecf3a0e453e893..2ad2262abe680a 100644 --- a/src/plugins/data/public/search/types.ts +++ b/src/plugins/data/public/search/types.ts @@ -6,8 +6,7 @@ * Side Public License, v 1. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { PackageInfo } from '@kbn/core/server'; +import type { PackageInfo } from '@kbn/core/server'; import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/public'; import { DataViewsContract } from '@kbn/data-views-plugin/common'; import { SearchUsageCollector } from './collectors'; diff --git a/src/plugins/data/public/stubs.ts b/src/plugins/data/public/stubs.ts index e98f2ac08acbb6..9076f9ae580f30 100644 --- a/src/plugins/data/public/stubs.ts +++ b/src/plugins/data/public/stubs.ts @@ -7,5 +7,4 @@ */ export * from '../common/stubs'; -// eslint-disable-next-line @kbn/imports/uniform_imports,@kbn/eslint/no-restricted-paths -export { createStubDataView } from '../../data_views/public/data_views/data_view.stub'; +export { createStubDataView } from '@kbn/data-views-plugin/public/data_views/data_view.stub'; diff --git a/src/plugins/data/server/search/search_service.test.ts b/src/plugins/data/server/search/search_service.test.ts index b0748c0aa93477..56733b6871ec80 100644 --- a/src/plugins/data/server/search/search_service.test.ts +++ b/src/plugins/data/server/search/search_service.test.ts @@ -26,7 +26,6 @@ import type { ISearchStrategy, } from '.'; import { NoSearchIdInSessionError } from '.'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { expressionsPluginMock } from '@kbn/expressions-plugin/public/mocks'; import { createSearchSessionsClientMock } from './mocks'; import { ENHANCED_ES_SEARCH_STRATEGY } from '../../common'; diff --git a/src/plugins/data_views/common/lib/get_title.ts b/src/plugins/data_views/common/lib/get_title.ts index b955fb815dfdf2..0dfb274ef240f8 100644 --- a/src/plugins/data_views/common/lib/get_title.ts +++ b/src/plugins/data_views/common/lib/get_title.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { SavedObjectsClientContract } from '@kbn/core/public'; +import type { SavedObjectsClientContract } from '@kbn/core/public'; import { DATA_VIEW_SAVED_OBJECT_TYPE } from '../constants'; import { DataViewAttributes } from '../types'; diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts b/src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts index a51ca4b54e8317..2ae5d4161e15dc 100644 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts +++ b/src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts @@ -6,8 +6,7 @@ * Side Public License, v 1. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { SavedObjectAttributes } from '@kbn/core/server'; +import type { SavedObjectAttributes } from '@kbn/core/server'; import { IEmbeddable } from './i_embeddable'; import { EmbeddableFactory } from './embeddable_factory'; import { EmbeddableInput, EmbeddableOutput } from '..'; diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx b/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx index bc1b795d1a46c7..44079b81e15a3a 100644 --- a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx +++ b/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx @@ -6,9 +6,10 @@ * Side Public License, v 1. */ -import { HttpSetup } from '@kbn/core/public'; +import type { HttpSetup } from '@kbn/core/public'; import React, { createContext, useContext } from 'react'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { useRequest } from '../../../public/request'; import { Privileges, Error as CustomError } from '../types'; diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/page_error.tsx b/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/page_error.tsx index 7fe745c22f2255..54a75fbd3ee65a 100644 --- a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/page_error.tsx +++ b/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/page_error.tsx @@ -8,6 +8,7 @@ import { EuiSpacer, EuiEmptyPrompt, EuiPageContent } from '@elastic/eui'; import React from 'react'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { APP_WRAPPER_CLASS } from '@kbn/core/public'; import { Error } from '../types'; diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.test.ts b/src/plugins/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.test.ts index 595e65577aa1a1..51b91353f9aa2f 100644 --- a/src/plugins/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.test.ts +++ b/src/plugins/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.test.ts @@ -7,7 +7,6 @@ */ import { errors } from '@elastic/elasticsearch'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { kibanaResponseFactory as response } from '@kbn/core/server'; import { handleEsError } from './handle_es_error'; diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.ts b/src/plugins/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.ts index 7620c71ae89566..3e97194195b46f 100644 --- a/src/plugins/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.ts +++ b/src/plugins/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.ts @@ -7,8 +7,7 @@ */ import { errors } from '@elastic/elasticsearch'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { IKibanaResponse, KibanaResponseFactory } from '@kbn/core/server'; +import type { IKibanaResponse, KibanaResponseFactory } from '@kbn/core/server'; import { getEsCause } from './es_error_parser'; interface EsErrorHandlerParams { diff --git a/src/plugins/expression_image/server/plugin.ts b/src/plugins/expression_image/server/plugin.ts index f474c3e05948d0..f13db7b9ad7f2b 100755 --- a/src/plugins/expression_image/server/plugin.ts +++ b/src/plugins/expression_image/server/plugin.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; +import { CoreSetup, CoreStart, Plugin } from '@kbn/core/server'; import { ExpressionsServerStart, ExpressionsServerSetup } from '@kbn/expressions-plugin/server'; import { imageFunction } from '../common/expression_functions'; diff --git a/src/plugins/expression_metric/server/plugin.ts b/src/plugins/expression_metric/server/plugin.ts index 4f5edabdca3b36..0b5c5c0cef3c23 100755 --- a/src/plugins/expression_metric/server/plugin.ts +++ b/src/plugins/expression_metric/server/plugin.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; +import { CoreSetup, CoreStart, Plugin } from '@kbn/core/server'; import { ExpressionsServerStart, ExpressionsServerSetup } from '@kbn/expressions-plugin/server'; import { metricFunction } from '../common'; diff --git a/src/plugins/expression_repeat_image/server/plugin.ts b/src/plugins/expression_repeat_image/server/plugin.ts index 8c316e3c17d61b..b175f268b0e885 100755 --- a/src/plugins/expression_repeat_image/server/plugin.ts +++ b/src/plugins/expression_repeat_image/server/plugin.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; +import { CoreSetup, CoreStart, Plugin } from '@kbn/core/server'; import { ExpressionsServerStart, ExpressionsServerSetup } from '@kbn/expressions-plugin/server'; import { repeatImageFunction } from '../common'; diff --git a/src/plugins/expression_reveal_image/server/plugin.ts b/src/plugins/expression_reveal_image/server/plugin.ts index 58ebe7b42609e8..ff950f0d084a6f 100644 --- a/src/plugins/expression_reveal_image/server/plugin.ts +++ b/src/plugins/expression_reveal_image/server/plugin.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; +import { CoreSetup, CoreStart, Plugin } from '@kbn/core/server'; import { ExpressionsServerStart, ExpressionsServerSetup } from '@kbn/expressions-plugin/server'; import { revealImageFunction } from '../common'; diff --git a/src/plugins/expression_shape/server/plugin.ts b/src/plugins/expression_shape/server/plugin.ts index 41538ba4896568..7c78f6fa8474a6 100644 --- a/src/plugins/expression_shape/server/plugin.ts +++ b/src/plugins/expression_shape/server/plugin.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; +import { CoreSetup, CoreStart, Plugin } from '@kbn/core/server'; import { ExpressionsServerStart, ExpressionsServerSetup } from '@kbn/expressions-plugin/server'; import { shapeFunction, progressFunction } from '../common/expression_functions'; diff --git a/src/plugins/expressions/common/execution/types.ts b/src/plugins/expressions/common/execution/types.ts index 686ade08691715..debe34e223e08b 100644 --- a/src/plugins/expressions/common/execution/types.ts +++ b/src/plugins/expressions/common/execution/types.ts @@ -7,7 +7,6 @@ */ import type { SerializableRecord } from '@kbn/utility-types'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { KibanaRequest } from '@kbn/core/server'; import type { KibanaExecutionContext } from '@kbn/core/public'; diff --git a/src/plugins/expressions/common/expression_functions/specs/ui_setting.ts b/src/plugins/expressions/common/expression_functions/specs/ui_setting.ts index c1a3c572031dc7..ee4998dc8a1a1e 100644 --- a/src/plugins/expressions/common/expression_functions/specs/ui_setting.ts +++ b/src/plugins/expressions/common/expression_functions/specs/ui_setting.ts @@ -6,7 +6,6 @@ * Side Public License, v 1. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { KibanaRequest } from '@kbn/core/server'; import { i18n } from '@kbn/i18n'; import { ExpressionFunctionDefinition } from '../..'; diff --git a/src/plugins/expressions/common/service/expressions_services.ts b/src/plugins/expressions/common/service/expressions_services.ts index d2824a78946420..530bce80667168 100644 --- a/src/plugins/expressions/common/service/expressions_services.ts +++ b/src/plugins/expressions/common/service/expressions_services.ts @@ -9,7 +9,6 @@ import { Observable } from 'rxjs'; import type { Logger } from '@kbn/logging'; import type { SerializableRecord } from '@kbn/utility-types'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { KibanaRequest } from '@kbn/core/server'; import type { KibanaExecutionContext } from '@kbn/core/public'; diff --git a/src/plugins/expressions/common/util/index.ts b/src/plugins/expressions/common/util/index.ts index 110dcaec282f7b..c7f74a09917a8c 100644 --- a/src/plugins/expressions/common/util/index.ts +++ b/src/plugins/expressions/common/util/index.ts @@ -10,5 +10,6 @@ export * from './create_error'; export * from './get_by_alias'; export * from './tables_adapter'; export * from './expressions_inspector_adapter'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing export * from './test_utils'; export * from './create_default_inspector_adapters'; diff --git a/src/plugins/home/server/services/sample_data/sample_data_registry.ts b/src/plugins/home/server/services/sample_data/sample_data_registry.ts index 4ee78da7128e6e..7f4967f56e104a 100644 --- a/src/plugins/home/server/services/sample_data/sample_data_registry.ts +++ b/src/plugins/home/server/services/sample_data/sample_data_registry.ts @@ -7,7 +7,7 @@ */ import { CoreSetup, PluginInitializerContext } from '@kbn/core/server'; -import { SavedObject } from '@kbn/core/public'; +import type { SavedObject } from '@kbn/core/public'; import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/server'; import { CustomIntegrationsPluginSetup } from '@kbn/custom-integrations-plugin/server'; import { diff --git a/src/plugins/interactive_setup/public/submit_error_callout.test.tsx b/src/plugins/interactive_setup/public/submit_error_callout.test.tsx index 693aad37fdab9a..9f22ac32939371 100644 --- a/src/plugins/interactive_setup/public/submit_error_callout.test.tsx +++ b/src/plugins/interactive_setup/public/submit_error_callout.test.tsx @@ -19,7 +19,7 @@ import { ERROR_OUTSIDE_PREBOOT_STAGE, ERROR_PING_FAILURE, } from '../common'; -import { interactiveSetupMock } from '../server/mocks'; // eslint-disable-line @kbn/eslint/no-restricted-paths +import { interactiveSetupMock } from '../server/mocks'; import { SubmitErrorCallout } from './submit_error_callout'; describe('SubmitErrorCallout', () => { diff --git a/src/plugins/kibana_utils/demos/state_sync/url.ts b/src/plugins/kibana_utils/demos/state_sync/url.ts index 9d8b9ef352e4a9..7594c5192c67f1 100644 --- a/src/plugins/kibana_utils/demos/state_sync/url.ts +++ b/src/plugins/kibana_utils/demos/state_sync/url.ts @@ -12,6 +12,7 @@ import { createKbnUrlStateStorage, syncState, INullableBaseStateContainer, + // eslint-disable-next-line @kbn/imports/no_boundary_crossing } from '../../public/state_sync'; const tick = () => new Promise((resolve) => setTimeout(resolve)); diff --git a/src/plugins/presentation_util/common/lib/index.ts b/src/plugins/presentation_util/common/lib/index.ts index 3fe90009ad8dff..0839d17e04c920 100644 --- a/src/plugins/presentation_util/common/lib/index.ts +++ b/src/plugins/presentation_util/common/lib/index.ts @@ -7,4 +7,5 @@ */ export * from './utils'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing export * from './test_helpers'; diff --git a/src/plugins/presentation_util/common/lib/utils/default_theme.ts b/src/plugins/presentation_util/common/lib/utils/default_theme.ts index fb744534b4e469..36bc59d57f239f 100644 --- a/src/plugins/presentation_util/common/lib/utils/default_theme.ts +++ b/src/plugins/presentation_util/common/lib/utils/default_theme.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { CoreTheme } from '@kbn/core/public'; +import type { CoreTheme } from '@kbn/core/public'; import { Observable } from 'rxjs'; export const defaultTheme$: Observable = new Observable((subscriber) => diff --git a/src/plugins/presentation_util/public/services/index.ts b/src/plugins/presentation_util/public/services/index.ts index da840d7d24b2ac..a264c8f7049ed1 100644 --- a/src/plugins/presentation_util/public/services/index.ts +++ b/src/plugins/presentation_util/public/services/index.ts @@ -11,6 +11,7 @@ import { PluginServices } from './create'; import { PresentationCapabilitiesService } from './capabilities'; import { PresentationDashboardsService } from './dashboards'; import { PresentationLabsService } from './labs'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { registry as stubRegistry } from './stub'; import { PresentationDataViewsService } from './data_views'; import { registerExpressionsLanguage } from '..'; diff --git a/src/plugins/saved_objects_management/public/lib/get_tag_references.ts b/src/plugins/saved_objects_management/public/lib/get_tag_references.ts index fbeec9113cd6d8..3ca85a36c8d72b 100644 --- a/src/plugins/saved_objects_management/public/lib/get_tag_references.ts +++ b/src/plugins/saved_objects_management/public/lib/get_tag_references.ts @@ -6,8 +6,7 @@ * Side Public License, v 1. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { SavedObjectsFindOptionsReference } from '@kbn/core/server'; +import type { SavedObjectsFindOptionsReference } from '@kbn/core/server'; import { SavedObjectsTaggingApi } from '@kbn/saved-objects-tagging-oss-plugin/public'; export const getTagFindReferences = ({ diff --git a/src/plugins/share/common/url_service/locators/locator.test.ts b/src/plugins/share/common/url_service/locators/locator.test.ts index 6961d1a9b39d28..996c4f1e232785 100644 --- a/src/plugins/share/common/url_service/locators/locator.test.ts +++ b/src/plugins/share/common/url_service/locators/locator.test.ts @@ -8,7 +8,6 @@ import { LocatorDefinition } from './types'; import { Locator, LocatorDependencies } from './locator'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { KibanaLocation } from '../../../public'; import { LocatorGetUrlParams } from '.'; import { decompressFromBase64 } from 'lz-string'; diff --git a/src/plugins/share/common/url_service/locators/locator.ts b/src/plugins/share/common/url_service/locators/locator.ts index b014a09442aa24..a2603d5d15fc68 100644 --- a/src/plugins/share/common/url_service/locators/locator.ts +++ b/src/plugins/share/common/url_service/locators/locator.ts @@ -7,7 +7,6 @@ */ import type { SerializableRecord } from '@kbn/utility-types'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { SavedObjectReference } from '@kbn/core/server'; import { DependencyList } from 'react'; import type { PersistableState } from '@kbn/kibana-utils-plugin/common'; diff --git a/src/plugins/share/common/url_service/locators/locator_client.ts b/src/plugins/share/common/url_service/locators/locator_client.ts index 637c8f7f2718f2..941d24e975c7b6 100644 --- a/src/plugins/share/common/url_service/locators/locator_client.ts +++ b/src/plugins/share/common/url_service/locators/locator_client.ts @@ -8,8 +8,7 @@ import type { SerializableRecord } from '@kbn/utility-types'; import { MigrateFunctionsObject } from '@kbn/kibana-utils-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { SavedObjectReference } from '@kbn/core/server'; +import type { SavedObjectReference } from '@kbn/core/server'; import type { LocatorDependencies } from './locator'; import type { LocatorDefinition, LocatorPublic, ILocatorClient, LocatorData } from './types'; import { Locator } from './locator'; diff --git a/src/plugins/vis_types/timelion/server/series_functions/abs.test.js b/src/plugins/vis_types/timelion/server/series_functions/abs.test.js index 75cc0676ab9127..9df8e28d58b32b 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/abs.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/abs.test.js @@ -11,7 +11,7 @@ import fn from './abs'; import _ from 'lodash'; import expect from '@kbn/expect'; const seriesList = require('./fixtures/series_list')(); -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('abs.js', function () { it('should return the positive value of every value', function () { diff --git a/src/plugins/vis_types/timelion/server/series_functions/aggregate/aggregate.test.js b/src/plugins/vis_types/timelion/server/series_functions/aggregate/aggregate.test.js index d3ddc12ee2d97c..162a3df594614d 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/aggregate/aggregate.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/aggregate/aggregate.test.js @@ -10,7 +10,7 @@ import fn from '.'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from '../helpers/invoke_series_fn'; +import invoke from '../test_helpers/invoke_series_fn'; describe('aggregate', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/bars.test.js b/src/plugins/vis_types/timelion/server/series_functions/bars.test.js index 751c20d775697d..0ba1af724cd9f2 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/bars.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/bars.test.js @@ -10,7 +10,7 @@ import fn from './bars'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('bars.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/color.test.js b/src/plugins/vis_types/timelion/server/series_functions/color.test.js index cb6d351f566a82..caa6a4ec441ab8 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/color.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/color.test.js @@ -10,7 +10,7 @@ import fn from './color'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('color.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/condition.test.js b/src/plugins/vis_types/timelion/server/series_functions/condition.test.js index aae72031a71c4b..7483455700442d 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/condition.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/condition.test.js @@ -9,8 +9,8 @@ import fn from './condition'; import moment from 'moment'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; -import getSeriesList from './helpers/get_single_series_list'; +import invoke from './test_helpers/invoke_series_fn'; +import getSeriesList from './test_helpers/get_single_series_list'; import _ from 'lodash'; describe('condition.js', function () { diff --git a/src/plugins/vis_types/timelion/server/series_functions/cusum.test.js b/src/plugins/vis_types/timelion/server/series_functions/cusum.test.js index b842e53329a03f..d0db89edc43eec 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/cusum.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/cusum.test.js @@ -10,7 +10,7 @@ import fn from './cusum'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('cusum.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/derivative.test.js b/src/plugins/vis_types/timelion/server/series_functions/derivative.test.js index 7f84e503adca18..65a9f504133a2e 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/derivative.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/derivative.test.js @@ -10,7 +10,7 @@ import fn from './derivative'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('derivative.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/divide.test.js b/src/plugins/vis_types/timelion/server/series_functions/divide.test.js index 08275cc460194a..ac15265c86c35e 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/divide.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/divide.test.js @@ -10,7 +10,7 @@ import fn from './divide'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('divide.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/es/es.test.js b/src/plugins/vis_types/timelion/server/series_functions/es/es.test.js index 6d58158acb3223..8a8c03c52bbb4a 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/es/es.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/es/es.test.js @@ -16,7 +16,7 @@ import esResponse from '../fixtures/es_response'; import _ from 'lodash'; import sinon from 'sinon'; -import invoke from '../helpers/invoke_series_fn'; +import invoke from '../test_helpers/invoke_series_fn'; import { UI_SETTINGS } from '@kbn/data-plugin/server'; describe('es', () => { diff --git a/src/plugins/vis_types/timelion/server/series_functions/first.test.js b/src/plugins/vis_types/timelion/server/series_functions/first.test.js index 1a1ab41413bcca..af01c153a1fc69 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/first.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/first.test.js @@ -10,7 +10,7 @@ import fn from './first'; import expect from '@kbn/expect'; const seriesList = require('./fixtures/series_list')(); -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('first.js', function () { it('should return exactly the data input', function () { diff --git a/src/plugins/vis_types/timelion/server/series_functions/fit.test.js b/src/plugins/vis_types/timelion/server/series_functions/fit.test.js index 0d1bd315412e9e..72cf2863b3fae3 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/fit.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/fit.test.js @@ -9,8 +9,8 @@ const fn = require('./fit'); import moment from 'moment'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; -import getSeriesList from './helpers/get_single_series_list'; +import invoke from './test_helpers/invoke_series_fn'; +import getSeriesList from './test_helpers/get_single_series_list'; import _ from 'lodash'; describe('fit.js', function () { diff --git a/src/plugins/vis_types/timelion/server/series_functions/fixtures/series_list.js b/src/plugins/vis_types/timelion/server/series_functions/fixtures/series_list.js index d556c66cff7bbf..9046fb262ff104 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/fixtures/series_list.js +++ b/src/plugins/vis_types/timelion/server/series_functions/fixtures/series_list.js @@ -7,8 +7,8 @@ */ import buckets from './bucket_list'; -import getSeries from '../helpers/get_series'; -import getSeriesList from '../helpers/get_series_list'; +import getSeries from '../test_helpers/get_series'; +import getSeriesList from '../test_helpers/get_series_list'; export default function () { return getSeriesList([ diff --git a/src/plugins/vis_types/timelion/server/series_functions/hide.test.js b/src/plugins/vis_types/timelion/server/series_functions/hide.test.js index d7c7e225635354..dd6004068ebff3 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/hide.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/hide.test.js @@ -10,7 +10,7 @@ import fn from './hide'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('hide.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/label.test.js b/src/plugins/vis_types/timelion/server/series_functions/label.test.js index 30784aed1992bc..d8ed52772bc65c 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/label.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/label.test.js @@ -10,7 +10,7 @@ import fn from './label'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('label.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/legend.test.js b/src/plugins/vis_types/timelion/server/series_functions/legend.test.js index d8c175ee7cd273..0f616da412e319 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/legend.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/legend.test.js @@ -9,7 +9,7 @@ import fn from './legend'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('legend.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/lines.test.js b/src/plugins/vis_types/timelion/server/series_functions/lines.test.js index d62c1150b7a644..67e5a5d71d83a8 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/lines.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/lines.test.js @@ -9,7 +9,7 @@ import fn from './lines'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('lines.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/log.test.js b/src/plugins/vis_types/timelion/server/series_functions/log.test.js index 7ce5d526faebf7..ea7dd00b5c4b71 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/log.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/log.test.js @@ -10,7 +10,7 @@ import fn from './log'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('log.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/max.test.js b/src/plugins/vis_types/timelion/server/series_functions/max.test.js index 4564732abea8fb..43b9b5f2ba9295 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/max.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/max.test.js @@ -10,7 +10,7 @@ import fn from './max'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('max.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/min.test.js b/src/plugins/vis_types/timelion/server/series_functions/min.test.js index e222e15299b835..b73f79f91fdc46 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/min.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/min.test.js @@ -10,7 +10,7 @@ import fn from './min'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('min.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/movingaverage.test.js b/src/plugins/vis_types/timelion/server/series_functions/movingaverage.test.js index 18dc5d4bfc08b5..f51aad36e75a74 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/movingaverage.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/movingaverage.test.js @@ -12,9 +12,9 @@ import expect from '@kbn/expect'; import moment from 'moment'; import _ from 'lodash'; import buckets from './fixtures/bucket_list'; -import getSeries from './helpers/get_series'; -import getSeriesList from './helpers/get_series_list'; -import invoke from './helpers/invoke_series_fn'; +import getSeries from './test_helpers/get_series'; +import getSeriesList from './test_helpers/get_series_list'; +import invoke from './test_helpers/invoke_series_fn'; function getFivePointSeries() { return getSeriesList([ diff --git a/src/plugins/vis_types/timelion/server/series_functions/movingstd.test.js b/src/plugins/vis_types/timelion/server/series_functions/movingstd.test.js index fe4cd7b333afa4..0998e0d661dc57 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/movingstd.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/movingstd.test.js @@ -10,9 +10,9 @@ import fn from './movingstd'; import moment from 'moment'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; -import getSeries from './helpers/get_series'; -import getSeriesList from './helpers/get_series_list'; +import invoke from './test_helpers/invoke_series_fn'; +import getSeries from './test_helpers/get_series'; +import getSeriesList from './test_helpers/get_series_list'; describe('movingstd.js', () => { it('computes the moving standard deviation of a list', async () => { diff --git a/src/plugins/vis_types/timelion/server/series_functions/multiply.test.js b/src/plugins/vis_types/timelion/server/series_functions/multiply.test.js index 415e2119808d21..64fc2a89333f04 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/multiply.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/multiply.test.js @@ -10,7 +10,7 @@ import fn from './multiply'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('multiply.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/points.test.js b/src/plugins/vis_types/timelion/server/series_functions/points.test.js index 2f8b97c6bec9f1..a9f059df4e61f0 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/points.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/points.test.js @@ -10,7 +10,7 @@ import fn from './points'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('points.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/precision.test.js b/src/plugins/vis_types/timelion/server/series_functions/precision.test.js index ac586438472028..2a044b6599b8a9 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/precision.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/precision.test.js @@ -10,7 +10,7 @@ import fn from './precision'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('precision.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/range.test.js b/src/plugins/vis_types/timelion/server/series_functions/range.test.js index 2339e6b3a6900b..83abd639a2110f 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/range.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/range.test.js @@ -10,7 +10,7 @@ import fn from './range'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('range.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/scale_interval.test.js b/src/plugins/vis_types/timelion/server/series_functions/scale_interval.test.js index cc1368f54448fb..39010f997c0989 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/scale_interval.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/scale_interval.test.js @@ -10,7 +10,7 @@ import fn from './scale_interval'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('scale_interval.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/static.test.js b/src/plugins/vis_types/timelion/server/series_functions/static.test.js index f77dafcc5d992f..575ba6102c7031 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/static.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/static.test.js @@ -10,7 +10,7 @@ import fn from './static'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('static.js', () => { it('returns a series in which all numbers are the same', () => { diff --git a/src/plugins/vis_types/timelion/server/series_functions/subtract.test.js b/src/plugins/vis_types/timelion/server/series_functions/subtract.test.js index 6d5cb234dcc386..cc92d70703625a 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/subtract.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/subtract.test.js @@ -10,7 +10,7 @@ import fn from './subtract'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('subtract.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/sum.test.js b/src/plugins/vis_types/timelion/server/series_functions/sum.test.js index 68f7e5a8f9dfa4..f742760e23b147 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/sum.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/sum.test.js @@ -10,7 +10,7 @@ import fn from './sum'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('sum.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/helpers/get_series.js b/src/plugins/vis_types/timelion/server/series_functions/test_helpers/get_series.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/helpers/get_series.js rename to src/plugins/vis_types/timelion/server/series_functions/test_helpers/get_series.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/helpers/get_series_list.js b/src/plugins/vis_types/timelion/server/series_functions/test_helpers/get_series_list.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/helpers/get_series_list.js rename to src/plugins/vis_types/timelion/server/series_functions/test_helpers/get_series_list.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/helpers/get_single_series_list.js b/src/plugins/vis_types/timelion/server/series_functions/test_helpers/get_single_series_list.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/helpers/get_single_series_list.js rename to src/plugins/vis_types/timelion/server/series_functions/test_helpers/get_single_series_list.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/helpers/invoke_series_fn.js b/src/plugins/vis_types/timelion/server/series_functions/test_helpers/invoke_series_fn.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/helpers/invoke_series_fn.js rename to src/plugins/vis_types/timelion/server/series_functions/test_helpers/invoke_series_fn.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/title.test.js b/src/plugins/vis_types/timelion/server/series_functions/title.test.js index e6eab431a5c5fc..53bb5965cc0775 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/title.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/title.test.js @@ -10,7 +10,7 @@ import fn from './title'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('title.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/trim.test.js b/src/plugins/vis_types/timelion/server/series_functions/trim.test.js index 7f0ae750458013..7da12e6586b34f 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/trim.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/trim.test.js @@ -10,7 +10,7 @@ import fn from './trim'; import _ from 'lodash'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('trim.js', () => { let seriesList; diff --git a/src/plugins/vis_types/timelion/server/series_functions/yaxis.test.js b/src/plugins/vis_types/timelion/server/series_functions/yaxis.test.js index 583da757fd2eaa..53896bd8051659 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/yaxis.test.js +++ b/src/plugins/vis_types/timelion/server/series_functions/yaxis.test.js @@ -8,7 +8,7 @@ import fn from './yaxis'; import expect from '@kbn/expect'; -import invoke from './helpers/invoke_series_fn'; +import invoke from './test_helpers/invoke_series_fn'; describe('yaxis.js', () => { let seriesList; diff --git a/x-pack/examples/alerting_example/server/plugin.ts b/x-pack/examples/alerting_example/server/plugin.ts index 272611e95ec85a..c7460120b34d05 100644 --- a/x-pack/examples/alerting_example/server/plugin.ts +++ b/x-pack/examples/alerting_example/server/plugin.ts @@ -8,7 +8,6 @@ import { Plugin, CoreSetup } from '@kbn/core/server'; import { i18n } from '@kbn/i18n'; // import directly to support examples functional tests (@kbn-test/src/functional_tests/lib/babel_register_for_test_plugins.js) -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { DEFAULT_APP_CATEGORIES } from '@kbn/core/utils/default_app_categories'; import { PluginSetupContract as AlertingSetup } from '@kbn/alerting-plugin/server'; import { PluginSetupContract as FeaturesPluginSetup } from '@kbn/features-plugin/server'; diff --git a/x-pack/plugins/alerting/common/rule.ts b/x-pack/plugins/alerting/common/rule.ts index 609f43db3c3376..cfd93f475b883b 100644 --- a/x-pack/plugins/alerting/common/rule.ts +++ b/x-pack/plugins/alerting/common/rule.ts @@ -5,11 +5,10 @@ * 2.0. */ -import { +import type { SavedObjectAttribute, SavedObjectAttributes, SavedObjectsResolveResponse, - // eslint-disable-next-line @kbn/eslint/no-restricted-paths } from '@kbn/core/server'; import { RuleNotifyWhenType } from './rule_notify_when_type'; import { RuleSnooze } from './rule_snooze_type'; diff --git a/x-pack/plugins/apm/common/anomaly_detection/get_anomaly_detection_setup_state.ts b/x-pack/plugins/apm/common/anomaly_detection/get_anomaly_detection_setup_state.ts index de4917ba37d5da..7cfd4cdd00062f 100644 --- a/x-pack/plugins/apm/common/anomaly_detection/get_anomaly_detection_setup_state.ts +++ b/x-pack/plugins/apm/common/anomaly_detection/get_anomaly_detection_setup_state.ts @@ -4,9 +4,8 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { FETCH_STATUS } from '../../public/hooks/use_fetcher'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { APIReturnType } from '../../public/services/rest/create_call_apm_api'; import { ENVIRONMENT_ALL } from '../environment_filter_values'; diff --git a/x-pack/plugins/apm/common/apm_telemetry.ts b/x-pack/plugins/apm/common/apm_telemetry.ts index 562dccdfbef29d..d48d8fd25604ba 100644 --- a/x-pack/plugins/apm/common/apm_telemetry.ts +++ b/x-pack/plugins/apm/common/apm_telemetry.ts @@ -6,7 +6,7 @@ */ import { produce } from 'immer'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { apmSchema } from '../server/lib/apm_telemetry/schema'; function schemaToMapping(schemaLeaf: any): any { diff --git a/x-pack/plugins/apm/common/fetch_options.ts b/x-pack/plugins/apm/common/fetch_options.ts index 14b8900e6ed26d..3d0f9f290cca1b 100644 --- a/x-pack/plugins/apm/common/fetch_options.ts +++ b/x-pack/plugins/apm/common/fetch_options.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { HttpFetchOptions } from '@kbn/core/public'; +import type { HttpFetchOptions } from '@kbn/core/public'; export type FetchOptions = Omit & { pathname: string; diff --git a/x-pack/plugins/apm/public/components/app/correlations/use_failed_transactions_correlations.test.tsx b/x-pack/plugins/apm/public/components/app/correlations/use_failed_transactions_correlations.test.tsx index f210af92c44ad9..76eea019ac83e0 100644 --- a/x-pack/plugins/apm/public/components/app/correlations/use_failed_transactions_correlations.test.tsx +++ b/x-pack/plugins/apm/public/components/app/correlations/use_failed_transactions_correlations.test.tsx @@ -20,7 +20,6 @@ import { delay } from '../../../utils/test_helpers'; import { fromQuery } from '../../shared/links/url_helpers'; import { useFailedTransactionsCorrelations } from './use_failed_transactions_correlations'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { APIEndpoint } from '../../../../server'; function wrapper({ diff --git a/x-pack/plugins/apm/public/components/app/correlations/use_latency_correlations.test.tsx b/x-pack/plugins/apm/public/components/app/correlations/use_latency_correlations.test.tsx index abf0a54970195a..b63327901a028b 100644 --- a/x-pack/plugins/apm/public/components/app/correlations/use_latency_correlations.test.tsx +++ b/x-pack/plugins/apm/public/components/app/correlations/use_latency_correlations.test.tsx @@ -20,7 +20,6 @@ import { delay } from '../../../utils/test_helpers'; import { fromQuery } from '../../shared/links/url_helpers'; import { useLatencyCorrelations } from './use_latency_correlations'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { APIEndpoint } from '../../../../server'; function wrapper({ diff --git a/x-pack/plugins/apm/public/hooks/use_progressive_fetcher.tsx b/x-pack/plugins/apm/public/hooks/use_progressive_fetcher.tsx index a3268fe8d2958d..8d84e907196761 100644 --- a/x-pack/plugins/apm/public/hooks/use_progressive_fetcher.tsx +++ b/x-pack/plugins/apm/public/hooks/use_progressive_fetcher.tsx @@ -16,7 +16,6 @@ import { getProbabilityFromProgressiveLoadingQuality, ProgressiveLoadingQuality, } from '@kbn/observability-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { APMServerRouteRepository } from '../../server'; import type { diff --git a/x-pack/plugins/apm/public/services/rest/create_call_apm_api.ts b/x-pack/plugins/apm/public/services/rest/create_call_apm_api.ts index 4d6ca03ba6a29c..9202bf14f5b30e 100644 --- a/x-pack/plugins/apm/public/services/rest/create_call_apm_api.ts +++ b/x-pack/plugins/apm/public/services/rest/create_call_apm_api.ts @@ -16,11 +16,7 @@ import { formatRequest } from '@kbn/server-route-repository'; import { InspectResponse } from '@kbn/observability-plugin/typings/common'; import { FetchOptions } from '../../../common/fetch_options'; import { CallApi, callApi } from './call_api'; -import type { - APMServerRouteRepository, - APIEndpoint, - // eslint-disable-next-line @kbn/eslint/no-restricted-paths -} from '../../../server'; +import type { APMServerRouteRepository, APIEndpoint } from '../../../server'; export type APMClientOptions = Omit< FetchOptions, diff --git a/x-pack/plugins/apm/public/utils/test_helpers.tsx b/x-pack/plugins/apm/public/utils/test_helpers.tsx index ea8219ed55248b..1c0a92f0f6b492 100644 --- a/x-pack/plugins/apm/public/utils/test_helpers.tsx +++ b/x-pack/plugins/apm/public/utils/test_helpers.tsx @@ -23,7 +23,6 @@ import { ESSearchRequest, ESSearchResponse, } from '@kbn/core/types/elasticsearch'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { APMConfig } from '../../server'; import { MockApmPluginContextWrapper } from '../context/apm_plugin/mock_apm_plugin_context'; import { UrlParamsProvider } from '../context/url_params_context/url_params_context'; diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/index.ts b/x-pack/plugins/canvas/canvas_plugin_src/functions/external/index.ts index 3e1f4af69c69d3..52c9f362716fad 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/index.ts +++ b/x-pack/plugins/canvas/canvas_plugin_src/functions/external/index.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { EmbeddableStart } from '@kbn/embeddable-plugin/public'; +import type { EmbeddableStart } from '@kbn/embeddable-plugin/public'; import { embeddableFunctionFactory } from './embeddable'; import { savedLens } from './saved_lens'; import { savedMap } from './saved_map'; diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts b/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts index 2c09f33d7e25de..14c0e11c69acd0 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts +++ b/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts @@ -6,7 +6,7 @@ */ import { ExpressionFunctionDefinition } from '@kbn/expressions-plugin/common'; -import { MapEmbeddableInput } from '@kbn/maps-plugin/public'; +import type { MapEmbeddableInput } from '@kbn/maps-plugin/public'; import { SavedObjectReference } from '@kbn/core/types'; import { getQueryFilters } from '../../../common/lib/build_embeddable_filters'; import { ExpressionValueFilter, MapCenter, TimeRange as TimeRangeArg } from '../../../types'; diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts b/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts index 8e9b7c3643098c..86c289a27c70dc 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts +++ b/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts @@ -6,7 +6,7 @@ */ import { ExpressionFunctionDefinition } from '@kbn/expressions-plugin/common'; -import { SearchInput } from '@kbn/discover-plugin/public'; +import type { SearchInput } from '@kbn/discover-plugin/public'; import { SavedObjectReference } from '@kbn/core/types'; import { EmbeddableTypes, diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts b/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts index 743dab0f8d7440..805a4bc49f5f27 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts +++ b/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts @@ -7,7 +7,7 @@ import { omit } from 'lodash'; import { ExpressionFunctionDefinition } from '@kbn/expressions-plugin/common'; -import { VisualizeInput } from '@kbn/visualizations-plugin/public'; +import type { VisualizeInput } from '@kbn/visualizations-plugin/public'; import { SavedObjectReference } from '@kbn/core/types'; import { EmbeddableTypes, diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts b/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts index 8f791668d75f9a..6653b9efaac228 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts +++ b/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts @@ -7,7 +7,7 @@ import { toExpression as toExpressionString } from '@kbn/interpreter'; import type { PaletteRegistry } from '@kbn/coloring'; -import { SavedLensInput } from '../../../functions/external/saved_lens'; +import type { SavedLensInput } from '../../../functions/external/saved_lens'; export function toExpression(input: SavedLensInput, palettes: PaletteRegistry): string { const expressionParts = [] as string[]; diff --git a/x-pack/plugins/canvas/common/functions/filters.ts b/x-pack/plugins/canvas/common/functions/filters.ts index f33974dd56a496..20da7d710a56f1 100644 --- a/x-pack/plugins/canvas/common/functions/filters.ts +++ b/x-pack/plugins/canvas/common/functions/filters.ts @@ -5,8 +5,7 @@ * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ExpressionFunctionDefinition } from '@kbn/expressions-plugin/public'; +import type { ExpressionFunctionDefinition } from '@kbn/expressions-plugin/public'; import { ExpressionValueFilter } from '../../types'; import { getFunctionHelp } from '../../i18n'; diff --git a/x-pack/plugins/canvas/common/lib/constants.ts b/x-pack/plugins/canvas/common/lib/constants.ts index fa938f2c07c748..08dc0047bb2d44 100644 --- a/x-pack/plugins/canvas/common/lib/constants.ts +++ b/x-pack/plugins/canvas/common/lib/constants.ts @@ -5,6 +5,7 @@ * 2.0. */ +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { SHAREABLE_RUNTIME_NAME } from '../../shareable_runtime/constants_static'; import { FilterField } from '../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/all.ts b/x-pack/plugins/canvas/i18n/functions/dict/all.ts index f3fc09848701bf..7313201fe18583 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/all.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/all.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { all } from '../../../canvas_plugin_src/functions/common/all'; +import type { all } from '../../../canvas_plugin_src/functions/common/all'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { BOOLEAN_TRUE } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/alter_column.ts b/x-pack/plugins/canvas/i18n/functions/dict/alter_column.ts index 795a70abb981aa..067240b6b37061 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/alter_column.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/alter_column.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { alterColumn } from '../../../canvas_plugin_src/functions/common/alterColumn'; +import type { alterColumn } from '../../../canvas_plugin_src/functions/common/alterColumn'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { DATATABLE_COLUMN_TYPES } from '../../../common/lib/constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/any.ts b/x-pack/plugins/canvas/i18n/functions/dict/any.ts index b18a08f63f3a51..9915de4d91eeac 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/any.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/any.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { any } from '../../../canvas_plugin_src/functions/common/any'; +import type { any } from '../../../canvas_plugin_src/functions/common/any'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { BOOLEAN_TRUE } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/as.ts b/x-pack/plugins/canvas/i18n/functions/dict/as.ts index 01fb5dfbae26d5..367a99fff30a4a 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/as.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/as.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { asFn } from '../../../canvas_plugin_src/functions/common/as'; +import type { asFn } from '../../../canvas_plugin_src/functions/common/as'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { DATATABLE } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/asset.ts b/x-pack/plugins/canvas/i18n/functions/dict/asset.ts index 5edcee2d514a1b..d4a87b723be4e8 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/asset.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/asset.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { asset } from '../../../public/functions/asset'; +import type { asset } from '../../../public/functions/asset'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/axis_config.ts b/x-pack/plugins/canvas/i18n/functions/dict/axis_config.ts index 8694f21f81e4bc..fa3be9673febdc 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/axis_config.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/axis_config.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { axisConfig } from '../../../canvas_plugin_src/functions/common/axisConfig'; +import type { axisConfig } from '../../../canvas_plugin_src/functions/common/axisConfig'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { Position } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/case.ts b/x-pack/plugins/canvas/i18n/functions/dict/case.ts index a7b1fef4bd78b5..478d7391fd4faa 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/case.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/case.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { caseFn } from '../../../canvas_plugin_src/functions/common/case'; +import type { caseFn } from '../../../canvas_plugin_src/functions/common/case'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { CONTEXT } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/clear.ts b/x-pack/plugins/canvas/i18n/functions/dict/clear.ts index 10d9ee04f69186..e381b99398af69 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/clear.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/clear.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { clear } from '../../../canvas_plugin_src/functions/common/clear'; +import type { clear } from '../../../canvas_plugin_src/functions/common/clear'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { CONTEXT, TYPE_NULL } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/columns.ts b/x-pack/plugins/canvas/i18n/functions/dict/columns.ts index 44cb8200a7820d..73f32157686eb6 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/columns.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/columns.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { columns } from '../../../canvas_plugin_src/functions/common/columns'; +import type { columns } from '../../../canvas_plugin_src/functions/common/columns'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { DATATABLE } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/compare.ts b/x-pack/plugins/canvas/i18n/functions/dict/compare.ts index 1ebf0044c6a37a..05dcf13c95c47a 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/compare.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/compare.ts @@ -6,6 +6,7 @@ */ import { i18n } from '@kbn/i18n'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { compare, Operation } from '../../../canvas_plugin_src/functions/common/compare'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/container_style.ts b/x-pack/plugins/canvas/i18n/functions/dict/container_style.ts index 64108d272ac786..bad2e9fc13c3b3 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/container_style.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/container_style.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { containerStyle } from '../../../canvas_plugin_src/functions/common/containerStyle'; +import type { containerStyle } from '../../../canvas_plugin_src/functions/common/containerStyle'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { CSS } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/context.ts b/x-pack/plugins/canvas/i18n/functions/dict/context.ts index 89838e42c49baf..708a89449b074c 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/context.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/context.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { context } from '../../../canvas_plugin_src/functions/common/context'; +import type { context } from '../../../canvas_plugin_src/functions/common/context'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { CONTEXT } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/csv.ts b/x-pack/plugins/canvas/i18n/functions/dict/csv.ts index 19498dec2e97bc..f5b371d994d1ce 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/csv.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/csv.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { csv } from '../../../canvas_plugin_src/functions/common/csv'; +import type { csv } from '../../../canvas_plugin_src/functions/common/csv'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { DATATABLE, CSV } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/date.ts b/x-pack/plugins/canvas/i18n/functions/dict/date.ts index 608e82059b9f7b..7db00cf9c956a7 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/date.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/date.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { date } from '../../../canvas_plugin_src/functions/common/date'; +import type { date } from '../../../canvas_plugin_src/functions/common/date'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { ISO8601, MOMENTJS, JS } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/demodata.ts b/x-pack/plugins/canvas/i18n/functions/dict/demodata.ts index 1a56a75a0637c6..d4b6cb661debf9 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/demodata.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/demodata.ts @@ -6,9 +6,10 @@ */ import { i18n } from '@kbn/i18n'; -import { demodata } from '../../../canvas_plugin_src/functions/server/demodata'; +import type { demodata } from '../../../canvas_plugin_src/functions/server/demodata'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { DemoRows } from '../../../canvas_plugin_src/functions/server/demodata/demo_rows_types'; export const help: FunctionHelp> = { diff --git a/x-pack/plugins/canvas/i18n/functions/dict/do.ts b/x-pack/plugins/canvas/i18n/functions/dict/do.ts index 1badd12b05e2b1..6358199befe11c 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/do.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/do.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { doFn } from '../../../canvas_plugin_src/functions/common/do'; +import type { doFn } from '../../../canvas_plugin_src/functions/common/do'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { CONTEXT } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/dropdown_control.ts b/x-pack/plugins/canvas/i18n/functions/dict/dropdown_control.ts index 28817e6542547e..58a278849021a1 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/dropdown_control.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/dropdown_control.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { dropdownControl } from '../../../canvas_plugin_src/functions/common/dropdownControl'; +import type { dropdownControl } from '../../../canvas_plugin_src/functions/common/dropdownControl'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/embeddable.ts b/x-pack/plugins/canvas/i18n/functions/dict/embeddable.ts index 279f58799e8c00..7864087c8a561d 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/embeddable.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/embeddable.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { embeddableFunctionFactory } from '../../../canvas_plugin_src/functions/external/embeddable'; +import type { embeddableFunctionFactory } from '../../../canvas_plugin_src/functions/external/embeddable'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/eq.ts b/x-pack/plugins/canvas/i18n/functions/dict/eq.ts index 8ba9c0488c8a71..99000dfceb1db9 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/eq.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/eq.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { eq } from '../../../canvas_plugin_src/functions/common/eq'; +import type { eq } from '../../../canvas_plugin_src/functions/common/eq'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { CONTEXT } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/escount.ts b/x-pack/plugins/canvas/i18n/functions/dict/escount.ts index c831213e1f9234..743765816c5aad 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/escount.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/escount.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { escount } from '../../../canvas_plugin_src/functions/browser/escount'; +import type { escount } from '../../../canvas_plugin_src/functions/browser/escount'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { ELASTICSEARCH, LUCENE } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/esdocs.ts b/x-pack/plugins/canvas/i18n/functions/dict/esdocs.ts index 99979b566f5299..e621dbb6052412 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/esdocs.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/esdocs.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { esdocs } from '../../../canvas_plugin_src/functions/browser/esdocs'; +import type { esdocs } from '../../../canvas_plugin_src/functions/browser/esdocs'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { ELASTICSEARCH, LUCENE } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/exactly.ts b/x-pack/plugins/canvas/i18n/functions/dict/exactly.ts index 088b133127018e..7bea509b0f457b 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/exactly.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/exactly.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { exactly } from '../../../canvas_plugin_src/functions/common/exactly'; +import type { exactly } from '../../../canvas_plugin_src/functions/common/exactly'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/filterrows.ts b/x-pack/plugins/canvas/i18n/functions/dict/filterrows.ts index faaef67a08b599..c1b12a6d664c56 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/filterrows.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/filterrows.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { filterrows } from '../../../canvas_plugin_src/functions/common/filterrows'; +import type { filterrows } from '../../../canvas_plugin_src/functions/common/filterrows'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { DATATABLE, TYPE_BOOLEAN, BOOLEAN_TRUE, BOOLEAN_FALSE } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/filters.ts b/x-pack/plugins/canvas/i18n/functions/dict/filters.ts index d9beacbac24776..a5900dfd9a9b2e 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/filters.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/filters.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { filtersFunctionFactory } from '../../../public/functions/filters'; +import type { filtersFunctionFactory } from '../../../public/functions/filters'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/formatdate.ts b/x-pack/plugins/canvas/i18n/functions/dict/formatdate.ts index c085bc029abc36..722bab14340743 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/formatdate.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/formatdate.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { formatdate } from '../../../canvas_plugin_src/functions/common/formatdate'; +import type { formatdate } from '../../../canvas_plugin_src/functions/common/formatdate'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { ISO8601, MOMENTJS } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/formatnumber.ts b/x-pack/plugins/canvas/i18n/functions/dict/formatnumber.ts index 1a1735fce29d98..a160fcb427a77f 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/formatnumber.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/formatnumber.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { formatnumber } from '../../../canvas_plugin_src/functions/common/formatnumber'; +import type { formatnumber } from '../../../canvas_plugin_src/functions/common/formatnumber'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { NUMERALJS } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/get_cell.ts b/x-pack/plugins/canvas/i18n/functions/dict/get_cell.ts index b66e6c7f7066f5..de77e5adea0286 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/get_cell.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/get_cell.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { getCell } from '../../../canvas_plugin_src/functions/common/getCell'; +import type { getCell } from '../../../canvas_plugin_src/functions/common/getCell'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { DATATABLE } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/gt.ts b/x-pack/plugins/canvas/i18n/functions/dict/gt.ts index 53a177b7a7ef7a..99481663303c0b 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/gt.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/gt.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { gt } from '../../../canvas_plugin_src/functions/common/gt'; +import type { gt } from '../../../canvas_plugin_src/functions/common/gt'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { CONTEXT } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/gte.ts b/x-pack/plugins/canvas/i18n/functions/dict/gte.ts index b51b7978212aac..d965c5612e5f3e 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/gte.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/gte.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { gte } from '../../../canvas_plugin_src/functions/common/gte'; +import type { gte } from '../../../canvas_plugin_src/functions/common/gte'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { CONTEXT } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/head.ts b/x-pack/plugins/canvas/i18n/functions/dict/head.ts index 9a718debdf74ee..69670bd3772944 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/head.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/head.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { head } from '../../../canvas_plugin_src/functions/common/head'; +import type { head } from '../../../canvas_plugin_src/functions/common/head'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { DATATABLE } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/if.ts b/x-pack/plugins/canvas/i18n/functions/dict/if.ts index 9413ce8fa9261d..3a9b1632046262 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/if.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/if.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { ifFn } from '../../../canvas_plugin_src/functions/common/if'; +import type { ifFn } from '../../../canvas_plugin_src/functions/common/if'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { BOOLEAN_TRUE, BOOLEAN_FALSE, CONTEXT } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/join_rows.ts b/x-pack/plugins/canvas/i18n/functions/dict/join_rows.ts index 955af300d54142..7eb8f0614d5e6f 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/join_rows.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/join_rows.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { joinRows } from '../../../canvas_plugin_src/functions/common/join_rows'; +import type { joinRows } from '../../../canvas_plugin_src/functions/common/join_rows'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/location.ts b/x-pack/plugins/canvas/i18n/functions/dict/location.ts index dcea17c71e1a71..d29bf6df726f53 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/location.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/location.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { location } from '../../../canvas_plugin_src/functions/browser/location'; +import type { location } from '../../../canvas_plugin_src/functions/browser/location'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/lt.ts b/x-pack/plugins/canvas/i18n/functions/dict/lt.ts index 86663a129c8f7b..98542ca4fcec77 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/lt.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/lt.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { lt } from '../../../canvas_plugin_src/functions/common/lt'; +import type { lt } from '../../../canvas_plugin_src/functions/common/lt'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { CONTEXT } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/lte.ts b/x-pack/plugins/canvas/i18n/functions/dict/lte.ts index b8623d022b03cb..148db5c929695e 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/lte.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/lte.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { lte } from '../../../canvas_plugin_src/functions/common/lte'; +import type { lte } from '../../../canvas_plugin_src/functions/common/lte'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { CONTEXT } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/map_center.ts b/x-pack/plugins/canvas/i18n/functions/dict/map_center.ts index 99d607e05b03c5..1a554daa929b72 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/map_center.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/map_center.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { mapCenter } from '../../../canvas_plugin_src/functions/common/map_center'; +import type { mapCenter } from '../../../canvas_plugin_src/functions/common/map_center'; import { FunctionHelp } from '..'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/markdown.ts b/x-pack/plugins/canvas/i18n/functions/dict/markdown.ts index 7770cb7deb04d7..06d009e28b6ace 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/markdown.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/markdown.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { markdown } from '../../../canvas_plugin_src/functions/browser/markdown'; +import type { markdown } from '../../../canvas_plugin_src/functions/browser/markdown'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { MARKDOWN, CSS } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/neq.ts b/x-pack/plugins/canvas/i18n/functions/dict/neq.ts index efe1a43a44cd97..8af1ec88bf3a12 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/neq.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/neq.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { neq } from '../../../canvas_plugin_src/functions/common/neq'; +import type { neq } from '../../../canvas_plugin_src/functions/common/neq'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { CONTEXT } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/pie.ts b/x-pack/plugins/canvas/i18n/functions/dict/pie.ts index 7b02935b1fc55c..f12009cc0e58d6 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/pie.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/pie.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { pieFunctionFactory } from '../../../public/functions/pie'; +import type { pieFunctionFactory } from '../../../public/functions/pie'; import { FunctionFactoryHelp } from '../function_help'; import { Legend } from '../../../types'; import { CSS, FONT_FAMILY, FONT_WEIGHT, BOOLEAN_FALSE } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/plot.ts b/x-pack/plugins/canvas/i18n/functions/dict/plot.ts index 9a0f88746759dc..e47e7a67515e55 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/plot.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/plot.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { plotFunctionFactory } from '../../../public/functions/plot'; +import type { plotFunctionFactory } from '../../../public/functions/plot'; import { FunctionFactoryHelp } from '../function_help'; import { Legend } from '../../../types'; import { CSS, FONT_FAMILY, FONT_WEIGHT, BOOLEAN_FALSE } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/ply.ts b/x-pack/plugins/canvas/i18n/functions/dict/ply.ts index b5bae61a49cf86..eae5eb3645d7d5 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/ply.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/ply.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { ply } from '../../../canvas_plugin_src/functions/common/ply'; +import type { ply } from '../../../canvas_plugin_src/functions/common/ply'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { DATATABLE } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/pointseries.ts b/x-pack/plugins/canvas/i18n/functions/dict/pointseries.ts index 30a3918bbe69fa..c9bb28f8e00c9d 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/pointseries.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/pointseries.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { pointseries } from '../../../canvas_plugin_src/functions/server/pointseries'; +import type { pointseries } from '../../../canvas_plugin_src/functions/server/pointseries'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { DATATABLE, TINYMATH, TINYMATH_URL } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/render.ts b/x-pack/plugins/canvas/i18n/functions/dict/render.ts index 6b582222cf7455..fcfb19454370b0 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/render.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/render.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { render } from '../../../canvas_plugin_src/functions/common/render'; +import type { render } from '../../../canvas_plugin_src/functions/common/render'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { CONTEXT, CSS } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/replace.ts b/x-pack/plugins/canvas/i18n/functions/dict/replace.ts index 31993c1f008136..2ae0d693047d7d 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/replace.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/replace.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { replace } from '../../../canvas_plugin_src/functions/common/replace'; +import type { replace } from '../../../canvas_plugin_src/functions/common/replace'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { JS } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/rounddate.ts b/x-pack/plugins/canvas/i18n/functions/dict/rounddate.ts index 883114ca7ad92c..b288498ba85dd4 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/rounddate.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/rounddate.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { rounddate } from '../../../canvas_plugin_src/functions/common/rounddate'; +import type { rounddate } from '../../../canvas_plugin_src/functions/common/rounddate'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { MOMENTJS } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/row_count.ts b/x-pack/plugins/canvas/i18n/functions/dict/row_count.ts index 5deb2d0bcb956a..cbb94431e2efcb 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/row_count.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/row_count.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { rowCount } from '../../../canvas_plugin_src/functions/common/rowCount'; +import type { rowCount } from '../../../canvas_plugin_src/functions/common/rowCount'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_lens.ts b/x-pack/plugins/canvas/i18n/functions/dict/saved_lens.ts index 9ddb2a0d793a26..93a508b2bcdd5a 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/saved_lens.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/saved_lens.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { savedLens } from '../../../canvas_plugin_src/functions/external/saved_lens'; +import type { savedLens } from '../../../canvas_plugin_src/functions/external/saved_lens'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_map.ts b/x-pack/plugins/canvas/i18n/functions/dict/saved_map.ts index 2d44b7aa07c384..fc191ddbccb2d7 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/saved_map.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/saved_map.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { savedMap } from '../../../canvas_plugin_src/functions/external/saved_map'; +import type { savedMap } from '../../../canvas_plugin_src/functions/external/saved_map'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_search.ts b/x-pack/plugins/canvas/i18n/functions/dict/saved_search.ts index d441814105b3f4..7cdac8909c6ecc 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/saved_search.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/saved_search.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { savedSearch } from '../../../canvas_plugin_src/functions/external/saved_search'; +import type { savedSearch } from '../../../canvas_plugin_src/functions/external/saved_search'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_visualization.ts b/x-pack/plugins/canvas/i18n/functions/dict/saved_visualization.ts index 15585918860182..86104221fc33e6 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/saved_visualization.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/saved_visualization.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { savedVisualization } from '../../../canvas_plugin_src/functions/external/saved_visualization'; +import type { savedVisualization } from '../../../canvas_plugin_src/functions/external/saved_visualization'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/series_style.ts b/x-pack/plugins/canvas/i18n/functions/dict/series_style.ts index f49f678f56d340..24bc30aa068b5e 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/series_style.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/series_style.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { seriesStyle } from '../../../canvas_plugin_src/functions/common/seriesStyle'; +import type { seriesStyle } from '../../../canvas_plugin_src/functions/common/seriesStyle'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/sort.ts b/x-pack/plugins/canvas/i18n/functions/dict/sort.ts index 2d719629e96665..13c49b71701c28 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/sort.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/sort.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { sort } from '../../../canvas_plugin_src/functions/common/sort'; +import type { sort } from '../../../canvas_plugin_src/functions/common/sort'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { DATATABLE } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/static_column.ts b/x-pack/plugins/canvas/i18n/functions/dict/static_column.ts index a27c1491fc0af9..0fffdef78af5ad 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/static_column.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/static_column.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { staticColumn } from '../../../canvas_plugin_src/functions/common/staticColumn'; +import type { staticColumn } from '../../../canvas_plugin_src/functions/common/staticColumn'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/string.ts b/x-pack/plugins/canvas/i18n/functions/dict/string.ts index 4a4bba0e66ef48..753c76e2d200e3 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/string.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/string.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { string } from '../../../canvas_plugin_src/functions/common/string'; +import type { string } from '../../../canvas_plugin_src/functions/common/string'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/switch.ts b/x-pack/plugins/canvas/i18n/functions/dict/switch.ts index 74d78b9cd786f9..46e0ca13a74518 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/switch.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/switch.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { switchFn } from '../../../canvas_plugin_src/functions/common/switch'; +import type { switchFn } from '../../../canvas_plugin_src/functions/common/switch'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { CONTEXT } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/table.ts b/x-pack/plugins/canvas/i18n/functions/dict/table.ts index e09d49b1d4a71a..6e7e8e9b93e915 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/table.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/table.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { table } from '../../../canvas_plugin_src/functions/common/table'; +import type { table } from '../../../canvas_plugin_src/functions/common/table'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { CSS, FONT_FAMILY, FONT_WEIGHT, BOOLEAN_FALSE } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/tail.ts b/x-pack/plugins/canvas/i18n/functions/dict/tail.ts index 9c980a73d15623..137d1f675b5d7e 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/tail.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/tail.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { tail } from '../../../canvas_plugin_src/functions/common/tail'; +import type { tail } from '../../../canvas_plugin_src/functions/common/tail'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { DATATABLE } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/time_range.ts b/x-pack/plugins/canvas/i18n/functions/dict/time_range.ts index 386774e4bea202..5e618179e49654 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/time_range.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/time_range.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { timerange } from '../../../canvas_plugin_src/functions/common/time_range'; +import type { timerange } from '../../../canvas_plugin_src/functions/common/time_range'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/timefilter.ts b/x-pack/plugins/canvas/i18n/functions/dict/timefilter.ts index 27d8f5c1a4d56c..7dd47f0ff6973d 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/timefilter.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/timefilter.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { timefilter } from '../../../canvas_plugin_src/functions/common/timefilter'; +import type { timefilter } from '../../../canvas_plugin_src/functions/common/timefilter'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { ISO8601, ELASTICSEARCH, DATEMATH } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/timefilter_control.ts b/x-pack/plugins/canvas/i18n/functions/dict/timefilter_control.ts index 676acdeb5d63e3..b27e0b7bc5ee2c 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/timefilter_control.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/timefilter_control.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { timefilterControl } from '../../../canvas_plugin_src/functions/common/timefilterControl'; +import type { timefilterControl } from '../../../canvas_plugin_src/functions/common/timefilterControl'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/timelion.ts b/x-pack/plugins/canvas/i18n/functions/dict/timelion.ts index 09206382df65fd..8a7cfac0701a43 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/timelion.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/timelion.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { timelionFunctionFactory } from '../../../public/functions/timelion'; +import type { timelionFunctionFactory } from '../../../public/functions/timelion'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { ELASTICSEARCH, DATEMATH, MOMENTJS_TIMEZONE_URL } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/to.ts b/x-pack/plugins/canvas/i18n/functions/dict/to.ts index fed1d101150423..445da1dc7ef9eb 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/to.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/to.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { toFunctionFactory } from '../../../public/functions/to'; +import type { toFunctionFactory } from '../../../public/functions/to'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { CONTEXT } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/functions/dict/urlparam.ts b/x-pack/plugins/canvas/i18n/functions/dict/urlparam.ts index 5ce33cfa6c0c50..1a051fa21d76f8 100644 --- a/x-pack/plugins/canvas/i18n/functions/dict/urlparam.ts +++ b/x-pack/plugins/canvas/i18n/functions/dict/urlparam.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { urlparam } from '../../../canvas_plugin_src/functions/browser/urlparam'; +import type { urlparam } from '../../../canvas_plugin_src/functions/browser/urlparam'; import { FunctionHelp } from '../function_help'; import { FunctionFactory } from '../../../types'; import { TYPE_STRING, URL } from '../../constants'; diff --git a/x-pack/plugins/canvas/i18n/templates/template_strings.test.ts b/x-pack/plugins/canvas/i18n/templates/template_strings.test.ts index e4eb4f28420088..26c5e36ad9e098 100644 --- a/x-pack/plugins/canvas/i18n/templates/template_strings.test.ts +++ b/x-pack/plugins/canvas/i18n/templates/template_strings.test.ts @@ -6,7 +6,6 @@ */ import { getTemplateStrings } from './template_strings'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { loadTemplates } from '../../server/templates'; import { TagStrings } from '../tags'; diff --git a/x-pack/plugins/canvas/public/components/hooks/workpad/use_download_workpad.ts b/x-pack/plugins/canvas/public/components/hooks/workpad/use_download_workpad.ts index b688bb5a3b1a53..dadf03a8fac5a8 100644 --- a/x-pack/plugins/canvas/public/components/hooks/workpad/use_download_workpad.ts +++ b/x-pack/plugins/canvas/public/components/hooks/workpad/use_download_workpad.ts @@ -10,7 +10,7 @@ import fileSaver from 'file-saver'; import { i18n } from '@kbn/i18n'; import { useNotifyService, useWorkpadService } from '../../../services'; import { CanvasWorkpad } from '../../../../types'; -import { CanvasRenderedWorkpad } from '../../../../shareable_runtime/types'; +import type { CanvasRenderedWorkpad } from '../../../../shareable_runtime/types'; const strings = { getDownloadFailureErrorMessage: () => diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx b/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx index 4ad27791c32925..42326d1b6e0c80 100644 --- a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx +++ b/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx @@ -24,7 +24,7 @@ import { import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; -import { CanvasRenderedWorkpad } from '../../../../../shareable_runtime/types'; +import type { CanvasRenderedWorkpad } from '../../../../../shareable_runtime/types'; import { useDownloadRenderedWorkpad } from '../../../hooks'; import { useDownloadRuntime, useDownloadZippedRuntime } from './hooks'; import { ZIP, CANVAS, HTML } from '../../../../../i18n/constants'; diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx b/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx index 9b7a6435f5f5ca..31142a15e7596a 100644 --- a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx +++ b/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx @@ -16,7 +16,8 @@ import { import { ShareWebsiteFlyout as FlyoutComponent } from './flyout.component'; import { State, CanvasWorkpad } from '../../../../../types'; -import { CanvasRenderedWorkpad } from '../../../../../shareable_runtime/types'; +import type { CanvasRenderedWorkpad } from '../../../../../shareable_runtime/types'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { renderFunctionNames } from '../../../../../shareable_runtime/supported_renderers'; import { OnCloseFn } from '../share_menu.component'; diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts b/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts index dc2e4ff685ca5c..cb158fd3958c18 100644 --- a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts +++ b/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts @@ -12,7 +12,7 @@ import { API_ROUTE_SHAREABLE_RUNTIME_DOWNLOAD } from '../../../../../../common/l import { ZIP } from '../../../../../../i18n/constants'; import { usePlatformService, useNotifyService, useWorkpadService } from '../../../../../services'; -import { CanvasRenderedWorkpad } from '../../../../../../shareable_runtime/types'; +import type { CanvasRenderedWorkpad } from '../../../../../../shareable_runtime/types'; const strings = { getDownloadRuntimeFailureErrorMessage: () => diff --git a/x-pack/plugins/canvas/public/services/workpad.ts b/x-pack/plugins/canvas/public/services/workpad.ts index 82a29cea8de210..72996f54c158d4 100644 --- a/x-pack/plugins/canvas/public/services/workpad.ts +++ b/x-pack/plugins/canvas/public/services/workpad.ts @@ -7,7 +7,7 @@ import { ResolvedSimpleSavedObject } from '@kbn/core/public'; import { CanvasWorkpad, CanvasTemplate } from '../../types'; -import { CanvasRenderedWorkpad } from '../../shareable_runtime/types'; +import type { CanvasRenderedWorkpad } from '../../shareable_runtime/types'; export type FoundWorkpads = Array>; export type FoundWorkpad = FoundWorkpads[number]; diff --git a/x-pack/plugins/canvas/public/state/selectors/workpad.ts b/x-pack/plugins/canvas/public/state/selectors/workpad.ts index 557a6b8acc4e71..359cab63395e4b 100644 --- a/x-pack/plugins/canvas/public/state/selectors/workpad.ts +++ b/x-pack/plugins/canvas/public/state/selectors/workpad.ts @@ -7,7 +7,7 @@ import { get, omit } from 'lodash'; import { safeElementFromExpression, fromExpression } from '@kbn/interpreter'; -import { CanvasRenderedWorkpad } from '../../../shareable_runtime/types'; +import type { CanvasRenderedWorkpad } from '../../../shareable_runtime/types'; import { append } from '../../lib/modify_path'; import { getAssets } from './assets'; import { diff --git a/x-pack/plugins/canvas/server/routes/shareables/download.ts b/x-pack/plugins/canvas/server/routes/shareables/download.ts index 27b3765d240ec5..bec6d3fb194e85 100644 --- a/x-pack/plugins/canvas/server/routes/shareables/download.ts +++ b/x-pack/plugins/canvas/server/routes/shareables/download.ts @@ -6,6 +6,7 @@ */ import { readFileSync } from 'fs'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { SHAREABLE_RUNTIME_FILE } from '../../../shareable_runtime/constants'; import { RouteInitializerDeps } from '..'; import { API_ROUTE_SHAREABLE_RUNTIME_DOWNLOAD } from '../../../common/lib/constants'; diff --git a/x-pack/plugins/canvas/server/routes/shareables/zip.ts b/x-pack/plugins/canvas/server/routes/shareables/zip.ts index 3bc208a57a5663..a0fba57ba63905 100644 --- a/x-pack/plugins/canvas/server/routes/shareables/zip.ts +++ b/x-pack/plugins/canvas/server/routes/shareables/zip.ts @@ -11,6 +11,7 @@ import { SHAREABLE_RUNTIME_FILE, SHAREABLE_RUNTIME_NAME, SHAREABLE_RUNTIME_SRC, + // eslint-disable-next-line @kbn/imports/no_boundary_crossing } from '../../../shareable_runtime/constants'; import { RenderedWorkpadSchema } from './rendered_workpad_schema'; import { RouteInitializerDeps } from '..'; diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/types.ts b/x-pack/plugins/canvas/server/saved_objects/migrations/types.ts index 366e29bf65d2ce..c2ee975d5bedcc 100644 --- a/x-pack/plugins/canvas/server/saved_objects/migrations/types.ts +++ b/x-pack/plugins/canvas/server/saved_objects/migrations/types.ts @@ -4,8 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ExpressionsServiceSetup } from '@kbn/expressions-plugin/public'; +import type { ExpressionsServiceSetup } from '@kbn/expressions-plugin/public'; export interface CanvasSavedObjectTypeMigrationsDeps { expressions: ExpressionsServiceSetup; diff --git a/x-pack/plugins/canvas/shareable_runtime/index.ts b/x-pack/plugins/canvas/shareable_runtime/index.ts index 08de4d4c7ae855..41ecd875c4326e 100644 --- a/x-pack/plugins/canvas/shareable_runtime/index.ts +++ b/x-pack/plugins/canvas/shareable_runtime/index.ts @@ -6,7 +6,6 @@ */ export * from './api'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import '@kbn/core/server/core_app/assets/legacy_light_theme.css'; import '../public/style/index.scss'; import '@elastic/eui/dist/eui_theme_light.css'; diff --git a/x-pack/plugins/canvas/types/filters.ts b/x-pack/plugins/canvas/types/filters.ts index 8529b37e40b1b7..1928ccdf27f17d 100644 --- a/x-pack/plugins/canvas/types/filters.ts +++ b/x-pack/plugins/canvas/types/filters.ts @@ -6,7 +6,7 @@ */ import { FC } from 'react'; -import { ExpressionValueFilter } from '.'; +import { ExpressionValueFilter } from '@kbn/expressions-plugin/common'; export enum FilterType { luceneQueryString = 'luceneQueryString', diff --git a/x-pack/plugins/canvas/types/functions.ts b/x-pack/plugins/canvas/types/functions.ts index fc5f48dd901e30..5dd57c00cc4990 100644 --- a/x-pack/plugins/canvas/types/functions.ts +++ b/x-pack/plugins/canvas/types/functions.ts @@ -6,11 +6,11 @@ */ import { ExpressionFunctionDefinition } from '@kbn/expressions-plugin/common'; -import { functions as commonFunctions } from '../canvas_plugin_src/functions/common'; -import { functions as browserFunctions } from '../canvas_plugin_src/functions/browser'; -import { functions as serverFunctions } from '../canvas_plugin_src/functions/server'; -import { initFunctions as initExternalFunctions } from '../canvas_plugin_src/functions/external'; -import { initFunctions as initClientFunctions } from '../public/functions'; +import type { functions as commonFunctions } from '../canvas_plugin_src/functions/common'; +import type { functions as browserFunctions } from '../canvas_plugin_src/functions/browser'; +import type { functions as serverFunctions } from '../canvas_plugin_src/functions/server'; +import type { initFunctions as initExternalFunctions } from '../canvas_plugin_src/functions/external'; +import type { initFunctions as initClientFunctions } from '../public/functions'; /** * A `ExpressionFunctionFactory` is a powerful type used for any function that produces diff --git a/x-pack/plugins/canvas/types/state.ts b/x-pack/plugins/canvas/types/state.ts index 3946e7388c8363..63caba64fe7104 100644 --- a/x-pack/plugins/canvas/types/state.ts +++ b/x-pack/plugins/canvas/types/state.ts @@ -16,7 +16,7 @@ import { Style, Range, } from '@kbn/expressions-plugin/common'; -import { Datasource, Model, Transform, View } from '../public/expression_types'; +import type { Datasource, Model, Transform, View } from '../public/expression_types'; import { AssetType } from './assets'; import { CanvasWorkpad, Sidebar, Flyouts } from './canvas'; diff --git a/x-pack/plugins/canvas/types/telemetry.ts b/x-pack/plugins/canvas/types/telemetry.ts index 6e46b8c4cbe69a..2f9f6d48ecda76 100644 --- a/x-pack/plugins/canvas/types/telemetry.ts +++ b/x-pack/plugins/canvas/types/telemetry.ts @@ -5,8 +5,7 @@ * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ElasticsearchClient } from '@kbn/core/server'; +import type { ElasticsearchClient } from '@kbn/core/server'; /** Function for collecting information about canvas usage diff --git a/x-pack/plugins/cases/common/api/connectors/index.ts b/x-pack/plugins/cases/common/api/connectors/index.ts index e1e110913de749..5f73f3ae493ac0 100644 --- a/x-pack/plugins/cases/common/api/connectors/index.ts +++ b/x-pack/plugins/cases/common/api/connectors/index.ts @@ -14,7 +14,6 @@ import type { ActionType } from '@kbn/actions-plugin/common'; * disable the linting for the moment */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { ActionResult } from '@kbn/actions-plugin/server/types'; import { JiraFieldsRT } from './jira'; import { ResilientFieldsRT } from './resilient'; diff --git a/x-pack/plugins/cases/public/common/mock/register_connectors.ts b/x-pack/plugins/cases/public/common/mock/register_connectors.ts index ee7063141a693f..594f4f96b4c8e7 100644 --- a/x-pack/plugins/cases/public/common/mock/register_connectors.ts +++ b/x-pack/plugins/cases/public/common/mock/register_connectors.ts @@ -6,7 +6,6 @@ */ import { TriggersAndActionsUIPublicPluginStart } from '@kbn/triggers-actions-ui-plugin/public'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { actionTypeRegistryMock } from '@kbn/triggers-actions-ui-plugin/public/application/action_type_registry.mock'; import { CaseActionConnector } from '../../../common/ui/types'; diff --git a/x-pack/plugins/cases/public/components/configure_cases/index.tsx b/x-pack/plugins/cases/public/components/configure_cases/index.tsx index 2068e6287dadb1..edffb7e1922144 100644 --- a/x-pack/plugins/cases/public/components/configure_cases/index.tsx +++ b/x-pack/plugins/cases/public/components/configure_cases/index.tsx @@ -11,7 +11,6 @@ import styled, { css } from 'styled-components'; import { FormattedMessage } from '@kbn/i18n-react'; import { EuiCallOut, EuiLink } from '@elastic/eui'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { ActionConnectorTableItem } from '@kbn/triggers-actions-ui-plugin/public/types'; import { CasesConnectorFeatureId } from '@kbn/actions-plugin/common'; import { useKibana } from '../../common/lib/kibana'; diff --git a/x-pack/plugins/cases/server/client/attachments/delete.ts b/x-pack/plugins/cases/server/client/attachments/delete.ts index 4a4082c3904c6c..e8ac07d78527fd 100644 --- a/x-pack/plugins/cases/server/client/attachments/delete.ts +++ b/x-pack/plugins/cases/server/client/attachments/delete.ts @@ -8,7 +8,7 @@ import Boom from '@hapi/boom'; import pMap from 'p-map'; -import { SavedObject } from '@kbn/core/public'; +import { SavedObject } from '@kbn/core/server'; import { Actions, ActionTypes, CommentAttributes } from '../../../common/api'; import { CASE_SAVED_OBJECT, MAX_CONCURRENT_SEARCHES } from '../../../common/constants'; import { CasesClientArgs } from '../types'; diff --git a/x-pack/plugins/cases/server/client/cases/types.ts b/x-pack/plugins/cases/server/client/cases/types.ts index 7a9abe061d8cdd..61969deef43711 100644 --- a/x-pack/plugins/cases/server/client/cases/types.ts +++ b/x-pack/plugins/cases/server/client/cases/types.ts @@ -5,7 +5,6 @@ * 2.0. */ -/* eslint-disable @kbn/eslint/no-restricted-paths */ import { PushToServiceApiParams as JiraPushToServiceApiParams, Incident as JiraIncident, diff --git a/x-pack/plugins/cases/server/client/configure/client.ts b/x-pack/plugins/cases/server/client/configure/client.ts index abd57c7e07ed5f..8efc9d82ea3225 100644 --- a/x-pack/plugins/cases/server/client/configure/client.ts +++ b/x-pack/plugins/cases/server/client/configure/client.ts @@ -12,7 +12,6 @@ import { fold } from 'fp-ts/lib/Either'; import { identity } from 'fp-ts/lib/function'; import { SavedObject, SavedObjectsFindResponse, SavedObjectsUtils } from '@kbn/core/server'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { FindActionResult } from '@kbn/actions-plugin/server/types'; import { ActionType, CasesConnectorFeatureId } from '@kbn/actions-plugin/common'; import { diff --git a/x-pack/plugins/cases/server/types.ts b/x-pack/plugins/cases/server/types.ts index 6689fd5a1c16e9..3fe3c0cd72d901 100644 --- a/x-pack/plugins/cases/server/types.ts +++ b/x-pack/plugins/cases/server/types.ts @@ -11,7 +11,6 @@ import { ActionTypeSecrets, ActionTypeParams, ActionType, - // eslint-disable-next-line @kbn/eslint/no-restricted-paths } from '@kbn/actions-plugin/server/types'; import { CasesClient } from './client'; import { AttachmentFramework } from './attachment_framework/types'; diff --git a/x-pack/plugins/data_visualizer/common/constants.ts b/x-pack/plugins/data_visualizer/common/constants.ts index 57d774a94974c8..c4d3c0abac24f2 100644 --- a/x-pack/plugins/data_visualizer/common/constants.ts +++ b/x-pack/plugins/data_visualizer/common/constants.ts @@ -7,7 +7,7 @@ import { i18n } from '@kbn/i18n'; import { KBN_FIELD_TYPES } from '@kbn/data-plugin/common'; -import { DocLinksStart } from '@kbn/core/public'; +import type { DocLinksStart } from '@kbn/core/public'; export const APP_ID = 'data_visualizer'; export const UI_SETTING_MAX_FILE_SIZE = 'fileUpload:maxFileSize'; diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/embedded_map/embedded_map.tsx b/x-pack/plugins/data_visualizer/public/application/common/components/embedded_map/embedded_map.tsx index f7702adaf293df..52bd440fcf4991 100644 --- a/x-pack/plugins/data_visualizer/public/application/common/components/embedded_map/embedded_map.tsx +++ b/x-pack/plugins/data_visualizer/public/application/common/components/embedded_map/embedded_map.tsx @@ -13,7 +13,6 @@ import { MapEmbeddable, MapEmbeddableInput, MapEmbeddableOutput, - // eslint-disable-next-line @kbn/eslint/no-restricted-paths } from '@kbn/maps-plugin/public/embeddable'; import { MAP_SAVED_OBJECT_TYPE, RenderTooltipContentParams } from '@kbn/maps-plugin/public'; import { diff --git a/x-pack/plugins/enterprise_search/common/types/api.ts b/x-pack/plugins/enterprise_search/common/types/api.ts index 786a084e1598de..71ea380711d3f6 100644 --- a/x-pack/plugins/enterprise_search/common/types/api.ts +++ b/x-pack/plugins/enterprise_search/common/types/api.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { HttpResponse } from '@kbn/core/public'; +import type { HttpResponse } from '@kbn/core/public'; import { ErrorCode } from './error_codes'; diff --git a/x-pack/plugins/fleet/common/index.ts b/x-pack/plugins/fleet/common/index.ts index 0b115a1cd1e59f..ced5c17f55f6ff 100644 --- a/x-pack/plugins/fleet/common/index.ts +++ b/x-pack/plugins/fleet/common/index.ts @@ -64,6 +64,7 @@ export { } from './services'; export type { FleetAuthz } from './authz'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing export { createFleetAuthzMock } from './mocks'; export type { // Request/Response diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/remove.test.ts b/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/remove.test.ts index cd544eef82150e..41c25c6d4fd667 100644 --- a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/remove.test.ts +++ b/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/remove.test.ts @@ -7,7 +7,6 @@ import type { SavedObjectsClientContract } from '@kbn/core/server'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { savedObjectsClientMock } from '@kbn/core/server/saved_objects/service/saved_objects_client.mock'; import type { EsAssetReference } from '../../../../../common/types/models'; diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transform.test.ts b/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transform.test.ts index 3155380b6c3655..574d7f2627b42b 100644 --- a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transform.test.ts +++ b/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transform.test.ts @@ -22,7 +22,6 @@ import { errors } from '@elastic/elasticsearch'; import type { SavedObject, SavedObjectsClientContract } from '@kbn/core/server'; import { loggerMock } from '@kbn/logging-mocks'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { savedObjectsClientMock } from '@kbn/core/server/saved_objects/service/saved_objects_client.mock'; import { elasticsearchClientMock } from '@kbn/core-elasticsearch-client-server-mocks'; diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/setup_environment.tsx b/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/setup_environment.tsx index 76bc66b2f1df81..48918312be6010 100644 --- a/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/setup_environment.tsx +++ b/x-pack/plugins/index_management/public/application/components/mappings_editor/__jest__/client_integration/helpers/setup_environment.tsx @@ -8,7 +8,6 @@ import React, { ComponentType, MemoExoticComponent } from 'react'; import SemVer from 'semver/classes/semver'; -/* eslint-disable-next-line @kbn/eslint/no-restricted-paths */ import '@kbn/es-ui-shared-plugin/public/components/code_editor/jest_mock'; import { GlobalFlyout } from '@kbn/es-ui-shared-plugin/public'; import { docLinksServiceMock, uiSettingsServiceMock } from '@kbn/core/public/mocks'; diff --git a/x-pack/plugins/index_management/server/routes/api/component_templates/register_privileges_route.ts b/x-pack/plugins/index_management/server/routes/api/component_templates/register_privileges_route.ts index a8b488fb54c9ad..a053eb44657cbe 100644 --- a/x-pack/plugins/index_management/server/routes/api/component_templates/register_privileges_route.ts +++ b/x-pack/plugins/index_management/server/routes/api/component_templates/register_privileges_route.ts @@ -5,8 +5,7 @@ * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { Privileges } from '@kbn/es-ui-shared-plugin/public'; +import type { Privileges } from '@kbn/es-ui-shared-plugin/public'; import { RouteDependencies } from '../../../types'; import { addBasePath } from '..'; diff --git a/x-pack/plugins/infra/common/inventory_models/aws_ec2/layout.tsx b/x-pack/plugins/infra/common/inventory_models/aws_ec2/layout.tsx index 4d676dfce8ecbf..fccbdf814bb177 100644 --- a/x-pack/plugins/infra/common/inventory_models/aws_ec2/layout.tsx +++ b/x-pack/plugins/infra/common/inventory_models/aws_ec2/layout.tsx @@ -8,17 +8,16 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { withTheme } from '@kbn/kibana-react-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { LayoutPropsWithTheme } from '../../../public/pages/metrics/metric_detail/types'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +import type { LayoutPropsWithTheme } from '../../../public/pages/metrics/metric_detail/types'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { Section } from '../../../public/pages/metrics/metric_detail/components/section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { SubSection } from '../../../public/pages/metrics/metric_detail/components/sub_section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { LayoutContent } from '../../../public/pages/metrics/metric_detail/components/layout_content'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { ChartSectionVis } from '../../../public/pages/metrics/metric_detail/components/chart_section_vis'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { MetadataDetails } from '../../../public/pages/metrics/metric_detail/components/metadata_details'; export const Layout = withTheme(({ metrics, theme, onChangeRangeTime }: LayoutPropsWithTheme) => ( diff --git a/x-pack/plugins/infra/common/inventory_models/aws_ec2/toolbar_items.tsx b/x-pack/plugins/infra/common/inventory_models/aws_ec2/toolbar_items.tsx index c4f2d3479023b6..bb94f05d620117 100644 --- a/x-pack/plugins/infra/common/inventory_models/aws_ec2/toolbar_items.tsx +++ b/x-pack/plugins/infra/common/inventory_models/aws_ec2/toolbar_items.tsx @@ -6,8 +6,7 @@ */ import React from 'react'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ToolbarProps } from '../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; +import type { ToolbarProps } from '../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; import { MetricsAndGroupByToolbarItems } from '../shared/components/metrics_and_groupby_toolbar_items'; import { CloudToolbarItems } from '../shared/components/cloud_toolbar_items'; import { SnapshotMetricType } from '../types'; diff --git a/x-pack/plugins/infra/common/inventory_models/aws_rds/layout.tsx b/x-pack/plugins/infra/common/inventory_models/aws_rds/layout.tsx index 96d82343f593c0..3c52b6ec623d8b 100644 --- a/x-pack/plugins/infra/common/inventory_models/aws_rds/layout.tsx +++ b/x-pack/plugins/infra/common/inventory_models/aws_rds/layout.tsx @@ -8,15 +8,14 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { withTheme } from '@kbn/kibana-react-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { LayoutPropsWithTheme } from '../../../public/pages/metrics/metric_detail/types'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +import type { LayoutPropsWithTheme } from '../../../public/pages/metrics/metric_detail/types'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { Section } from '../../../public/pages/metrics/metric_detail/components/section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { SubSection } from '../../../public/pages/metrics/metric_detail/components/sub_section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { ChartSectionVis } from '../../../public/pages/metrics/metric_detail/components/chart_section_vis'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { LayoutContent } from '../../../public/pages/metrics/metric_detail/components/layout_content'; export const Layout = withTheme(({ metrics, onChangeRangeTime, theme }: LayoutPropsWithTheme) => ( diff --git a/x-pack/plugins/infra/common/inventory_models/aws_rds/toolbar_items.tsx b/x-pack/plugins/infra/common/inventory_models/aws_rds/toolbar_items.tsx index e39ad5ee0f06eb..d952aac75f456d 100644 --- a/x-pack/plugins/infra/common/inventory_models/aws_rds/toolbar_items.tsx +++ b/x-pack/plugins/infra/common/inventory_models/aws_rds/toolbar_items.tsx @@ -6,8 +6,7 @@ */ import React from 'react'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ToolbarProps } from '../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; +import type { ToolbarProps } from '../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; import { MetricsAndGroupByToolbarItems } from '../shared/components/metrics_and_groupby_toolbar_items'; import { CloudToolbarItems } from '../shared/components/cloud_toolbar_items'; import { SnapshotMetricType } from '../types'; diff --git a/x-pack/plugins/infra/common/inventory_models/aws_s3/layout.tsx b/x-pack/plugins/infra/common/inventory_models/aws_s3/layout.tsx index d068748f134a5f..1452f04e4f3800 100644 --- a/x-pack/plugins/infra/common/inventory_models/aws_s3/layout.tsx +++ b/x-pack/plugins/infra/common/inventory_models/aws_s3/layout.tsx @@ -8,15 +8,14 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { withTheme } from '@kbn/kibana-react-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { LayoutPropsWithTheme } from '../../../public/pages/metrics/metric_detail/types'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +import type { LayoutPropsWithTheme } from '../../../public/pages/metrics/metric_detail/types'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { Section } from '../../../public/pages/metrics/metric_detail/components/section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { SubSection } from '../../../public/pages/metrics/metric_detail/components/sub_section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { ChartSectionVis } from '../../../public/pages/metrics/metric_detail/components/chart_section_vis'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { LayoutContent } from '../../../public/pages/metrics/metric_detail/components/layout_content'; export const Layout = withTheme(({ metrics, onChangeRangeTime, theme }: LayoutPropsWithTheme) => ( diff --git a/x-pack/plugins/infra/common/inventory_models/aws_s3/toolbar_items.tsx b/x-pack/plugins/infra/common/inventory_models/aws_s3/toolbar_items.tsx index 064224e92319cc..11e0e172e1d06f 100644 --- a/x-pack/plugins/infra/common/inventory_models/aws_s3/toolbar_items.tsx +++ b/x-pack/plugins/infra/common/inventory_models/aws_s3/toolbar_items.tsx @@ -6,8 +6,7 @@ */ import React from 'react'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ToolbarProps } from '../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; +import type { ToolbarProps } from '../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; import { MetricsAndGroupByToolbarItems } from '../shared/components/metrics_and_groupby_toolbar_items'; import { CloudToolbarItems } from '../shared/components/cloud_toolbar_items'; import { SnapshotMetricType } from '../types'; diff --git a/x-pack/plugins/infra/common/inventory_models/aws_sqs/layout.tsx b/x-pack/plugins/infra/common/inventory_models/aws_sqs/layout.tsx index a06e5b0bb1add9..869105fbd44d8e 100644 --- a/x-pack/plugins/infra/common/inventory_models/aws_sqs/layout.tsx +++ b/x-pack/plugins/infra/common/inventory_models/aws_sqs/layout.tsx @@ -8,15 +8,14 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { withTheme } from '@kbn/kibana-react-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { LayoutPropsWithTheme } from '../../../public/pages/metrics/metric_detail/types'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +import type { LayoutPropsWithTheme } from '../../../public/pages/metrics/metric_detail/types'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { Section } from '../../../public/pages/metrics/metric_detail/components/section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { SubSection } from '../../../public/pages/metrics/metric_detail/components/sub_section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { ChartSectionVis } from '../../../public/pages/metrics/metric_detail/components/chart_section_vis'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { LayoutContent } from '../../../public/pages/metrics/metric_detail/components/layout_content'; export const Layout = withTheme(({ metrics, onChangeRangeTime, theme }: LayoutPropsWithTheme) => ( diff --git a/x-pack/plugins/infra/common/inventory_models/aws_sqs/toolbar_items.tsx b/x-pack/plugins/infra/common/inventory_models/aws_sqs/toolbar_items.tsx index 3a01cd83e1e64e..e58ad2b3c31fc4 100644 --- a/x-pack/plugins/infra/common/inventory_models/aws_sqs/toolbar_items.tsx +++ b/x-pack/plugins/infra/common/inventory_models/aws_sqs/toolbar_items.tsx @@ -6,8 +6,7 @@ */ import React from 'react'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ToolbarProps } from '../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; +import type { ToolbarProps } from '../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; import { MetricsAndGroupByToolbarItems } from '../shared/components/metrics_and_groupby_toolbar_items'; import { CloudToolbarItems } from '../shared/components/cloud_toolbar_items'; import { SnapshotMetricType } from '../types'; diff --git a/x-pack/plugins/infra/common/inventory_models/container/layout.tsx b/x-pack/plugins/infra/common/inventory_models/container/layout.tsx index ec1260ab6100a6..9f39385a64b018 100644 --- a/x-pack/plugins/infra/common/inventory_models/container/layout.tsx +++ b/x-pack/plugins/infra/common/inventory_models/container/layout.tsx @@ -8,19 +8,18 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { withTheme } from '@kbn/kibana-react-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { LayoutPropsWithTheme } from '../../../public/pages/metrics/metric_detail/types'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +import type { LayoutPropsWithTheme } from '../../../public/pages/metrics/metric_detail/types'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { Section } from '../../../public/pages/metrics/metric_detail/components/section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { SubSection } from '../../../public/pages/metrics/metric_detail/components/sub_section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { GaugesSectionVis } from '../../../public/pages/metrics/metric_detail/components/gauges_section_vis'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { ChartSectionVis } from '../../../public/pages/metrics/metric_detail/components/chart_section_vis'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { LayoutContent } from '../../../public/pages/metrics/metric_detail/components/layout_content'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { MetadataDetails } from '../../../public/pages/metrics/metric_detail/components/metadata_details'; export const Layout = withTheme(({ metrics, onChangeRangeTime, theme }: LayoutPropsWithTheme) => ( diff --git a/x-pack/plugins/infra/common/inventory_models/container/toolbar_items.tsx b/x-pack/plugins/infra/common/inventory_models/container/toolbar_items.tsx index 640d0c8eced9d3..62698b586a6824 100644 --- a/x-pack/plugins/infra/common/inventory_models/container/toolbar_items.tsx +++ b/x-pack/plugins/infra/common/inventory_models/container/toolbar_items.tsx @@ -6,8 +6,7 @@ */ import React from 'react'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ToolbarProps } from '../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; +import type { ToolbarProps } from '../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; import { MetricsAndGroupByToolbarItems } from '../shared/components/metrics_and_groupby_toolbar_items'; import { SnapshotMetricType } from '../types'; diff --git a/x-pack/plugins/infra/common/inventory_models/host/layout.tsx b/x-pack/plugins/infra/common/inventory_models/host/layout.tsx index 0f634048a5a8b1..40ef6055cb0aa4 100644 --- a/x-pack/plugins/infra/common/inventory_models/host/layout.tsx +++ b/x-pack/plugins/infra/common/inventory_models/host/layout.tsx @@ -8,21 +8,20 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { withTheme } from '@kbn/kibana-react-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { LayoutPropsWithTheme } from '../../../public/pages/metrics/metric_detail/types'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +import type { LayoutPropsWithTheme } from '../../../public/pages/metrics/metric_detail/types'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { Section } from '../../../public/pages/metrics/metric_detail/components/section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { SubSection } from '../../../public/pages/metrics/metric_detail/components/sub_section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { GaugesSectionVis } from '../../../public/pages/metrics/metric_detail/components/gauges_section_vis'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { ChartSectionVis } from '../../../public/pages/metrics/metric_detail/components/chart_section_vis'; import * as Aws from '../shared/layouts/aws'; import * as Ngnix from '../shared/layouts/nginx'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { MetadataDetails } from '../../../public/pages/metrics/metric_detail/components/metadata_details'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { LayoutContent } from '../../../public/pages/metrics/metric_detail/components/layout_content'; export const Layout = withTheme(({ metrics, onChangeRangeTime, theme }: LayoutPropsWithTheme) => ( diff --git a/x-pack/plugins/infra/common/inventory_models/host/toolbar_items.tsx b/x-pack/plugins/infra/common/inventory_models/host/toolbar_items.tsx index 5976b9d8dc65aa..d5d9a7cd2d2ad7 100644 --- a/x-pack/plugins/infra/common/inventory_models/host/toolbar_items.tsx +++ b/x-pack/plugins/infra/common/inventory_models/host/toolbar_items.tsx @@ -6,8 +6,7 @@ */ import React from 'react'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ToolbarProps } from '../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; +import type { ToolbarProps } from '../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; import { MetricsAndGroupByToolbarItems } from '../shared/components/metrics_and_groupby_toolbar_items'; import { SnapshotMetricType } from '../types'; diff --git a/x-pack/plugins/infra/common/inventory_models/layouts.ts b/x-pack/plugins/infra/common/inventory_models/layouts.ts index 361c6b67168fe8..8886118d733b2d 100644 --- a/x-pack/plugins/infra/common/inventory_models/layouts.ts +++ b/x-pack/plugins/infra/common/inventory_models/layouts.ts @@ -23,8 +23,7 @@ import { Layout as AwsS3Layout } from './aws_s3/layout'; import { Layout as AwsRDSLayout } from './aws_rds/layout'; import { Layout as AwsSQSLayout } from './aws_sqs/layout'; import { InventoryItemType } from './types'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { LayoutProps } from '../../public/pages/metrics/metric_detail/types'; +import type { LayoutProps } from '../../public/pages/metrics/metric_detail/types'; interface Layouts { [type: string]: ReactNode; diff --git a/x-pack/plugins/infra/common/inventory_models/pod/layout.tsx b/x-pack/plugins/infra/common/inventory_models/pod/layout.tsx index 88c5a25d17b9da..5f1d619c334f71 100644 --- a/x-pack/plugins/infra/common/inventory_models/pod/layout.tsx +++ b/x-pack/plugins/infra/common/inventory_models/pod/layout.tsx @@ -8,20 +8,19 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { withTheme } from '@kbn/kibana-react-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { LayoutPropsWithTheme } from '../../../public/pages/metrics/metric_detail/types'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +import type { LayoutPropsWithTheme } from '../../../public/pages/metrics/metric_detail/types'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { Section } from '../../../public/pages/metrics/metric_detail/components/section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { SubSection } from '../../../public/pages/metrics/metric_detail/components/sub_section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { GaugesSectionVis } from '../../../public/pages/metrics/metric_detail/components/gauges_section_vis'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { ChartSectionVis } from '../../../public/pages/metrics/metric_detail/components/chart_section_vis'; import * as Nginx from '../shared/layouts/nginx'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { MetadataDetails } from '../../../public/pages/metrics/metric_detail/components/metadata_details'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { LayoutContent } from '../../../public/pages/metrics/metric_detail/components/layout_content'; export const Layout = withTheme(({ metrics, onChangeRangeTime, theme }: LayoutPropsWithTheme) => ( diff --git a/x-pack/plugins/infra/common/inventory_models/pod/toolbar_items.tsx b/x-pack/plugins/infra/common/inventory_models/pod/toolbar_items.tsx index 1c859c5bd116a0..1b9fc9c9d1ecb2 100644 --- a/x-pack/plugins/infra/common/inventory_models/pod/toolbar_items.tsx +++ b/x-pack/plugins/infra/common/inventory_models/pod/toolbar_items.tsx @@ -6,8 +6,7 @@ */ import React from 'react'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ToolbarProps } from '../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; +import type { ToolbarProps } from '../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; import { MetricsAndGroupByToolbarItems } from '../shared/components/metrics_and_groupby_toolbar_items'; import { SnapshotMetricType } from '../types'; diff --git a/x-pack/plugins/infra/common/inventory_models/shared/components/cloud_toolbar_items.tsx b/x-pack/plugins/infra/common/inventory_models/shared/components/cloud_toolbar_items.tsx index 111519de3b61da..338d56a4d6c31f 100644 --- a/x-pack/plugins/infra/common/inventory_models/shared/components/cloud_toolbar_items.tsx +++ b/x-pack/plugins/infra/common/inventory_models/shared/components/cloud_toolbar_items.tsx @@ -7,11 +7,10 @@ import React from 'react'; import { EuiFlexItem } from '@elastic/eui'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ToolbarProps } from '../../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +import type { ToolbarProps } from '../../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { WaffleAccountsControls } from '../../../../public/pages/metrics/inventory_view/components/waffle/waffle_accounts_controls'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { WaffleRegionControls } from '../../../../public/pages/metrics/inventory_view/components/waffle/waffle_region_controls'; type Props = ToolbarProps; diff --git a/x-pack/plugins/infra/common/inventory_models/shared/components/metrics_and_groupby_toolbar_items.tsx b/x-pack/plugins/infra/common/inventory_models/shared/components/metrics_and_groupby_toolbar_items.tsx index 9b4b054c171394..49902df21c3507 100644 --- a/x-pack/plugins/infra/common/inventory_models/shared/components/metrics_and_groupby_toolbar_items.tsx +++ b/x-pack/plugins/infra/common/inventory_models/shared/components/metrics_and_groupby_toolbar_items.tsx @@ -8,17 +8,16 @@ import React, { useMemo } from 'react'; import { EuiFlexItem } from '@elastic/eui'; import { toMetricOpt } from '../../../snapshot_metric_i18n'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { WaffleSortControls } from '../../../../public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ToolbarProps } from '../../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +import type { ToolbarProps } from '../../../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { WaffleMetricControls } from '../../../../public/pages/metrics/inventory_view/components/waffle/metric_control'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { WaffleGroupByControls } from '../../../../public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls'; import { toGroupByOpt, - // eslint-disable-next-line @kbn/eslint/no-restricted-paths + // eslint-disable-next-line @kbn/imports/no_boundary_crossing } from '../../../../public/pages/metrics/inventory_view/components/toolbars/toolbar_wrapper'; import { SnapshotMetricType } from '../../types'; diff --git a/x-pack/plugins/infra/common/inventory_models/shared/layouts/aws.tsx b/x-pack/plugins/infra/common/inventory_models/shared/layouts/aws.tsx index 8a8964f121f036..e326b004299af2 100644 --- a/x-pack/plugins/infra/common/inventory_models/shared/layouts/aws.tsx +++ b/x-pack/plugins/infra/common/inventory_models/shared/layouts/aws.tsx @@ -8,15 +8,14 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { withTheme } from '@kbn/kibana-react-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { LayoutPropsWithTheme } from '../../../../public/pages/metrics/metric_detail/types'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +import type { LayoutPropsWithTheme } from '../../../../public/pages/metrics/metric_detail/types'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { Section } from '../../../../public/pages/metrics/metric_detail/components/section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { SubSection } from '../../../../public/pages/metrics/metric_detail/components/sub_section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { GaugesSectionVis } from '../../../../public/pages/metrics/metric_detail/components/gauges_section_vis'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { ChartSectionVis } from '../../../../public/pages/metrics/metric_detail/components/chart_section_vis'; export const Layout = withTheme(({ metrics, onChangeRangeTime, theme }: LayoutPropsWithTheme) => ( diff --git a/x-pack/plugins/infra/common/inventory_models/shared/layouts/nginx.tsx b/x-pack/plugins/infra/common/inventory_models/shared/layouts/nginx.tsx index d679a596d51e3b..f5be0461d4a9d1 100644 --- a/x-pack/plugins/infra/common/inventory_models/shared/layouts/nginx.tsx +++ b/x-pack/plugins/infra/common/inventory_models/shared/layouts/nginx.tsx @@ -8,13 +8,12 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { withTheme } from '@kbn/kibana-react-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { LayoutPropsWithTheme } from '../../../../public/pages/metrics/metric_detail/types'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +import type { LayoutPropsWithTheme } from '../../../../public/pages/metrics/metric_detail/types'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { Section } from '../../../../public/pages/metrics/metric_detail/components/section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { SubSection } from '../../../../public/pages/metrics/metric_detail/components/sub_section'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { ChartSectionVis } from '../../../../public/pages/metrics/metric_detail/components/chart_section_vis'; export const Layout = withTheme(({ metrics, onChangeRangeTime, theme }: LayoutPropsWithTheme) => ( diff --git a/x-pack/plugins/infra/common/inventory_models/toolbars.ts b/x-pack/plugins/infra/common/inventory_models/toolbars.ts index 54c06769381717..43bcab343d7c6d 100644 --- a/x-pack/plugins/infra/common/inventory_models/toolbars.ts +++ b/x-pack/plugins/infra/common/inventory_models/toolbars.ts @@ -11,8 +11,7 @@ import { InventoryItemType } from './types'; import { HostToolbarItems } from './host/toolbar_items'; import { ContainerToolbarItems } from './container/toolbar_items'; import { PodToolbarItems } from './pod/toolbar_items'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ToolbarProps } from '../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; +import type { ToolbarProps } from '../../public/pages/metrics/inventory_view/components/toolbars/toolbar'; import { AwsEC2ToolbarItems } from './aws_ec2/toolbar_items'; import { AwsS3ToolbarItems } from './aws_s3/toolbar_items'; import { AwsRDSToolbarItems } from './aws_rds/toolbar_items'; diff --git a/x-pack/plugins/infra/common/runtime_types.ts b/x-pack/plugins/infra/common/runtime_types.ts index d77caa52c3c988..dc7bb45a6c20e7 100644 --- a/x-pack/plugins/infra/common/runtime_types.ts +++ b/x-pack/plugins/infra/common/runtime_types.ts @@ -9,7 +9,6 @@ import { fold } from 'fp-ts/lib/Either'; import { identity } from 'fp-ts/lib/function'; import { pipe } from 'fp-ts/lib/pipeable'; import { Context, Errors, IntersectionType, Type, UnionType, ValidationError } from 'io-ts'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { RouteValidationFunction } from '@kbn/core/server'; type ErrorFactory = (message: string) => Error; diff --git a/x-pack/plugins/infra/common/saved_objects/inventory_view.ts b/x-pack/plugins/infra/common/saved_objects/inventory_view.ts index 4921f38853d125..7e935086cb08a9 100644 --- a/x-pack/plugins/infra/common/saved_objects/inventory_view.ts +++ b/x-pack/plugins/infra/common/saved_objects/inventory_view.ts @@ -5,8 +5,7 @@ * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { SavedObjectsType } from '@kbn/core/server'; +import type { SavedObjectsType } from '@kbn/core/server'; export const inventoryViewSavedObjectName = 'inventory-view'; diff --git a/x-pack/plugins/infra/common/saved_objects/metrics_explorer_view.ts b/x-pack/plugins/infra/common/saved_objects/metrics_explorer_view.ts index 71b78872639898..7f7ca7a932203e 100644 --- a/x-pack/plugins/infra/common/saved_objects/metrics_explorer_view.ts +++ b/x-pack/plugins/infra/common/saved_objects/metrics_explorer_view.ts @@ -5,8 +5,7 @@ * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { SavedObjectsType } from '@kbn/core/server'; +import type { SavedObjectsType } from '@kbn/core/server'; export const metricsExplorerViewSavedObjectName = 'metrics-explorer-view'; diff --git a/x-pack/plugins/infra/public/containers/ml/modules/metrics_hosts/module_descriptor.ts b/x-pack/plugins/infra/public/containers/ml/modules/metrics_hosts/module_descriptor.ts index 69c21dd1cfc7d1..1b7899e517999b 100644 --- a/x-pack/plugins/infra/public/containers/ml/modules/metrics_hosts/module_descriptor.ts +++ b/x-pack/plugins/infra/public/containers/ml/modules/metrics_hosts/module_descriptor.ts @@ -7,17 +7,11 @@ import { i18n } from '@kbn/i18n'; import { HttpHandler } from '@kbn/core/public'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import MemoryJob from '@kbn/ml-plugin/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_memory_usage.json'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import MemoryDatafeed from '@kbn/ml-plugin/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_memory_usage.json'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import NetworkInJob from '@kbn/ml-plugin/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_in.json'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import NetworkInDatafeed from '@kbn/ml-plugin/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_in.json'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import NetworkOutJob from '@kbn/ml-plugin/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_out.json'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import NetworkOutDatafeed from '@kbn/ml-plugin/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_out.json'; import { ModuleDescriptor, SetUpModuleArgs } from '../../infra_ml_module_types'; import { cleanUpJobsAndDatafeeds } from '../../infra_ml_cleanup'; diff --git a/x-pack/plugins/infra/public/containers/ml/modules/metrics_k8s/module_descriptor.ts b/x-pack/plugins/infra/public/containers/ml/modules/metrics_k8s/module_descriptor.ts index e1290833dc9343..88fe64e91f3ed5 100644 --- a/x-pack/plugins/infra/public/containers/ml/modules/metrics_k8s/module_descriptor.ts +++ b/x-pack/plugins/infra/public/containers/ml/modules/metrics_k8s/module_descriptor.ts @@ -7,17 +7,11 @@ import { i18n } from '@kbn/i18n'; import { HttpHandler } from '@kbn/core/public'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import MemoryJob from '@kbn/ml-plugin/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_memory_usage.json'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import MemoryDatafeed from '@kbn/ml-plugin/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_memory_usage.json'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import NetworkInJob from '@kbn/ml-plugin/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_in.json'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import NetworkInDatafeed from '@kbn/ml-plugin/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_in.json'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import NetworkOutJob from '@kbn/ml-plugin/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_out.json'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import NetworkOutDatafeed from '@kbn/ml-plugin/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_out.json'; import { ModuleDescriptor, SetUpModuleArgs } from '../../infra_ml_module_types'; import { cleanUpJobsAndDatafeeds } from '../../infra_ml_cleanup'; diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts b/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts index 53ff7e318e1f83..8c062b2188a10f 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts @@ -10,7 +10,7 @@ import { identity } from 'fp-ts/lib/function'; import { pipe } from 'fp-ts/lib/pipeable'; import { first } from 'lodash'; import { useEffect, useMemo, useCallback } from 'react'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { getIntervalInSeconds } from '../../../../../server/utils/get_interval_in_seconds'; import { throwErrors, createPlainError } from '../../../../../common/runtime_types'; import { useHTTPRequest } from '../../../../hooks/use_http_request'; diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/test_pipeline.helpers.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/test_pipeline.helpers.tsx index 2da97306eee1c0..7fe4d9c5515d0e 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/test_pipeline.helpers.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/__jest__/test_pipeline.helpers.tsx @@ -14,7 +14,6 @@ import { HttpSetup } from '@kbn/core/public'; import { registerTestBed, TestBed } from '@kbn/test-jest-helpers'; import { stubWebWorker } from '@kbn/test-jest-helpers'; -/* eslint-disable-next-line @kbn/eslint/no-restricted-paths */ import '@kbn/es-ui-shared-plugin/public/components/code_editor/jest_mock'; import { uiMetricService, apiService } from '../../../services'; import { Props } from '..'; diff --git a/x-pack/plugins/license_api_guard/server/shared_imports.ts b/x-pack/plugins/license_api_guard/server/shared_imports.ts index f3f1faf0d9f56c..19688fa2e7ea02 100644 --- a/x-pack/plugins/license_api_guard/server/shared_imports.ts +++ b/x-pack/plugins/license_api_guard/server/shared_imports.ts @@ -9,4 +9,5 @@ export type { ILicense, LicenseType, LicenseCheckState } from '@kbn/licensing-pl export type { LicensingPluginStart } from '@kbn/licensing-plugin/server'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing export { licensingMock } from '@kbn/licensing-plugin/server/mocks'; diff --git a/x-pack/plugins/license_management/__jest__/util/util.js b/x-pack/plugins/license_management/__jest__/util/util.js index 7e6ffdd60431cb..8830f672a1019c 100644 --- a/x-pack/plugins/license_management/__jest__/util/util.js +++ b/x-pack/plugins/license_management/__jest__/util/util.js @@ -5,8 +5,6 @@ * 2.0. */ -/* eslint-disable @kbn/eslint/no-restricted-paths */ - import React from 'react'; import { Provider } from 'react-redux'; diff --git a/x-pack/plugins/ml/common/types/capabilities.ts b/x-pack/plugins/ml/common/types/capabilities.ts index b04c5b1cc91419..7e03746684540d 100644 --- a/x-pack/plugins/ml/common/types/capabilities.ts +++ b/x-pack/plugins/ml/common/types/capabilities.ts @@ -5,8 +5,7 @@ * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { KibanaRequest } from '@kbn/core/server'; +import type { KibanaRequest } from '@kbn/core/server'; import { PLUGIN_ID } from '../constants/app'; import { ML_JOB_SAVED_OBJECT_TYPE, diff --git a/x-pack/plugins/ml/common/types/locator.ts b/x-pack/plugins/ml/common/types/locator.ts index 7fa56529d58a90..adb873a3d7c6bf 100644 --- a/x-pack/plugins/ml/common/types/locator.ts +++ b/x-pack/plugins/ml/common/types/locator.ts @@ -6,7 +6,6 @@ */ import type { SerializableRecord } from '@kbn/utility-types'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { LocatorPublic } from '@kbn/share-plugin/public'; import type { RefreshInterval, TimeRange } from '@kbn/data-plugin/common/query'; import type { JobId } from './anomaly_detection_jobs/job'; diff --git a/x-pack/plugins/ml/common/types/modules.ts b/x-pack/plugins/ml/common/types/modules.ts index 6b6fc72c091c29..dd9f098cabe1c7 100644 --- a/x-pack/plugins/ml/common/types/modules.ts +++ b/x-pack/plugins/ml/common/types/modules.ts @@ -5,9 +5,9 @@ * 2.0. */ -import { SavedObjectAttributes } from '@kbn/core/public'; -import { Datafeed, Job } from './anomaly_detection_jobs'; -import { ErrorType } from '../util/errors'; +import type { SavedObjectAttributes } from '@kbn/core/types'; +import type { Datafeed, Job } from './anomaly_detection_jobs'; +import type { ErrorType } from '../util/errors'; export interface ModuleJob { id: string; diff --git a/x-pack/plugins/ml/shared_imports.ts b/x-pack/plugins/ml/shared_imports.ts index 33a84886aaaecb..25f78cce556118 100644 --- a/x-pack/plugins/ml/shared_imports.ts +++ b/x-pack/plugins/ml/shared_imports.ts @@ -5,9 +5,11 @@ * 2.0. */ +// eslint-disable-next-line @kbn/imports/no_boundary_crossing export { EuiCodeEditor } from '@kbn/es-ui-shared-plugin/public'; export type { EuiCodeEditorProps } from '@kbn/es-ui-shared-plugin/public'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { XJson } from '@kbn/es-ui-shared-plugin/public'; const { collapseLiteralStrings, expandLiteralStrings } = XJson; diff --git a/x-pack/plugins/monitoring/common/ccs_utils.ts b/x-pack/plugins/monitoring/common/ccs_utils.ts index fea8f79bbfbbf6..40ee0f34500f3a 100644 --- a/x-pack/plugins/monitoring/common/ccs_utils.ts +++ b/x-pack/plugins/monitoring/common/ccs_utils.ts @@ -5,7 +5,6 @@ * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { MonitoringConfig } from '../server/config'; /** diff --git a/x-pack/plugins/monitoring/public/alerts/components/param_details_form/validation.tsx b/x-pack/plugins/monitoring/public/alerts/components/param_details_form/validation.tsx index 814901e318a3ab..ede3e3167828c5 100644 --- a/x-pack/plugins/monitoring/public/alerts/components/param_details_form/validation.tsx +++ b/x-pack/plugins/monitoring/public/alerts/components/param_details_form/validation.tsx @@ -7,7 +7,6 @@ import { i18n } from '@kbn/i18n'; import { RuleTypeParams } from '@kbn/alerting-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { ValidationResult } from '@kbn/triggers-actions-ui-plugin/public/types'; export type MonitoringAlertTypeParams = ValidateOptions & RuleTypeParams; diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx b/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx index b442a60c8506ce..ca242175628800 100644 --- a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx +++ b/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx @@ -6,7 +6,6 @@ */ import { i18n } from '@kbn/i18n'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { ValidationResult } from '@kbn/triggers-actions-ui-plugin/public/types'; export function validate(opts: any): ValidationResult { diff --git a/x-pack/plugins/monitoring/public/legacy_shims.ts b/x-pack/plugins/monitoring/public/legacy_shims.ts index 7477150b104921..88b102b00755b9 100644 --- a/x-pack/plugins/monitoring/public/legacy_shims.ts +++ b/x-pack/plugins/monitoring/public/legacy_shims.ts @@ -19,9 +19,7 @@ import { import { Observable } from 'rxjs'; import { HttpRequestInit } from '@kbn/core/public'; import { TriggersAndActionsUIPublicPluginStart } from '@kbn/triggers-actions-ui-plugin/public'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { TypeRegistry } from '@kbn/triggers-actions-ui-plugin/public/application/type_registry'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { ActionTypeModel, RuleTypeModel } from '@kbn/triggers-actions-ui-plugin/public/types'; import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/public'; import { diff --git a/x-pack/plugins/monitoring/public/types.ts b/x-pack/plugins/monitoring/public/types.ts index 554b08f0f6ce2a..af232cbbf302ae 100644 --- a/x-pack/plugins/monitoring/public/types.ts +++ b/x-pack/plugins/monitoring/public/types.ts @@ -10,9 +10,7 @@ import { NavigationPublicPluginStart as NavigationStart } from '@kbn/navigation- import { DataPublicPluginStart } from '@kbn/data-plugin/public'; import { TriggersAndActionsUIPublicPluginStart } from '@kbn/triggers-actions-ui-plugin/public'; import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/public'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths export type { MonitoringConfig } from '../server'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths export type { MLJobs } from '../server/lib/elasticsearch/get_ml_jobs'; import { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public'; diff --git a/x-pack/plugins/observability/common/utils/get_inspect_response.ts b/x-pack/plugins/observability/common/utils/get_inspect_response.ts index cfcfceb72752fa..6af29c16d0457e 100644 --- a/x-pack/plugins/observability/common/utils/get_inspect_response.ts +++ b/x-pack/plugins/observability/common/utils/get_inspect_response.ts @@ -6,7 +6,6 @@ */ import { i18n } from '@kbn/i18n'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { KibanaRequest } from '@kbn/core/server'; import type { RequestStatistics, RequestStatus } from '@kbn/inspector-plugin/common'; import { InspectResponse } from '../../typings/common'; diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx index 9e649b06979ec9..8e0ac0d3505f58 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx @@ -22,7 +22,6 @@ import { coreMock, themeServiceMock } from '@kbn/core/public/mocks'; import { KibanaContextProvider, KibanaServices } from '@kbn/kibana-react-plugin/public'; import { EuiThemeProvider } from '@kbn/kibana-react-plugin/common'; import { lensPluginMock } from '@kbn/lens-plugin/public/mocks'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { setIndexPatterns } from '@kbn/unified-search-plugin/public/services'; import type { DataView, DataViewsContract } from '@kbn/data-views-plugin/public'; import { createStubDataView } from '@kbn/data-views-plugin/common/stubs'; diff --git a/x-pack/plugins/observability/public/services/call_observability_api/types.ts b/x-pack/plugins/observability/public/services/call_observability_api/types.ts index 014688826ada7e..2d0231033ced70 100644 --- a/x-pack/plugins/observability/public/services/call_observability_api/types.ts +++ b/x-pack/plugins/observability/public/services/call_observability_api/types.ts @@ -11,7 +11,6 @@ import type { AbstractObservabilityServerRouteRepository, ObservabilityServerRouteRepository, ObservabilityAPIReturnType, - // eslint-disable-next-line @kbn/eslint/no-restricted-paths } from '../../../server'; export type ObservabilityClientOptions = Omit< diff --git a/x-pack/plugins/osquery/public/shared_imports.ts b/x-pack/plugins/osquery/public/shared_imports.ts index eef2814bae0e37..a1855d0ff0bcd0 100644 --- a/x-pack/plugins/osquery/public/shared_imports.ts +++ b/x-pack/plugins/osquery/public/shared_imports.ts @@ -16,6 +16,8 @@ export type { ValidationError, ValidationFunc, ValidationFuncArg, + ArrayItem, + FormArrayField, } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; export { getUseField, @@ -24,8 +26,6 @@ export { Form, FormDataProvider, UseArray, - ArrayItem, - FormArrayField, UseField, UseMultiFields, useForm, diff --git a/x-pack/plugins/remote_clusters/server/routes/api/types.ts b/x-pack/plugins/remote_clusters/server/routes/api/types.ts index 95778390bfc8dd..d2807de6b814fe 100644 --- a/x-pack/plugins/remote_clusters/server/routes/api/types.ts +++ b/x-pack/plugins/remote_clusters/server/routes/api/types.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { elasticsearchServiceMock } from '@kbn/core/server/mocks'; +import type { elasticsearchServiceMock } from '@kbn/core/server/mocks'; export type ScopedClusterClientMock = ReturnType< typeof elasticsearchServiceMock.createScopedClusterClient diff --git a/x-pack/plugins/reporting/common/types/index.ts b/x-pack/plugins/reporting/common/types/index.ts index 6cf7b02a8b3a00..1f5abe08403171 100644 --- a/x-pack/plugins/reporting/common/types/index.ts +++ b/x-pack/plugins/reporting/common/types/index.ts @@ -5,7 +5,6 @@ * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { PdfScreenshotResult, PngScreenshotResult } from '@kbn/screenshotting-plugin/server'; import type { BaseParams, BaseParamsV2, BasePayload, BasePayloadV2, JobId } from './base'; diff --git a/x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts b/x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts index 4ec1cab6710009..5a6fa38279c240 100644 --- a/x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts +++ b/x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts @@ -22,7 +22,6 @@ import { fieldFormatsMock } from '@kbn/field-formats-plugin/common/mocks'; import { DeepPartial } from 'utility-types'; import { featuresPluginMock } from '@kbn/features-plugin/server/mocks'; import { licensingMock } from '@kbn/licensing-plugin/server/mocks'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { createMockScreenshottingStart } from '@kbn/screenshotting-plugin/server/mock'; import { securityMock } from '@kbn/security-plugin/server/mocks'; import { taskManagerMock } from '@kbn/task-manager-plugin/server/mocks'; diff --git a/x-pack/plugins/reporting/server/types.ts b/x-pack/plugins/reporting/server/types.ts index f660690c6a755d..ac81bb0393a03d 100644 --- a/x-pack/plugins/reporting/server/types.ts +++ b/x-pack/plugins/reporting/server/types.ts @@ -6,7 +6,6 @@ */ import type { IRouter, Logger, CustomRequestHandlerContext } from '@kbn/core/server'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { DataPluginStart } from '@kbn/data-plugin/server/plugin'; import { FieldFormatsStart } from '@kbn/field-formats-plugin/server'; import type { ScreenshotModePluginSetup } from '@kbn/screenshot-mode-plugin/server'; diff --git a/x-pack/plugins/rule_registry/server/mocks.ts b/x-pack/plugins/rule_registry/server/mocks.ts index 023de6aa6029c0..7ab1391ca1dec8 100644 --- a/x-pack/plugins/rule_registry/server/mocks.ts +++ b/x-pack/plugins/rule_registry/server/mocks.ts @@ -11,7 +11,7 @@ import { ruleDataServiceMock, RuleDataServiceMock, } from './rule_data_plugin_service/rule_data_plugin_service.mock'; -import { createLifecycleAlertServicesMock } from './utils/lifecycle_alert_services_mock'; +import { createLifecycleAlertServicesMock } from './utils/lifecycle_alert_services.mock'; export const ruleRegistryMocks = { createLifecycleAlertServices: createLifecycleAlertServicesMock, diff --git a/x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.test.ts b/x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.test.ts index 2d49c09f007f73..f0190ef7adf678 100644 --- a/x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.test.ts +++ b/x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.test.ts @@ -25,7 +25,7 @@ import { } from '../../common/technical_rule_data_field_names'; import { createRuleDataClientMock } from '../rule_data_client/rule_data_client.mock'; import { createLifecycleExecutor } from './create_lifecycle_executor'; -import { createDefaultAlertExecutorOptions } from './rule_executor_test_utils'; +import { createDefaultAlertExecutorOptions } from './rule_executor.test_helpers'; describe('createLifecycleExecutor', () => { it('wraps and unwraps the original executor state', async () => { diff --git a/x-pack/plugins/rule_registry/server/utils/lifecycle_alert_services_mock.ts b/x-pack/plugins/rule_registry/server/utils/lifecycle_alert_services.mock.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/lifecycle_alert_services_mock.ts rename to x-pack/plugins/rule_registry/server/utils/lifecycle_alert_services.mock.ts diff --git a/x-pack/plugins/rule_registry/server/utils/rule_executor_test_utils.ts b/x-pack/plugins/rule_registry/server/utils/rule_executor.test_helpers.ts similarity index 100% rename from x-pack/plugins/rule_registry/server/utils/rule_executor_test_utils.ts rename to x-pack/plugins/rule_registry/server/utils/rule_executor.test_helpers.ts diff --git a/x-pack/plugins/screenshotting/server/formats/pdf/pdf_maker/worker_src_harness.js b/x-pack/plugins/screenshotting/server/formats/pdf/pdf_maker/worker_src_harness.js index 0b6dde0a3eeb01..ca319ace9d027e 100644 --- a/x-pack/plugins/screenshotting/server/formats/pdf/pdf_maker/worker_src_harness.js +++ b/x-pack/plugins/screenshotting/server/formats/pdf/pdf_maker/worker_src_harness.js @@ -10,6 +10,7 @@ * The TS file needs to be compiled on the fly, unlike when Kibana is running as a dist. */ +// eslint-disable-next-line @kbn/imports/no_boundary_crossing require('../../../../../../../src/setup_node_env'); // eslint-disable-next-line @kbn/imports/uniform_imports require('./worker.ts'); diff --git a/x-pack/plugins/security/common/model/deprecations.ts b/x-pack/plugins/security/common/model/deprecations.ts index 66dd7d7dabac54..3fa9bd40198182 100644 --- a/x-pack/plugins/security/common/model/deprecations.ts +++ b/x-pack/plugins/security/common/model/deprecations.ts @@ -5,7 +5,6 @@ * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { DeprecationsDetails, GetDeprecationsContext } from '@kbn/core/server'; import type { Role } from './role'; diff --git a/x-pack/plugins/security/public/management/roles/__fixtures__/kibana_privileges.ts b/x-pack/plugins/security/public/management/roles/__fixtures__/kibana_privileges.ts index ac466d2d72540f..72dd21dc2e3ac0 100644 --- a/x-pack/plugins/security/public/management/roles/__fixtures__/kibana_privileges.ts +++ b/x-pack/plugins/security/public/management/roles/__fixtures__/kibana_privileges.ts @@ -6,15 +6,11 @@ */ import type { KibanaFeature } from '@kbn/features-plugin/public'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { featuresPluginMock } from '@kbn/features-plugin/server/mocks'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { LicenseType } from '@kbn/licensing-plugin/server'; import type { SecurityLicenseFeatures } from '../../../../common/licensing'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { Actions } from '../../../../server/authorization'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { privilegesFactory } from '../../../../server/authorization/privileges'; import { KibanaPrivileges } from '../model'; diff --git a/x-pack/plugins/security/server/prompt_page.tsx b/x-pack/plugins/security/server/prompt_page.tsx index 276af2b7e7ec46..7b9e2e74dcb836 100644 --- a/x-pack/plugins/security/server/prompt_page.tsx +++ b/x-pack/plugins/security/server/prompt_page.tsx @@ -15,7 +15,6 @@ import type { ReactNode } from 'react'; import React from 'react'; import type { IBasePath } from '@kbn/core/server'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { Fonts } from '@kbn/core/server/rendering/views/fonts'; import { i18n } from '@kbn/i18n'; import { I18nProvider } from '@kbn/i18n-react'; diff --git a/x-pack/plugins/security_solution/common/endpoint/data_generators/host_isolation_exception_generator.ts b/x-pack/plugins/security_solution/common/endpoint/data_generators/host_isolation_exception_generator.ts index a54f3b6a21aa05..0103c81b1c1852 100644 --- a/x-pack/plugins/security_solution/common/endpoint/data_generators/host_isolation_exception_generator.ts +++ b/x-pack/plugins/security_solution/common/endpoint/data_generators/host_isolation_exception_generator.ts @@ -7,6 +7,7 @@ import type { CreateExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; import { ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_ID } from '@kbn/securitysolution-list-constants'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { getCreateExceptionListItemSchemaMock } from '@kbn/lists-plugin/common/schemas/request/create_exception_list_item_schema.mock'; import { BaseDataGenerator } from './base_data_generator'; diff --git a/x-pack/plugins/security_solution/common/endpoint/service/authz/index.ts b/x-pack/plugins/security_solution/common/endpoint/service/authz/index.ts index 975d28eb9dcbfe..83c1627a918251 100644 --- a/x-pack/plugins/security_solution/common/endpoint/service/authz/index.ts +++ b/x-pack/plugins/security_solution/common/endpoint/service/authz/index.ts @@ -6,4 +6,5 @@ */ export { getEndpointAuthzInitialState, calculateEndpointAuthz } from './authz'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing export { getEndpointAuthzInitialStateMock } from './mocks'; diff --git a/x-pack/plugins/security_solution/common/search_strategy/security_solution/cti/index.mock.ts b/x-pack/plugins/security_solution/common/search_strategy/security_solution/cti/index.mock.ts index 4754b4c17a9588..f047d201dfd148 100644 --- a/x-pack/plugins/security_solution/common/search_strategy/security_solution/cti/index.mock.ts +++ b/x-pack/plugins/security_solution/common/search_strategy/security_solution/cti/index.mock.ts @@ -5,7 +5,6 @@ * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { IEsSearchResponse } from '@kbn/data-plugin/public'; import type { CtiEnrichment, CtiEventEnrichmentRequestOptions } from '.'; diff --git a/x-pack/plugins/security_solution/common/search_strategy/security_solution/cti/index.ts b/x-pack/plugins/security_solution/common/search_strategy/security_solution/cti/index.ts index 4d9a054b494614..f2fe3e3fee37db 100644 --- a/x-pack/plugins/security_solution/common/search_strategy/security_solution/cti/index.ts +++ b/x-pack/plugins/security_solution/common/search_strategy/security_solution/cti/index.ts @@ -6,7 +6,6 @@ */ import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { IEsSearchResponse, IEsSearchRequest } from '@kbn/data-plugin/public'; import type { FactoryQueryTypes } from '../..'; import { EVENT_ENRICHMENT_INDICATOR_FIELD_MAP } from '../../../cti/constants'; diff --git a/x-pack/plugins/security_solution/cypress/objects/rule.ts b/x-pack/plugins/security_solution/cypress/objects/rule.ts index 7fd9e7b5f76257..197d3b9b6a58ab 100644 --- a/x-pack/plugins/security_solution/cypress/objects/rule.ts +++ b/x-pack/plugins/security_solution/cypress/objects/rule.ts @@ -6,7 +6,6 @@ */ import type { RulesSchema } from '../../common/detection_engine/schemas/response'; -/* eslint-disable @kbn/eslint/no-restricted-paths */ import { rawRules } from '../../server/lib/detection_engine/rules/prepackaged_rules'; import { getMockThreatData } from '../../public/detections/mitre/mitre_tactics_techniques'; import type { CompleteTimeline } from './timeline'; diff --git a/x-pack/plugins/security_solution/public/common/lib/kibana/__mocks__/index.ts b/x-pack/plugins/security_solution/public/common/lib/kibana/__mocks__/index.ts index 8fb75174ede83c..0d778a3284cc4c 100644 --- a/x-pack/plugins/security_solution/public/common/lib/kibana/__mocks__/index.ts +++ b/x-pack/plugins/security_solution/public/common/lib/kibana/__mocks__/index.ts @@ -7,7 +7,6 @@ import { notificationServiceMock } from '@kbn/core/public/mocks'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { createTGridMocks } from '@kbn/timelines-plugin/public/mock'; import { diff --git a/x-pack/plugins/security_solution/public/common/types.ts b/x-pack/plugins/security_solution/public/common/types.ts index 0cf2b989f2006a..ef19c73f307b79 100644 --- a/x-pack/plugins/security_solution/public/common/types.ts +++ b/x-pack/plugins/security_solution/public/common/types.ts @@ -5,7 +5,6 @@ * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { ResponseErrorAttributes } from '@kbn/core/server'; import type { DataViewBase } from '@kbn/es-query'; import type { FieldSpec } from '@kbn/data-views-plugin/common'; diff --git a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/index.tsx b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/index.tsx index 14aa195e0be810..c98f5616b17500 100644 --- a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/index.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/index.tsx @@ -25,5 +25,6 @@ export const EndpointsContainer = memo(() => { }); EndpointsContainer.displayName = 'EndpointsContainer'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing export { endpointListFleetApisHttpMock } from './mocks'; export type { EndpointListFleetApisHttpMockInterface } from './mocks'; diff --git a/x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx b/x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx index 9afec661d22fb5..a7e2f67e5f5869 100644 --- a/x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx +++ b/x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx @@ -14,7 +14,6 @@ import styled, { css } from 'styled-components'; import type { Filter, Query } from '@kbn/es-query'; import type { ErrorEmbeddable } from '@kbn/embeddable-plugin/public'; import { isErrorEmbeddable } from '@kbn/embeddable-plugin/public'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { MapEmbeddable } from '@kbn/maps-plugin/public/embeddable'; import { Loader } from '../../../common/components/loader'; import { displayErrorToast, useStateToaster } from '../../../common/components/toasters'; diff --git a/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/line_tool_tip_content.tsx b/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/line_tool_tip_content.tsx index 018bb4dd30e2b2..fb6d0dc6898d5e 100644 --- a/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/line_tool_tip_content.tsx +++ b/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/line_tool_tip_content.tsx @@ -8,7 +8,6 @@ import React from 'react'; import { EuiBadge, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; import styled from 'styled-components'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { ITooltipProperty } from '@kbn/maps-plugin/public/classes/tooltips/tooltip_property'; import { SourceDestinationArrows } from '../../source_destination/source_destination_arrows'; import { diff --git a/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/map_tool_tip.tsx b/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/map_tool_tip.tsx index 93b5436b13bced..3db7e496cb88de 100644 --- a/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/map_tool_tip.tsx +++ b/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/map_tool_tip.tsx @@ -13,7 +13,6 @@ import { EuiOutsideClickDetector, } from '@elastic/eui'; import type { Geometry } from 'geojson'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { ITooltipProperty } from '@kbn/maps-plugin/public/classes/tooltips/tooltip_property'; import type { MapToolTipProps } from '../types'; import { ToolTipFooter } from './tooltip_footer'; diff --git a/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/point_tool_tip_content.tsx b/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/point_tool_tip_content.tsx index dd1cc78ac35192..ce476b488571c4 100644 --- a/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/point_tool_tip_content.tsx +++ b/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/point_tool_tip_content.tsx @@ -6,7 +6,6 @@ */ import React, { useMemo } from 'react'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { ITooltipProperty } from '@kbn/maps-plugin/public/classes/tooltips/tooltip_property'; import { sourceDestinationFieldMappings } from '../map_config'; import { diff --git a/x-pack/plugins/security_solution/public/resolver/index.ts b/x-pack/plugins/security_solution/public/resolver/index.ts index fdb1315cd769f3..48869aacacb3f9 100644 --- a/x-pack/plugins/security_solution/public/resolver/index.ts +++ b/x-pack/plugins/security_solution/public/resolver/index.ts @@ -9,6 +9,7 @@ import { Provider } from 'react-redux'; import type { ResolverPluginSetup } from './types'; import { resolverStoreFactory } from './store'; import { ResolverWithoutProviders } from './view/resolver_without_providers'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { noAncestorsTwoChildrenWithRelatedEventsOnOrigin } from './data_access_layer/mocks/no_ancestors_two_children_with_related_events_on_origin'; /** diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/alerts.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/alerts.tsx index 23456e62a26f7c..7183aa8e85d7e5 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/alerts.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/alerts.tsx @@ -7,6 +7,7 @@ import React from 'react'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { mockEndpointProcessExecutionMalwarePreventionAlert } from '../../../../common/mock/mock_timeline_data'; import { createEndpointAlertsRowRenderer } from '../../timeline/body/renderers/system/generic_row_renderer'; import { WAS_PREVENTED_FROM_EXECUTING_A_MALICIOUS_PROCESS } from '../../timeline/body/renderers/system/translations'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/auditd.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/auditd.tsx index f6b39624122679..d85f0537fe7204 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/auditd.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/auditd.tsx @@ -7,6 +7,7 @@ import React from 'react'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { mockTimelineData } from '../../../../common/mock/mock_timeline_data'; import { createGenericAuditRowRenderer } from '../../timeline/body/renderers/auditd/generic_row_renderer'; import { CONNECTED_USING } from '../../timeline/body/renderers/auditd/translations'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/auditd_file.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/auditd_file.tsx index fff934ed55039f..b55e667a6e43f3 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/auditd_file.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/auditd_file.tsx @@ -7,6 +7,7 @@ import React from 'react'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { mockTimelineData } from '../../../../common/mock/mock_timeline_data'; import { createGenericFileRowRenderer } from '../../timeline/body/renderers/auditd/generic_row_renderer'; import { OPENED_FILE, USING } from '../../timeline/body/renderers/auditd/translations'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/library.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/library.tsx index cf1ddafcd4b0ad..c45555f9c31ace 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/library.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/library.tsx @@ -7,6 +7,7 @@ import React from 'react'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { mockEndpointLibraryLoadEvent } from '../../../../common/mock/mock_timeline_data'; import { createEndpointLibraryRowRenderer } from '../../timeline/body/renderers/system/generic_row_renderer'; import { LOADED_LIBRARY } from '../../timeline/body/renderers/system/translations'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/netflow.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/netflow.tsx index b9755bcf573b57..06321441a34d7c 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/netflow.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/netflow.tsx @@ -7,6 +7,7 @@ import React from 'react'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { getMockNetflowData } from '../../../../common/mock/netflow'; import { netflowRowRenderer } from '../../timeline/body/renderers/netflow/netflow_row_renderer'; import { ROW_RENDERER_BROWSER_EXAMPLE_TIMELINE_ID } from '../constants'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/registry.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/registry.tsx index 8742b0e62dfa31..f4d39a6870e802 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/registry.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/registry.tsx @@ -7,6 +7,7 @@ import React from 'react'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { mockEndpointRegistryModificationEvent } from '../../../../common/mock/mock_timeline_data'; import { createEndpointRegistryRowRenderer } from '../../timeline/body/renderers/system/generic_row_renderer'; import { MODIFIED_REGISTRY_KEY } from '../../timeline/body/renderers/system/translations'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/suricata.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/suricata.tsx index 1c26ee13229bd6..613f6c632ad0c1 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/suricata.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/suricata.tsx @@ -7,6 +7,7 @@ import React from 'react'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { mockTimelineData } from '../../../../common/mock/mock_timeline_data'; import { suricataRowRenderer } from '../../timeline/body/renderers/suricata/suricata_row_renderer'; import { ROW_RENDERER_BROWSER_EXAMPLE_TIMELINE_ID } from '../constants'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system.tsx index 649edd08c450fc..2018f46865219e 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system.tsx @@ -9,6 +9,7 @@ import React from 'react'; import { TERMINATED_PROCESS } from '../../timeline/body/renderers/system/translations'; import { createGenericSystemRowRenderer } from '../../timeline/body/renderers/system/generic_row_renderer'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { mockEndgameTerminationEvent } from '../../../../common/mock/mock_endgame_ecs_data'; import { ROW_RENDERER_BROWSER_EXAMPLE_TIMELINE_ID } from '../constants'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_dns.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_dns.tsx index 0566cf503443bd..aba609a8e53857 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_dns.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_dns.tsx @@ -8,6 +8,7 @@ import React from 'react'; import { createDnsRowRenderer } from '../../timeline/body/renderers/system/generic_row_renderer'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { mockEndgameDnsRequest } from '../../../../common/mock/mock_endgame_ecs_data'; import { ROW_RENDERER_BROWSER_EXAMPLE_TIMELINE_ID } from '../constants'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_endgame_process.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_endgame_process.tsx index 3af5d401bc3acd..c7c369c01ed1fc 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_endgame_process.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_endgame_process.tsx @@ -8,6 +8,7 @@ import React from 'react'; import { createEndgameProcessRowRenderer } from '../../timeline/body/renderers/system/generic_row_renderer'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { mockEndgameCreationEvent } from '../../../../common/mock/mock_endgame_ecs_data'; import { PROCESS_STARTED } from '../../timeline/body/renderers/system/translations'; import { ROW_RENDERER_BROWSER_EXAMPLE_TIMELINE_ID } from '../constants'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_file.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_file.tsx index d693c7df1b06f2..72903035b2e129 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_file.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_file.tsx @@ -7,6 +7,7 @@ import React from 'react'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { mockEndgameFileDeleteEvent } from '../../../../common/mock/mock_endgame_ecs_data'; import { createGenericFileRowRenderer } from '../../timeline/body/renderers/system/generic_row_renderer'; import { DELETED_FILE } from '../../timeline/body/renderers/system/translations'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_fim.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_fim.tsx index 257719e5739866..74a02902fb78a2 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_fim.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_fim.tsx @@ -7,6 +7,7 @@ import React from 'react'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { mockEndgameFileCreateEvent } from '../../../../common/mock/mock_endgame_ecs_data'; import { createFimRowRenderer } from '../../timeline/body/renderers/system/generic_row_renderer'; import { CREATED_FILE } from '../../timeline/body/renderers/system/translations'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_security_event.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_security_event.tsx index 9490a9e776e737..aecf23ff08346c 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_security_event.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_security_event.tsx @@ -8,6 +8,7 @@ import React from 'react'; import { createSecurityEventRowRenderer } from '../../timeline/body/renderers/system/generic_row_renderer'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { mockEndgameUserLogon } from '../../../../common/mock/mock_endgame_ecs_data'; import { ROW_RENDERER_BROWSER_EXAMPLE_TIMELINE_ID } from '../constants'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_socket.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_socket.tsx index 47dd0122a47fe2..015a571ae6f5b3 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_socket.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/system_socket.tsx @@ -9,6 +9,7 @@ import React from 'react'; import { ACCEPTED_A_CONNECTION_VIA } from '../../timeline/body/renderers/system/translations'; import { createSocketRowRenderer } from '../../timeline/body/renderers/system/generic_row_renderer'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { mockEndgameIpv4ConnectionAcceptEvent } from '../../../../common/mock/mock_endgame_ecs_data'; import { ROW_RENDERER_BROWSER_EXAMPLE_TIMELINE_ID } from '../constants'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/threat_match.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/threat_match.tsx index cffa39584a6247..ba3ca74147f296 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/threat_match.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/threat_match.tsx @@ -7,6 +7,7 @@ import React from 'react'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { mockTimelineData } from '../../../../common/mock/mock_timeline_data'; import { threatMatchRowRenderer } from '../../timeline/body/renderers/cti/threat_match_row_renderer'; import { ROW_RENDERER_BROWSER_EXAMPLE_TIMELINE_ID } from '../constants'; diff --git a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/zeek.tsx b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/zeek.tsx index f47fa275245a6b..ab8cab5e3d6977 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/zeek.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/row_renderers_browser/examples/zeek.tsx @@ -7,6 +7,7 @@ import React from 'react'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing import { mockTimelineData } from '../../../../common/mock/mock_timeline_data'; import { zeekRowRenderer } from '../../timeline/body/renderers/zeek/zeek_row_renderer'; import { ROW_RENDERER_BROWSER_EXAMPLE_TIMELINE_ID } from '../constants'; diff --git a/x-pack/plugins/security_solution/server/__mocks__/alert.mock.ts b/x-pack/plugins/security_solution/server/__mocks__/alert.mock.ts index f5764fe28e9d38..81cf68ef2ed90b 100644 --- a/x-pack/plugins/security_solution/server/__mocks__/alert.mock.ts +++ b/x-pack/plugins/security_solution/server/__mocks__/alert.mock.ts @@ -9,7 +9,6 @@ import { parseDuration } from '@kbn/alerting-plugin/common/parse_duration'; // We _must_ import from the restricted path or we pull in _everything_ including memory leaks from Kibana core -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { ReadOperations, WriteOperations } from '@kbn/alerting-plugin/server/authorization'; module.exports = { diff --git a/x-pack/plugins/security_solution/server/__mocks__/core.mock.ts b/x-pack/plugins/security_solution/server/__mocks__/core.mock.ts index 47703d54ec3b83..57feaedbc9487a 100644 --- a/x-pack/plugins/security_solution/server/__mocks__/core.mock.ts +++ b/x-pack/plugins/security_solution/server/__mocks__/core.mock.ts @@ -8,9 +8,7 @@ // See: https://github.com/elastic/kibana/issues/117255, this creates mocks to avoid memory leaks from kibana core. // We _must_ import from the restricted path or we pull in _everything_ including memory leaks from Kibana core -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { SavedObjectsUtils } from '@kbn/core/server/saved_objects/service/lib/utils'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { SavedObjectsErrorHelpers } from '@kbn/core/server/saved_objects/service/lib/errors'; module.exports = { SavedObjectsUtils, diff --git a/x-pack/plugins/security_solution/server/__mocks__/task_manager.mock.ts b/x-pack/plugins/security_solution/server/__mocks__/task_manager.mock.ts index 8a0eb39aa8f239..b169811ee53a56 100644 --- a/x-pack/plugins/security_solution/server/__mocks__/task_manager.mock.ts +++ b/x-pack/plugins/security_solution/server/__mocks__/task_manager.mock.ts @@ -7,7 +7,6 @@ // See: https://github.com/elastic/kibana/issues/117255, this creates mocks to avoid memory leaks from kibana core. -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { TaskStatus } from '@kbn/task-manager-plugin/server/task'; module.exports = { TaskStatus, diff --git a/x-pack/plugins/security_solution/server/endpoint/mocks.ts b/x-pack/plugins/security_solution/server/endpoint/mocks.ts index 7e9fd53749344f..01759c01df53b0 100644 --- a/x-pack/plugins/security_solution/server/endpoint/mocks.ts +++ b/x-pack/plugins/security_solution/server/endpoint/mocks.ts @@ -23,7 +23,6 @@ import { // plugin server `index.ts`. Its unclear what is actually causing the error. Since this is a Mock // file and not bundled with the application, adding a eslint disable below and using import from // a restricted path. -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { createCasesClientMock } from '@kbn/cases-plugin/server/client/mocks'; import { createFleetAuthzMock } from '@kbn/fleet-plugin/common'; import { xpackMocks } from '../fixtures'; diff --git a/x-pack/plugins/security_solution/server/endpoint/services/artifacts/mocks.ts b/x-pack/plugins/security_solution/server/endpoint/services/artifacts/mocks.ts index 814dd457347ab7..3e6446595d8001 100644 --- a/x-pack/plugins/security_solution/server/endpoint/services/artifacts/mocks.ts +++ b/x-pack/plugins/security_solution/server/endpoint/services/artifacts/mocks.ts @@ -9,7 +9,6 @@ import type { SavedObjectsClientContract } from '@kbn/core/server'; import { savedObjectsClientMock, elasticsearchServiceMock } from '@kbn/core/server/mocks'; import type { ElasticsearchClientMock } from '@kbn/core-elasticsearch-client-server-mocks'; // Because mocks are for testing only, should be ok to import the FleetArtifactsClient directly -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { FleetArtifactsClient } from '@kbn/fleet-plugin/server/services'; import { createArtifactsClientMock } from '@kbn/fleet-plugin/server/mocks'; import type { EndpointArtifactClientInterface } from './artifact_client'; diff --git a/x-pack/plugins/security_solution/server/endpoint/services/feature_usage/index.ts b/x-pack/plugins/security_solution/server/endpoint/services/feature_usage/index.ts index f8da583e712a6b..d65ea404f298d2 100644 --- a/x-pack/plugins/security_solution/server/endpoint/services/feature_usage/index.ts +++ b/x-pack/plugins/security_solution/server/endpoint/services/feature_usage/index.ts @@ -7,6 +7,7 @@ import { FeatureUsageService } from './service'; export type { FeatureKeys } from './service'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing export { createFeatureUsageServiceMock, createMockPolicyData } from './mocks'; export const featureUsageService = new FeatureUsageService(); diff --git a/x-pack/plugins/security_solution/server/endpoint/utils/action_list_helpers.ts b/x-pack/plugins/security_solution/server/endpoint/utils/action_list_helpers.ts index 4af0da29e6307e..eaecf9d3c9daa9 100644 --- a/x-pack/plugins/security_solution/server/endpoint/utils/action_list_helpers.ts +++ b/x-pack/plugins/security_solution/server/endpoint/utils/action_list_helpers.ts @@ -6,7 +6,6 @@ */ import type { ElasticsearchClient } from '@kbn/core/server'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { SearchRequest } from '@kbn/data-plugin/public'; import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import type { TransportResult } from '@elastic/elasticsearch'; diff --git a/x-pack/plugins/security_solution/server/endpoint/utils/audit_log_helpers.ts b/x-pack/plugins/security_solution/server/endpoint/utils/audit_log_helpers.ts index a7e3dbbf7a4c32..8b0b6789dd5f1e 100644 --- a/x-pack/plugins/security_solution/server/endpoint/utils/audit_log_helpers.ts +++ b/x-pack/plugins/security_solution/server/endpoint/utils/audit_log_helpers.ts @@ -6,7 +6,6 @@ */ import type { Logger } from '@kbn/core/server'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { SearchRequest } from '@kbn/data-plugin/public'; import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import type { TransportResult } from '@elastic/elasticsearch'; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/__mocks__/request_context.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/__mocks__/request_context.ts index 8abbec103b2cb8..0ac0a67a761ef2 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/__mocks__/request_context.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/__mocks__/request_context.ts @@ -16,7 +16,6 @@ import { rulesClientMock } from '@kbn/alerting-plugin/server/mocks'; // See: https://github.com/elastic/kibana/issues/117255, the moduleNameMapper creates mocks to avoid memory leaks from kibana core. // We cannot import from "../../../../../../actions/server" directly here or we have a really bad memory issue. We cannot add this to the existing mocks we created, this fix must be here. -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { actionsClientMock } from '@kbn/actions-plugin/server/actions_client.mock'; import { licensingMock } from '@kbn/licensing-plugin/server/mocks'; import { listMock } from '@kbn/lists-plugin/server/mocks'; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/preview_rules_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/preview_rules_route.ts index 4d649ccfaa6eeb..e733f36d1421ad 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/preview_rules_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/preview_rules_route.ts @@ -15,7 +15,6 @@ import type { RuleTypeState, } from '@kbn/alerting-plugin/common'; import { parseDuration } from '@kbn/alerting-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { ExecutorType } from '@kbn/alerting-plugin/server/types'; import type { Alert } from '@kbn/alerting-plugin/server'; import type { StartPlugins, SetupPlugins } from '../../../../plugin'; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils/gather_referenced_exceptions.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils/gather_referenced_exceptions.ts index 268c5448d7fe2b..ce6ab5c84678f7 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils/gather_referenced_exceptions.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils/gather_referenced_exceptions.ts @@ -6,12 +6,8 @@ */ import type { ExceptionListSchema, ListArray } from '@kbn/securitysolution-io-ts-list-types'; import type { SavedObjectsClientContract } from '@kbn/core/server'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import type { ExceptionListQueryInfo } from '@kbn/lists-plugin/server/services/exception_lists/utils/import/find_all_exception_list_types'; -import { - getAllListTypes, - // eslint-disable-next-line @kbn/eslint/no-restricted-paths -} from '@kbn/lists-plugin/server/services/exception_lists/utils/import/find_all_exception_list_types'; +import { getAllListTypes } from '@kbn/lists-plugin/server/services/exception_lists/utils/import/find_all_exception_list_types'; import type { ImportRulesSchema } from '../../../../../../common/detection_engine/schemas/request/import_rules_schema'; /** diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/__mocks__/rule_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/__mocks__/rule_type.ts index e0e985ff238654..f2f023e28da7d0 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/__mocks__/rule_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/__mocks__/rule_type.ts @@ -22,8 +22,7 @@ import { createRuleMock } from './rule'; import { listMock } from '@kbn/lists-plugin/server/mocks'; import type { QueryRuleParams, RuleParams } from '../../schemas/rule_schemas'; // this is only used in tests -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { createDefaultAlertExecutorOptions } from '@kbn/rule-registry-plugin/server/utils/rule_executor_test_utils'; +import { createDefaultAlertExecutorOptions } from '@kbn/rule-registry-plugin/server/utils/rule_executor.test_helpers'; import { getCompleteRuleMock } from '../../schemas/rule_schemas.mock'; export const createRuleTypeMocks = ( diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/preview/alert_instance_factory_stub.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/preview/alert_instance_factory_stub.ts index 40bb3e3ef41e4f..b73119d15077a2 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/preview/alert_instance_factory_stub.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/preview/alert_instance_factory_stub.ts @@ -10,7 +10,6 @@ import type { AlertInstanceState, RuleTypeState, } from '@kbn/alerting-plugin/common'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths import { Alert } from '@kbn/alerting-plugin/server/alert'; import type { RuleParams } from '../../schemas/rule_schemas'; diff --git a/x-pack/plugins/synthetics/common/config.ts b/x-pack/plugins/synthetics/common/config.ts index 5b0e56fed44232..c9c48e58783919 100644 --- a/x-pack/plugins/synthetics/common/config.ts +++ b/x-pack/plugins/synthetics/common/config.ts @@ -5,8 +5,7 @@ * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { PluginConfigDescriptor } from '@kbn/core/server'; +import type { PluginConfigDescriptor } from '@kbn/core/server'; import { schema, TypeOf } from '@kbn/config-schema'; import { sslSchema } from '@kbn/server-http-tools'; diff --git a/x-pack/plugins/synthetics/common/requests/get_certs_request_body.ts b/x-pack/plugins/synthetics/common/requests/get_certs_request_body.ts index 250d3194e26648..b7e7006cc1b054 100644 --- a/x-pack/plugins/synthetics/common/requests/get_certs_request_body.ts +++ b/x-pack/plugins/synthetics/common/requests/get_certs_request_body.ts @@ -8,8 +8,7 @@ import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import { CertResult, GetCertsParams, Ping } from '../runtime_types'; import { createEsQuery } from '../utils/es_search'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { CertificatesResults } from '../../server/legacy_uptime/lib/requests/get_certs'; +import type { CertificatesResults } from '../../server/legacy_uptime/lib/requests/get_certs'; import { asMutableArray } from '../utils/as_mutable_array'; enum SortFields { diff --git a/x-pack/plugins/synthetics/common/types/synthetics_monitor.ts b/x-pack/plugins/synthetics/common/types/synthetics_monitor.ts index a54cd03003c4e0..1a0c7a7c467094 100644 --- a/x-pack/plugins/synthetics/common/types/synthetics_monitor.ts +++ b/x-pack/plugins/synthetics/common/types/synthetics_monitor.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { SimpleSavedObject } from '@kbn/core/public'; +import type { SimpleSavedObject } from '@kbn/core/public'; import { EncryptedSyntheticsMonitor, SyntheticsMonitor } from '../runtime_types'; export interface MonitorIdParam { diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/settings/types.ts b/x-pack/plugins/synthetics/public/legacy_uptime/components/settings/types.ts index 4c2bcad2206e40..e0ddd911b23dad 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/components/settings/types.ts +++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/settings/types.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { +import type { IndexActionTypeId, JiraActionTypeId, PagerDutyActionTypeId, @@ -15,7 +15,6 @@ import { TeamsActionTypeId, WebhookActionTypeId, EmailActionTypeId, - // eslint-disable-next-line @kbn/eslint/no-restricted-paths } from '@kbn/actions-plugin/server/builtin_action_types'; export type ActionTypeId = diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/lib/index.ts b/x-pack/plugins/synthetics/public/legacy_uptime/lib/index.ts index 9added9af65926..356f3f3cf8ad95 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/lib/index.ts +++ b/x-pack/plugins/synthetics/public/legacy_uptime/lib/index.ts @@ -6,4 +6,5 @@ */ export { MountWithReduxProvider } from './helper'; +// eslint-disable-next-line @kbn/imports/no_boundary_crossing export * from './helper/enzyme_helpers'; diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/state/api/alert_actions.ts b/x-pack/plugins/synthetics/public/legacy_uptime/state/api/alert_actions.ts index 31d8c0577780c1..8bda3328845468 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/state/api/alert_actions.ts +++ b/x-pack/plugins/synthetics/public/legacy_uptime/state/api/alert_actions.ts @@ -7,7 +7,7 @@ import { i18n } from '@kbn/i18n'; import { RuleAction as RuleActionOrig } from '@kbn/triggers-actions-ui-plugin/public'; -import { +import type { IndexActionParams, PagerDutyActionParams, ServerLogActionParams, @@ -15,7 +15,6 @@ import { JiraActionParams, WebhookActionParams, EmailActionParams, - // eslint-disable-next-line @kbn/eslint/no-restricted-paths } from '@kbn/actions-plugin/server'; import { NewAlertParams } from './alerts'; import { ACTION_GROUP_DEFINITIONS } from '../../../../common/constants/alerts'; diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/alerts/test_utils/index.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/alerts/test_utils/index.ts index 050347f37eeaf5..c80b04d24982f5 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/alerts/test_utils/index.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/alerts/test_utils/index.ts @@ -12,7 +12,7 @@ import { alertsMock } from '@kbn/alerting-plugin/server/mocks'; import { UMServerLibs } from '../../lib'; import { UptimeCorePluginsSetup, UptimeServerSetup } from '../../adapters'; import type { UptimeRouter } from '../../../../types'; -import { getUptimeESMockClient } from '../../requests/helper'; +import { getUptimeESMockClient } from '../../requests/test_helpers'; /** * The alert takes some dependencies as parameters; these are things like diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_certs.test.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_certs.test.ts index 72de8be638dcc0..b4dce0e2421fda 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_certs.test.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_certs.test.ts @@ -6,7 +6,7 @@ */ import { getCerts } from './get_certs'; -import { getUptimeESMockClient } from './helper'; +import { getUptimeESMockClient } from './test_helpers'; describe('getCerts', () => { let mockHits: any; diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_details.test.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_details.test.ts index 4d678021ce7842..88519119d945e4 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_details.test.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_details.test.ts @@ -6,7 +6,7 @@ */ import { getJourneyDetails } from './get_journey_details'; -import { mockSearchResult } from './helper'; +import { mockSearchResult } from './test_helpers'; describe('getJourneyDetails', () => { let mockData: unknown; diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_failed_steps.test.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_failed_steps.test.ts index 58e5202c2bca24..bcfd7d3296fa96 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_failed_steps.test.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_failed_steps.test.ts @@ -6,7 +6,7 @@ */ import { getJourneyFailedSteps } from './get_journey_failed_steps'; -import { mockSearchResult } from './helper'; +import { mockSearchResult } from './test_helpers'; describe('getJourneyFailedSteps', () => { let mockData: unknown; diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_screenshot.test.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_screenshot.test.ts index 15cee91606e663..5a94fac1ee31c1 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_screenshot.test.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_screenshot.test.ts @@ -6,7 +6,7 @@ */ import { getJourneyScreenshot } from './get_journey_screenshot'; -import { mockSearchResult } from './helper'; +import { mockSearchResult } from './test_helpers'; describe('getJourneyScreenshot', () => { it('returns screenshot data', async () => { diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_screenshot_blocks.test.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_screenshot_blocks.test.ts index 32e4b730e80ab9..76b2ea0d98708a 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_screenshot_blocks.test.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_screenshot_blocks.test.ts @@ -6,7 +6,7 @@ */ import { getJourneyScreenshotBlocks } from './get_journey_screenshot_blocks'; -import { mockSearchResult } from './helper'; +import { mockSearchResult } from './test_helpers'; describe('getJourneyScreenshotBlocks', () => { it('returns formatted blocks', async () => { diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_steps.test.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_steps.test.ts index cadd7e79d63e4c..46986cc47f3e5a 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_steps.test.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_journey_steps.test.ts @@ -7,7 +7,7 @@ import { JourneyStep } from '../../../../common/runtime_types/ping/synthetics'; import { getJourneySteps, formatSyntheticEvents } from './get_journey_steps'; -import { getUptimeESMockClient } from './helper'; +import { getUptimeESMockClient } from './test_helpers'; describe('getJourneySteps request module', () => { describe('formatStepTypes', () => { diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_latest_monitor.test.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_latest_monitor.test.ts index c25b0de66d8226..f276384a86c74c 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_latest_monitor.test.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_latest_monitor.test.ts @@ -7,7 +7,7 @@ import { getLatestMonitor } from './get_latest_monitor'; import { DYNAMIC_SETTINGS_DEFAULTS } from '../../../../common/constants'; -import { getUptimeESMockClient } from './helper'; +import { getUptimeESMockClient } from './test_helpers'; describe('getLatestMonitor', () => { let expectedGetLatestSearchParams: any; diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_availability.test.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_availability.test.ts index f959eaf497a385..d84c4025d5dd07 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_availability.test.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_availability.test.ts @@ -11,7 +11,7 @@ import { AvailabilityKey, getMonitorAvailability, } from './get_monitor_availability'; -import { getUptimeESMockClient, setupMockEsCompositeQuery } from './helper'; +import { getUptimeESMockClient, setupMockEsCompositeQuery } from './test_helpers'; import { GetMonitorAvailabilityParams, makePing, Ping } from '../../../../common/runtime_types'; interface AvailabilityTopHit { diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_details.test.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_details.test.ts index fb53522cdc809a..f1b37eedf0d698 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_details.test.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_details.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { mockSearchResult } from './helper'; +import { mockSearchResult } from './test_helpers'; import { getMonitorAlerts, getMonitorDetails } from './get_monitor_details'; import * as statusCheck from '../alerts/status_check'; import { CLIENT_ALERT_TYPES } from '../../../../common/constants/alerts'; diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_duration.test.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_duration.test.ts index cc260d6d6bfdf0..06d5fae6f56635 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_duration.test.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_duration.test.ts @@ -7,7 +7,7 @@ import { set } from 'lodash'; import mockChartsData from './__fixtures__/monitor_charts_mock.json'; import { getMonitorDurationChart } from './get_monitor_duration'; -import { getUptimeESMockClient } from './helper'; +import { getUptimeESMockClient } from './test_helpers'; describe('ElasticsearchMonitorsAdapter', () => { it('getMonitorChartsData will provide expected filters', async () => { diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_status.test.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_status.test.ts index fba1f57868e0c0..6dab9e8a4bb983 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_status.test.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_monitor_status.test.ts @@ -6,7 +6,7 @@ */ import { getMonitorStatus } from './get_monitor_status'; -import { getUptimeESMockClient, setupMockEsCompositeQuery } from './helper'; +import { getUptimeESMockClient, setupMockEsCompositeQuery } from './test_helpers'; export interface BucketItemCriteria { monitorId: string; diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_network_events.test.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_network_events.test.ts index 9d8f5a590bb540..bb6f2340e4a7dc 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_network_events.test.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_network_events.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { getUptimeESMockClient } from './helper'; +import { getUptimeESMockClient } from './test_helpers'; import { getNetworkEvents, secondsToMillis } from './get_network_events'; describe('getNetworkEvents', () => { diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_ping_histogram.test.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_ping_histogram.test.ts index 3f83cdd84ed0e3..4476f4f9e14e7d 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_ping_histogram.test.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_ping_histogram.test.ts @@ -7,7 +7,7 @@ import { getPingHistogram } from './get_ping_histogram'; import * as intervalHelper from '../../../../common/lib/get_histogram_interval'; -import { getUptimeESMockClient } from './helper'; +import { getUptimeESMockClient } from './test_helpers'; describe('getPingHistogram', () => { beforeEach(() => { diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_pings.test.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_pings.test.ts index b1fe5528641c22..faf66d4aa8bd80 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_pings.test.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_pings.test.ts @@ -8,7 +8,7 @@ import { getPings } from './get_pings'; import { set } from 'lodash'; import { DYNAMIC_SETTINGS_DEFAULTS } from '../../../../common/constants'; -import { getUptimeESMockClient } from './helper'; +import { getUptimeESMockClient } from './test_helpers'; describe('getAll', () => { let mockEsSearchResult: any; diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/search/query_context.test.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/search/query_context.test.ts index 7f969e836fc78d..034f3dbd1f9739 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/search/query_context.test.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/search/query_context.test.ts @@ -8,7 +8,7 @@ import { QueryContext } from './query_context'; import { CursorPagination } from './types'; import { CursorDirection, SortOrder } from '../../../../../common/runtime_types'; -import { getUptimeESMockClient } from '../helper'; +import { getUptimeESMockClient } from '../test_helpers'; describe(QueryContext, () => { // 10 minute range diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/search/test_helpers.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/search/test_helpers.ts index 7aafc3aa503c56..5d85b5b89c4fec 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/search/test_helpers.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/search/test_helpers.ts @@ -8,7 +8,7 @@ import { CursorPagination } from './types'; import { CursorDirection, SortOrder } from '../../../../../common/runtime_types'; import { QueryContext } from './query_context'; -import { getUptimeESMockClient } from '../helper'; +import { getUptimeESMockClient } from '../test_helpers'; export const nextPagination = (key: any): CursorPagination => { return { diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/helper.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/test_helpers.ts similarity index 100% rename from x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/helper.ts rename to x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/test_helpers.ts diff --git a/x-pack/plugins/synthetics/server/synthetics_service/get_api_key.test.ts b/x-pack/plugins/synthetics/server/synthetics_service/get_api_key.test.ts index ad9c989bd8b7aa..5bd8d05951031e 100644 --- a/x-pack/plugins/synthetics/server/synthetics_service/get_api_key.test.ts +++ b/x-pack/plugins/synthetics/server/synthetics_service/get_api_key.test.ts @@ -12,7 +12,7 @@ import { coreMock } from '@kbn/core/server/mocks'; import { syntheticsServiceApiKey } from '../legacy_uptime/lib/saved_objects/service_api_key'; import { KibanaRequest } from '@kbn/core/server'; import { UptimeServerSetup } from '../legacy_uptime/lib/adapters'; -import { getUptimeESMockClient } from '../legacy_uptime/lib/requests/helper'; +import { getUptimeESMockClient } from '../legacy_uptime/lib/requests/test_helpers'; describe('getAPIKeyTest', function () { const core = coreMock.createStart(); diff --git a/x-pack/plugins/synthetics/server/synthetics_service/hydrate_saved_object.test.ts b/x-pack/plugins/synthetics/server/synthetics_service/hydrate_saved_object.test.ts index 86efbd22df56c6..c2c0412d940c5d 100644 --- a/x-pack/plugins/synthetics/server/synthetics_service/hydrate_saved_object.test.ts +++ b/x-pack/plugins/synthetics/server/synthetics_service/hydrate_saved_object.test.ts @@ -8,7 +8,7 @@ import { hydrateSavedObjects } from './hydrate_saved_object'; import { DecryptedSyntheticsMonitorSavedObject } from '../../common/types'; import { UptimeServerSetup } from '../legacy_uptime/lib/adapters'; -import { getUptimeESMockClient } from '../legacy_uptime/lib/requests/helper'; +import { getUptimeESMockClient } from '../legacy_uptime/lib/requests/test_helpers'; import { SearchResponse } from '@elastic/elasticsearch/lib/api/types'; import moment from 'moment'; diff --git a/x-pack/plugins/timelines/common/types/timeline/actions/index.ts b/x-pack/plugins/timelines/common/types/timeline/actions/index.ts index 729be20ef59bd2..6e3c5c303383ff 100644 --- a/x-pack/plugins/timelines/common/types/timeline/actions/index.ts +++ b/x-pack/plugins/timelines/common/types/timeline/actions/index.ts @@ -14,7 +14,6 @@ import type { GetFieldTableColumns, FieldBrowserProps, BrowserFieldItem, - // eslint-disable-next-line @kbn/eslint/no-restricted-paths } from '@kbn/triggers-actions-ui-plugin/public/types'; import { OnRowSelected, SortColumnTimeline, TimelineTabs } from '..'; diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/types.ts b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/types.ts index b1867c28263e47..197470eea6cca5 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/types.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/types.ts @@ -5,9 +5,7 @@ * 2.0. */ -/* eslint-disable @kbn/eslint/no-restricted-paths */ - -import { +import type { CasesWebhookPublicConfigurationType, CasesWebhookSecretConfigurationType, ExecutorSubActionPushParams, diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/jira/types.ts b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/jira/types.ts index 22c727df7bb096..bb0268795ec0de 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/jira/types.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/jira/types.ts @@ -5,8 +5,7 @@ * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ExecutorSubActionPushParams } from '@kbn/actions-plugin/server/builtin_action_types/jira/types'; +import type { ExecutorSubActionPushParams } from '@kbn/actions-plugin/server/builtin_action_types/jira/types'; import { UserConfiguredActionConnector } from '../../../../types'; export type JiraActionConnector = UserConfiguredActionConnector; diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/resilient/types.ts b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/resilient/types.ts index fcee38cf441fa1..e845590ce2c3da 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/resilient/types.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/resilient/types.ts @@ -5,8 +5,7 @@ * 2.0. */ -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { ExecutorSubActionPushParams } from '@kbn/actions-plugin/server/builtin_action_types/resilient/types'; +import type { ExecutorSubActionPushParams } from '@kbn/actions-plugin/server/builtin_action_types/resilient/types'; import { UserConfiguredActionConnector } from '../../../../types'; export type ResilientActionConnector = UserConfiguredActionConnector< diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/types.ts b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/types.ts index 07d80f6f78e262..61f66b2be17807 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/types.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/types.ts @@ -5,11 +5,10 @@ * 2.0. */ -import { +import type { ExecutorSubActionPushParamsITSM, ExecutorSubActionPushParamsSIR, ExecutorSubActionAddEventParams, - // eslint-disable-next-line @kbn/eslint/no-restricted-paths } from '@kbn/actions-plugin/server/builtin_action_types/servicenow/types'; import { UserConfiguredActionConnector } from '../../../../types'; diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/swimlane/types.ts b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/swimlane/types.ts index f629f989425046..9c8cf1b852bb9a 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/swimlane/types.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/swimlane/types.ts @@ -5,9 +5,7 @@ * 2.0. */ -/* eslint-disable @kbn/eslint/no-restricted-paths */ - -import { +import type { ExecutorSubActionPushParams, MappingConfigType, } from '@kbn/actions-plugin/server/builtin_action_types/swimlane/types'; diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_cell_renderer.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_cell_renderer.tsx index 84fc3404f228ec..78137d56d70fc1 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_cell_renderer.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_cell_renderer.tsx @@ -7,8 +7,7 @@ import React from 'react'; import moment from 'moment'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { EcsEventOutcome } from '@kbn/core/server'; +import type { EcsEventOutcome } from '@kbn/core/server'; import { formatRuleAlertCount } from '../../../../common/lib/format_rule_alert_count'; import { RuleEventLogListStatus } from './rule_event_log_list_status'; import { RuleDurationFormat } from '../../rules_list/components/rule_duration_format'; diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_status.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_status.tsx index fd28f62bda0cd1..02d5bcf082f287 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_status.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_status.tsx @@ -7,8 +7,7 @@ import React from 'react'; import { EuiIcon } from '@elastic/eui'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { EcsEventOutcome } from '@kbn/core/server'; +import type { EcsEventOutcome } from '@kbn/core/server'; interface RuleEventLogListStatusProps { status: EcsEventOutcome; diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_status_filter.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_status_filter.tsx index 5eae69c4b6bc29..f70c2ab51400df 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_status_filter.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_event_log_list_status_filter.tsx @@ -8,8 +8,7 @@ import React, { useState, useCallback } from 'react'; import { FormattedMessage } from '@kbn/i18n-react'; import { EuiFilterButton, EuiPopover, EuiFilterGroup, EuiFilterSelectItem } from '@elastic/eui'; -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { EcsEventOutcome } from '@kbn/core/server'; +import type { EcsEventOutcome } from '@kbn/core/server'; import { RuleEventLogListStatus } from './rule_event_log_list_status'; const statusFilters: EcsEventOutcome[] = ['success', 'failure', 'unknown']; diff --git a/x-pack/plugins/triggers_actions_ui/public/index.ts b/x-pack/plugins/triggers_actions_ui/public/index.ts index d185c923840a82..12f45dcc31e417 100644 --- a/x-pack/plugins/triggers_actions_ui/public/index.ts +++ b/x-pack/plugins/triggers_actions_ui/public/index.ts @@ -7,8 +7,7 @@ // TODO: https://github.com/elastic/kibana/issues/110895 -// eslint-disable-next-line @kbn/eslint/no-restricted-paths -import { PluginInitializerContext } from '@kbn/core/server'; +import type { PluginInitializerContext } from '@kbn/core/server'; import { Plugin } from './plugin'; export type { diff --git a/x-pack/plugins/upgrade_assistant/common/types.ts b/x-pack/plugins/upgrade_assistant/common/types.ts index 3da2215a14370e..768ef135fe5551 100644 --- a/x-pack/plugins/upgrade_assistant/common/types.ts +++ b/x-pack/plugins/upgrade_assistant/common/types.ts @@ -6,7 +6,7 @@ */ import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; -import { SavedObject, SavedObjectAttributes } from '@kbn/core/public'; +import { SavedObject, SavedObjectAttributes } from '@kbn/core/types'; export type DeprecationSource = 'Kibana' | 'Elasticsearch'; diff --git a/x-pack/plugins/ux/common/fetch_options.ts b/x-pack/plugins/ux/common/fetch_options.ts index 14b8900e6ed26d..3d0f9f290cca1b 100644 --- a/x-pack/plugins/ux/common/fetch_options.ts +++ b/x-pack/plugins/ux/common/fetch_options.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { HttpFetchOptions } from '@kbn/core/public'; +import type { HttpFetchOptions } from '@kbn/core/public'; export type FetchOptions = Omit & { pathname: string; diff --git a/x-pack/plugins/ux/public/services/rest/create_call_apm_api.ts b/x-pack/plugins/ux/public/services/rest/create_call_apm_api.ts index f7e9b6799e17d8..cb8522c95e3afd 100644 --- a/x-pack/plugins/ux/public/services/rest/create_call_apm_api.ts +++ b/x-pack/plugins/ux/public/services/rest/create_call_apm_api.ts @@ -16,7 +16,6 @@ import { formatRequest } from '@kbn/server-route-repository'; import type { APMServerRouteRepository, APIEndpoint, - // eslint-disable-next-line @kbn/eslint/no-restricted-paths } from '@kbn/apm-plugin/server'; import { InspectResponse } from '@kbn/observability-plugin/typings/common'; import { CallApi, callApi } from './call_api'; From 2d3d93075675acdbf52ce1cb4332a68d7b4c91d1 Mon Sep 17 00:00:00 2001 From: Steph Milovic Date: Fri, 29 Jul 2022 13:59:31 -0600 Subject: [PATCH 05/37] [Security Solution] Webhook - Case Management Connector Follow Ups (#137227) --- .../cases_webhook/api.test.ts | 8 +- .../cases_webhook/mock.ts | 4 +- .../cases_webhook/schema.ts | 2 +- .../cases_webhook/service.test.ts | 33 +- .../cases_webhook/service.ts | 8 +- .../cases_webhook/validators.ts | 4 +- .../builtin_action_types/jira/api.test.ts | 8 +- .../server/builtin_action_types/jira/mocks.ts | 4 +- .../builtin_action_types/jira/service.test.ts | 71 ++-- .../server/lib/mustache_renderer.test.ts | 6 +- .../cypress/fixtures/7_16_case.ndjson | 4 +- .../security_solution/cypress/objects/case.ts | 41 +- .../cases_webhook/steps/get.tsx | 6 +- .../cases_webhook/steps/update.styles.ts | 16 + .../cases_webhook/steps/update.tsx | 3 + .../cases_webhook/translations.ts | 4 +- .../cases_webhook/webhook_connectors.test.tsx | 17 +- .../cases_webhook/webhook_connectors.tsx | 2 +- .../action_form.test.tsx | 352 ++++++++++-------- .../action_connector_form/action_form.tsx | 5 + .../action_type_form.tsx | 11 + .../action_type_menu.test.tsx | 344 +++++++++++------ .../connector_add_inline.tsx | 10 + .../connector_add_modal.test.tsx | 80 ++++ .../connector_add_modal.tsx | 38 +- .../create_connector_flyout/header.tsx | 44 ++- .../create_connector_flyout/index.test.tsx | 43 +++ .../edit_connector_flyout/header.tsx | 75 +++- .../edit_connector_flyout/index.test.tsx | 28 ++ .../edit_connector_flyout/index.tsx | 1 + .../builtin_action_types/cases_webhook.ts | 14 +- .../builtin_action_types/cases_webhook.ts | 18 +- .../cases_api_integration/common/lib/utils.ts | 2 +- .../tests/trial/configure/get_connectors.ts | 2 +- .../tests/trial/configure/get_connectors.ts | 2 +- 35 files changed, 859 insertions(+), 451 deletions(-) create mode 100644 x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/steps/update.styles.ts diff --git a/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/api.test.ts b/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/api.test.ts index 4764d9acdb2357..8c0284f2245ade 100644 --- a/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/api.test.ts +++ b/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/api.test.ts @@ -31,7 +31,7 @@ describe('api', () => { id: 'incident-1', title: 'CK-1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', comments: [ { commentId: 'case-comment-1', @@ -57,7 +57,7 @@ describe('api', () => { id: 'incident-1', title: 'CK-1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', }); }); @@ -109,7 +109,7 @@ describe('api', () => { id: 'incident-1', title: 'CK-1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', comments: [ { commentId: 'case-comment-1', @@ -135,7 +135,7 @@ describe('api', () => { id: 'incident-1', title: 'CK-1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', }); }); diff --git a/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/mock.ts b/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/mock.ts index 20a5bcdfc1162f..74627658cde81c 100644 --- a/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/mock.ts +++ b/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/mock.ts @@ -24,7 +24,7 @@ const createMock = (): jest.Mocked => { id: 'incident-1', title: 'CK-1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', }) ), updateIncident: jest.fn().mockImplementation(() => @@ -32,7 +32,7 @@ const createMock = (): jest.Mocked => { id: 'incident-1', title: 'CK-1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', }) ), createComment: jest.fn(), diff --git a/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/schema.ts b/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/schema.ts index fafa0a64101b63..ca2f14a8f59bea 100644 --- a/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/schema.ts +++ b/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/schema.ts @@ -25,7 +25,7 @@ export const ExternalIncidentServiceConfiguration = { getIncidentResponseCreatedDateKey: schema.string(), getIncidentResponseExternalTitleKey: schema.string(), getIncidentResponseUpdatedDateKey: schema.string(), - incidentViewUrl: schema.string(), + viewIncidentUrl: schema.string(), updateIncidentUrl: schema.string(), updateIncidentMethod: schema.oneOf( [ diff --git a/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/service.test.ts b/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/service.test.ts index cf8464d71d8a2c..ce585920c81f14 100644 --- a/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/service.test.ts +++ b/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/service.test.ts @@ -30,24 +30,23 @@ const configurationUtilities = actionsConfigMock.create(); const config: CasesWebhookPublicConfigurationType = { createCommentJson: '{"body":{{{case.comment}}}}', createCommentMethod: CasesWebhookMethods.POST, - createCommentUrl: - 'https://siem-kibana.atlassian.net/rest/api/2/issue/{{{external.system.id}}}/comment', + createCommentUrl: 'https://coolsite.net/issue/{{{external.system.id}}}/comment', createIncidentJson: '{"fields":{"title":{{{case.title}}},"description":{{{case.description}}},"tags":{{{case.tags}}},"project":{"key":"ROC"},"issuetype":{"id":"10024"}}}', createIncidentMethod: CasesWebhookMethods.POST, createIncidentResponseKey: 'id', - createIncidentUrl: 'https://siem-kibana.atlassian.net/rest/api/2/issue', + createIncidentUrl: 'https://coolsite.net/issue', getIncidentResponseCreatedDateKey: 'fields.created', getIncidentResponseExternalTitleKey: 'key', getIncidentResponseUpdatedDateKey: 'fields.updated', hasAuth: true, headers: { ['content-type']: 'application/json' }, - incidentViewUrl: 'https://siem-kibana.atlassian.net/browse/{{{external.system.title}}}', - getIncidentUrl: 'https://siem-kibana.atlassian.net/rest/api/2/issue/{{{external.system.id}}}', + viewIncidentUrl: 'https://coolsite.net/browse/{{{external.system.title}}}', + getIncidentUrl: 'https://coolsite.net/issue/{{{external.system.id}}}', updateIncidentJson: '{"fields":{"title":{{{case.title}}},"description":{{{case.description}}},"tags":{{{case.tags}}},"project":{"key":"ROC"},"issuetype":{"id":"10024"}}}', updateIncidentMethod: CasesWebhookMethods.PUT, - updateIncidentUrl: 'https://siem-kibana.atlassian.net/rest/api/2/issue/{{{external.system.id}}}', + updateIncidentUrl: 'https://coolsite.net/issue/{{{external.system.id}}}', }; const secrets = { user: 'user', @@ -76,7 +75,7 @@ describe('Cases webhook service', () => { describe('createExternalService', () => { const requiredUrls = [ 'createIncidentUrl', - 'incidentViewUrl', + 'viewIncidentUrl', 'getIncidentUrl', 'updateIncidentUrl', ]; @@ -154,7 +153,7 @@ describe('Cases webhook service', () => { await service.getIncident('1'); expect(requestMock).toHaveBeenCalledWith({ axios, - url: 'https://siem-kibana.atlassian.net/rest/api/2/issue/1', + url: 'https://coolsite.net/issue/1', logger, configurationUtilities, }); @@ -231,7 +230,7 @@ describe('Cases webhook service', () => { title: 'CK-1', id: '1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', }); }); @@ -260,7 +259,7 @@ describe('Cases webhook service', () => { expect(requestMock.mock.calls[0][0]).toEqual({ axios, - url: 'https://siem-kibana.atlassian.net/rest/api/2/issue', + url: 'https://coolsite.net/issue', logger, method: CasesWebhookMethods.POST, configurationUtilities, @@ -326,7 +325,7 @@ describe('Cases webhook service', () => { title: 'CK-1', id: '1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', }); }); @@ -348,7 +347,7 @@ describe('Cases webhook service', () => { logger, method: CasesWebhookMethods.PUT, configurationUtilities, - url: 'https://siem-kibana.atlassian.net/rest/api/2/issue/1', + url: 'https://coolsite.net/issue/1', data: JSON.stringify({ fields: { title: 'title', @@ -426,7 +425,7 @@ describe('Cases webhook service', () => { logger, method: CasesWebhookMethods.POST, configurationUtilities, - url: 'https://siem-kibana.atlassian.net/rest/api/2/issue/1/comment', + url: 'https://coolsite.net/issue/1/comment', data: `{"body":"comment"}`, }); }); @@ -664,7 +663,7 @@ describe('Cases webhook service', () => { test('getIncident- escapes url', async () => { await service.getIncident('../../malicious-app/malicious-endpoint/'); expect(requestMock.mock.calls[0][0].url).toEqual( - 'https://siem-kibana.atlassian.net/rest/api/2/issue/..%2F..%2Fmalicious-app%2Fmalicious-endpoint%2F' + 'https://coolsite.net/issue/..%2F..%2Fmalicious-app%2Fmalicious-endpoint%2F' ); }); @@ -681,7 +680,7 @@ describe('Cases webhook service', () => { }; const res = await service.createIncident(incident); expect(res.url).toEqual( - 'https://siem-kibana.atlassian.net/browse/..%2F..%2Fmalicious-app%2Fmalicious-endpoint%2F' + 'https://coolsite.net/browse/..%2F..%2Fmalicious-app%2Fmalicious-endpoint%2F' ); }); @@ -700,7 +699,7 @@ describe('Cases webhook service', () => { await service.updateIncident(incident); expect(requestMock.mock.calls[0][0].url).toEqual( - 'https://siem-kibana.atlassian.net/rest/api/2/issue/..%2F..%2Fmalicious-app%2Fmalicious-endpoint%2F' + 'https://coolsite.net/issue/..%2F..%2Fmalicious-app%2Fmalicious-endpoint%2F' ); }); test('createComment- escapes url', async () => { @@ -714,7 +713,7 @@ describe('Cases webhook service', () => { await service.createComment(commentReq); expect(requestMock.mock.calls[0][0].url).toEqual( - 'https://siem-kibana.atlassian.net/rest/api/2/issue/..%2F..%2Fmalicious-app%2Fmalicious-endpoint%2F/comment' + 'https://coolsite.net/issue/..%2F..%2Fmalicious-app%2Fmalicious-endpoint%2F/comment' ); }); }); diff --git a/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/service.ts b/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/service.ts index 04b3e2fdbaff98..26551200a3b69b 100644 --- a/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/service.ts +++ b/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/service.ts @@ -55,7 +55,7 @@ export const createExternalService = ( getIncidentUrl, hasAuth, headers, - incidentViewUrl, + viewIncidentUrl, updateIncidentJson, updateIncidentMethod, updateIncidentUrl, @@ -64,7 +64,7 @@ export const createExternalService = ( if ( !getIncidentUrl || !createIncidentUrlConfig || - !incidentViewUrl || + !viewIncidentUrl || !updateIncidentUrl || (hasAuth && (!password || !user)) ) { @@ -163,7 +163,7 @@ export const createExternalService = ( logger.debug(`response from webhook action "${actionId}": [HTTP ${status}] ${statusText}`); - const viewUrl = renderMustacheStringNoEscape(incidentViewUrl, { + const viewUrl = renderMustacheStringNoEscape(viewIncidentUrl, { external: { system: { id: encodeURIComponent(externalId), @@ -233,7 +233,7 @@ export const createExternalService = ( res, }); const updatedIncident = await getIncident(incidentId as string); - const viewUrl = renderMustacheStringNoEscape(incidentViewUrl, { + const viewUrl = renderMustacheStringNoEscape(viewIncidentUrl, { external: { system: { id: encodeURIComponent(incidentId), diff --git a/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/validators.ts b/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/validators.ts index 618ef2428f5fdd..91e5ccbeb8715e 100644 --- a/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/validators.ts +++ b/x-pack/plugins/actions/server/builtin_action_types/cases_webhook/validators.ts @@ -20,7 +20,7 @@ const validateConfig = ( const { createCommentUrl, createIncidentUrl, - incidentViewUrl, + viewIncidentUrl, getIncidentUrl, updateIncidentUrl, } = configObject; @@ -28,7 +28,7 @@ const validateConfig = ( const urls = [ createIncidentUrl, createCommentUrl, - incidentViewUrl, + viewIncidentUrl, getIncidentUrl, updateIncidentUrl, ]; diff --git a/x-pack/plugins/actions/server/builtin_action_types/jira/api.test.ts b/x-pack/plugins/actions/server/builtin_action_types/jira/api.test.ts index b682d069397b88..43b969f9c96818 100644 --- a/x-pack/plugins/actions/server/builtin_action_types/jira/api.test.ts +++ b/x-pack/plugins/actions/server/builtin_action_types/jira/api.test.ts @@ -31,7 +31,7 @@ describe('api', () => { id: 'incident-1', title: 'CK-1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', comments: [ { commentId: 'case-comment-1', @@ -57,7 +57,7 @@ describe('api', () => { id: 'incident-1', title: 'CK-1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', }); }); @@ -150,7 +150,7 @@ describe('api', () => { id: 'incident-1', title: 'CK-1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', comments: [ { commentId: 'case-comment-1', @@ -176,7 +176,7 @@ describe('api', () => { id: 'incident-1', title: 'CK-1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', }); }); diff --git a/x-pack/plugins/actions/server/builtin_action_types/jira/mocks.ts b/x-pack/plugins/actions/server/builtin_action_types/jira/mocks.ts index 225fb7c364d3a1..f006fdabdc9127 100644 --- a/x-pack/plugins/actions/server/builtin_action_types/jira/mocks.ts +++ b/x-pack/plugins/actions/server/builtin_action_types/jira/mocks.ts @@ -24,7 +24,7 @@ const createMock = (): jest.Mocked => { id: 'incident-1', title: 'CK-1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', }) ), updateIncident: jest.fn().mockImplementation(() => @@ -32,7 +32,7 @@ const createMock = (): jest.Mocked => { id: 'incident-1', title: 'CK-1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', }) ), createComment: jest.fn(), diff --git a/x-pack/plugins/actions/server/builtin_action_types/jira/service.test.ts b/x-pack/plugins/actions/server/builtin_action_types/jira/service.test.ts index c62a1f3230e641..a60dd11af4707d 100644 --- a/x-pack/plugins/actions/server/builtin_action_types/jira/service.test.ts +++ b/x-pack/plugins/actions/server/builtin_action_types/jira/service.test.ts @@ -114,9 +114,8 @@ const mockNewAPI = () => data: { capabilities: { 'list-project-issuetypes': - 'https://siem-kibana.atlassian.net/rest/capabilities/list-project-issuetypes', - 'list-issuetype-fields': - 'https://siem-kibana.atlassian.net/rest/capabilities/list-issuetype-fields', + 'https://coolsite.net/rest/capabilities/list-project-issuetypes', + 'list-issuetype-fields': 'https://coolsite.net/rest/capabilities/list-issuetype-fields', }, }, }) @@ -127,7 +126,7 @@ const mockOldAPI = () => createAxiosResponse({ data: { capabilities: { - navigation: 'https://siem-kibana.atlassian.net/rest/capabilities/navigation', + navigation: 'https://coolsite.net/rest/capabilities/navigation', }, }, }) @@ -141,7 +140,7 @@ describe('Jira service', () => { { // The trailing slash at the end of the url is intended. // All API calls need to have the trailing slash removed. - config: { apiUrl: 'https://siem-kibana.atlassian.net/', projectKey: 'CK' }, + config: { apiUrl: 'https://coolsite.net/', projectKey: 'CK' }, secrets: { apiToken: 'token', email: 'elastic@elastic.com' }, }, logger, @@ -240,7 +239,7 @@ describe('Jira service', () => { await service.getIncident('1'); expect(requestMock).toHaveBeenCalledWith({ axios, - url: 'https://siem-kibana.atlassian.net/rest/api/2/issue/1', + url: 'https://coolsite.net/rest/api/2/issue/1', logger, configurationUtilities, }); @@ -313,7 +312,7 @@ describe('Jira service', () => { title: 'CK-1', id: '1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', }); }); @@ -329,7 +328,7 @@ describe('Jira service', () => { createAxiosResponse({ data: { capabilities: { - navigation: 'https://siem-kibana.atlassian.net/rest/capabilities/navigation', + navigation: 'https://coolsite.net/rest/capabilities/navigation', }, }, }) @@ -365,12 +364,12 @@ describe('Jira service', () => { title: 'CK-1', id: '1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', }); expect(requestMock).toHaveBeenCalledWith({ axios, - url: 'https://siem-kibana.atlassian.net/rest/api/2/issue', + url: 'https://coolsite.net/rest/api/2/issue', logger, method: 'post', configurationUtilities, @@ -392,7 +391,7 @@ describe('Jira service', () => { createAxiosResponse({ data: { capabilities: { - navigation: 'https://siem-kibana.atlassian.net/rest/capabilities/navigation', + navigation: 'https://coolsite.net/rest/capabilities/navigation', }, }, }) @@ -427,7 +426,7 @@ describe('Jira service', () => { expect(requestMock).toHaveBeenCalledWith({ axios, - url: 'https://siem-kibana.atlassian.net/rest/api/2/issue', + url: 'https://coolsite.net/rest/api/2/issue', logger, method: 'post', configurationUtilities, @@ -459,7 +458,7 @@ describe('Jira service', () => { expect(requestMock).toHaveBeenCalledWith({ axios, - url: 'https://siem-kibana.atlassian.net/rest/api/2/issue', + url: 'https://coolsite.net/rest/api/2/issue', logger, method: 'post', configurationUtilities, @@ -538,7 +537,7 @@ describe('Jira service', () => { title: 'CK-1', id: '1', pushedDate: '2020-04-27T10:59:46.202Z', - url: 'https://siem-kibana.atlassian.net/browse/CK-1', + url: 'https://coolsite.net/browse/CK-1', }); }); @@ -560,7 +559,7 @@ describe('Jira service', () => { logger, method: 'put', configurationUtilities, - url: 'https://siem-kibana.atlassian.net/rest/api/2/issue/1', + url: 'https://coolsite.net/rest/api/2/issue/1', data: { fields: { summary: 'title', @@ -644,7 +643,7 @@ describe('Jira service', () => { logger, method: 'post', configurationUtilities, - url: 'https://siem-kibana.atlassian.net/rest/api/2/issue/1/comment', + url: 'https://coolsite.net/rest/api/2/issue/1/comment', data: { body: 'comment' }, }); }); @@ -686,7 +685,7 @@ describe('Jira service', () => { const res = await service.getCapabilities(); expect(res).toEqual({ capabilities: { - navigation: 'https://siem-kibana.atlassian.net/rest/capabilities/navigation', + navigation: 'https://coolsite.net/rest/capabilities/navigation', }, }); }); @@ -701,7 +700,7 @@ describe('Jira service', () => { logger, method: 'get', configurationUtilities, - url: 'https://siem-kibana.atlassian.net/rest/capabilities', + url: 'https://coolsite.net/rest/capabilities', }); }); @@ -782,7 +781,7 @@ describe('Jira service', () => { logger, method: 'get', configurationUtilities, - url: 'https://siem-kibana.atlassian.net/rest/api/2/issue/createmeta?projectKeys=CK&expand=projects.issuetypes.fields', + url: 'https://coolsite.net/rest/api/2/issue/createmeta?projectKeys=CK&expand=projects.issuetypes.fields', }); }); @@ -856,7 +855,7 @@ describe('Jira service', () => { logger, method: 'get', configurationUtilities, - url: 'https://siem-kibana.atlassian.net/rest/api/2/issue/createmeta/CK/issuetypes', + url: 'https://coolsite.net/rest/api/2/issue/createmeta/CK/issuetypes', }); }); @@ -931,7 +930,7 @@ describe('Jira service', () => { logger, method: 'get', configurationUtilities, - url: 'https://siem-kibana.atlassian.net/rest/api/2/issue/createmeta?projectKeys=CK&issuetypeIds=10006&expand=projects.issuetypes.fields', + url: 'https://coolsite.net/rest/api/2/issue/createmeta?projectKeys=CK&issuetypeIds=10006&expand=projects.issuetypes.fields', }); }); @@ -1044,7 +1043,7 @@ describe('Jira service', () => { logger, method: 'get', configurationUtilities, - url: 'https://siem-kibana.atlassian.net/rest/api/2/issue/createmeta/CK/issuetypes/10006', + url: 'https://coolsite.net/rest/api/2/issue/createmeta/CK/issuetypes/10006', }); }); @@ -1112,7 +1111,7 @@ describe('Jira service', () => { logger, method: 'get', configurationUtilities, - url: `https://siem-kibana.atlassian.net/rest/api/2/search?jql=project%3D%22CK%22%20and%20summary%20~%22Test%20title%22`, + url: `https://coolsite.net/rest/api/2/search?jql=project%3D%22CK%22%20and%20summary%20~%22Test%20title%22`, }); }); @@ -1171,7 +1170,7 @@ describe('Jira service', () => { logger, method: 'get', configurationUtilities, - url: `https://siem-kibana.atlassian.net/rest/api/2/issue/RJ-107`, + url: `https://coolsite.net/rest/api/2/issue/RJ-107`, }); }); @@ -1206,9 +1205,9 @@ describe('Jira service', () => { data: { capabilities: { 'list-project-issuetypes': - 'https://siem-kibana.atlassian.net/rest/capabilities/list-project-issuetypes', + 'https://coolsite.net/rest/capabilities/list-project-issuetypes', 'list-issuetype-fields': - 'https://siem-kibana.atlassian.net/rest/capabilities/list-issuetype-fields', + 'https://coolsite.net/rest/capabilities/list-issuetype-fields', }, }, }) @@ -1225,9 +1224,9 @@ describe('Jira service', () => { data: { capabilities: { 'list-project-issuetypes': - 'https://siem-kibana.atlassian.net/rest/capabilities/list-project-issuetypes', + 'https://coolsite.net/rest/capabilities/list-project-issuetypes', 'list-issuetype-fields': - 'https://siem-kibana.atlassian.net/rest/capabilities/list-issuetype-fields', + 'https://coolsite.net/rest/capabilities/list-issuetype-fields', }, }, }) @@ -1237,9 +1236,9 @@ describe('Jira service', () => { data: { capabilities: { 'list-project-issuetypes': - 'https://siem-kibana.atlassian.net/rest/capabilities/list-project-issuetypes', + 'https://coolsite.net/rest/capabilities/list-project-issuetypes', 'list-issuetype-fields': - 'https://siem-kibana.atlassian.net/rest/capabilities/list-issuetype-fields', + 'https://coolsite.net/rest/capabilities/list-issuetype-fields', }, }, }) @@ -1289,12 +1288,12 @@ describe('Jira service', () => { callMocks(); await service.getFields(); const callUrls = [ - 'https://siem-kibana.atlassian.net/rest/capabilities', - 'https://siem-kibana.atlassian.net/rest/api/2/issue/createmeta/CK/issuetypes', - 'https://siem-kibana.atlassian.net/rest/capabilities', - 'https://siem-kibana.atlassian.net/rest/capabilities', - 'https://siem-kibana.atlassian.net/rest/api/2/issue/createmeta/CK/issuetypes/10006', - 'https://siem-kibana.atlassian.net/rest/api/2/issue/createmeta/CK/issuetypes/10007', + 'https://coolsite.net/rest/capabilities', + 'https://coolsite.net/rest/api/2/issue/createmeta/CK/issuetypes', + 'https://coolsite.net/rest/capabilities', + 'https://coolsite.net/rest/capabilities', + 'https://coolsite.net/rest/api/2/issue/createmeta/CK/issuetypes/10006', + 'https://coolsite.net/rest/api/2/issue/createmeta/CK/issuetypes/10007', ]; requestMock.mock.calls.forEach((call, i) => { expect(call[0].url).toEqual(callUrls[i]); diff --git a/x-pack/plugins/actions/server/lib/mustache_renderer.test.ts b/x-pack/plugins/actions/server/lib/mustache_renderer.test.ts index 154937c6f8065f..4fa76f5a133cae 100644 --- a/x-pack/plugins/actions/server/lib/mustache_renderer.test.ts +++ b/x-pack/plugins/actions/server/lib/mustache_renderer.test.ts @@ -131,7 +131,7 @@ describe('mustache_renderer', () => { const summary = 'A cool good summary'; const description = 'A cool good description'; const tags = ['cool', 'neat', 'nice']; - const str = 'https://siem-kibana.atlassian.net/browse/{{{external.system.title}}}'; + const str = 'https://coolsite.net/browse/{{{external.system.title}}}'; const objStr = '{\n' + @@ -177,7 +177,7 @@ describe('mustache_renderer', () => { }, }; expect(renderMustacheStringNoEscape(str, urlVariables)).toBe( - `https://siem-kibana.atlassian.net/browse/cool_title` + `https://coolsite.net/browse/cool_title` ); }); it('Inserts variables into url with quotes whens stringified', () => { @@ -190,7 +190,7 @@ describe('mustache_renderer', () => { }, }; expect(renderMustacheStringNoEscape(str, urlVariablesStr)).toBe( - `https://siem-kibana.atlassian.net/browse/"cool_title"` + `https://coolsite.net/browse/"cool_title"` ); }); it('Inserts variables into JSON non-escaped when triple brackets and JSON.stringified variables', () => { diff --git a/x-pack/plugins/security_solution/cypress/fixtures/7_16_case.ndjson b/x-pack/plugins/security_solution/cypress/fixtures/7_16_case.ndjson index bd7b0820202799..12285fa7671aa0 100644 --- a/x-pack/plugins/security_solution/cypress/fixtures/7_16_case.ndjson +++ b/x-pack/plugins/security_solution/cypress/fixtures/7_16_case.ndjson @@ -1,4 +1,4 @@ -{"attributes":{"actionTypeId":".jira","config":{"apiUrl":"https://siem-kibana.atlassian.net/","projectKey":"CASES"},"isMissingSecrets":true,"name":"Jira test"},"coreMigrationVersion":"7.16.0","id":"018d0110-46d1-11ec-a89e-8339c89698d8","migrationVersion":{"action":"7.16.0"},"references":[],"type":"action","updated_at":"2021-11-16T11:33:22.994Z","version":"WzIwNjYsMV0="} +{"attributes":{"actionTypeId":".jira","config":{"apiUrl":"https://coolsite.net/","projectKey":"CASES"},"isMissingSecrets":true,"name":"Jira test"},"coreMigrationVersion":"7.16.0","id":"018d0110-46d1-11ec-a89e-8339c89698d8","migrationVersion":{"action":"7.16.0"},"references":[],"type":"action","updated_at":"2021-11-16T11:33:22.994Z","version":"WzIwNjYsMV0="} {"attributes":{"closed_at":null,"closed_by":null,"connector":{"fields":[{"key":"issueType","value":"10001"},{"key":"parent","value":null},{"key":"priority","value":null}],"name":"Jira test","type":".jira"},"created_at":"2021-11-16T11:21:19.242Z","created_by":{"email":null,"full_name":"glo@test.co","username":"glo"},"description":"This is the description of the 7.16 case that I'm going to import in future versions.","external_service":null,"owner":"securitySolution","settings":{"syncAlerts":false},"status":"in-progress","tags":["export case"],"title":"7.16 case to export","type":"individual","updated_at":"2021-11-16T11:33:44.787Z","updated_by":{"email":"","full_name":"","username":"test"}},"coreMigrationVersion":"7.16.0","id":"5228e870-46cf-11ec-a89e-8339c89698d8","migrationVersion":{"cases":"7.15.0"},"references":[{"id":"018d0110-46d1-11ec-a89e-8339c89698d8","name":"connectorId","type":"action"}],"type":"cases","updated_at":"2021-11-16T11:33:44.788Z","version":"WzIwNzMsMV0="} {"attributes":{"action":"update","action_at":"2021-11-16T11:33:44.787Z","action_by":{"email":"","full_name":"","username":"test"},"action_field":["connector"],"new_value":"{\"name\":\"Jira test\",\"type\":\".jira\",\"fields\":{\"issueType\":\"10001\",\"parent\":null,\"priority\":null}}","old_value":"{\"name\":\"none\",\"type\":\".none\",\"fields\":null}","owner":"securitySolution"},"coreMigrationVersion":"7.16.0","id":"0ef96fa0-46d1-11ec-a89e-8339c89698d8","migrationVersion":{"cases-user-actions":"7.16.0"},"references":[{"id":"5228e870-46cf-11ec-a89e-8339c89698d8","name":"associated-cases","type":"cases"},{"id":"018d0110-46d1-11ec-a89e-8339c89698d8","name":"connectorId","type":"action"}],"score":null,"sort":[1637062424787,4305],"type":"cases-user-actions","updated_at":"2021-11-16T11:33:45.498Z","version":"WzIwNzQsMV0="} {"attributes":{"action":"create","action_at":"2021-11-16T11:21:19.242Z","action_by":{"email":null,"full_name":"glo@test.co","username":"glo"},"action_field":["description","status","tags","title","connector","settings","owner"],"new_value":"{\"type\":\"individual\",\"title\":\"7.16 case to export\",\"tags\":[\"export case\"],\"description\":\"This is the description of the 7.16 case that I'm going to import in future versions.\",\"connector\":{\"name\":\"none\",\"type\":\".none\",\"fields\":null},\"settings\":{\"syncAlerts\":false},\"owner\":\"securitySolution\"}","old_value":null,"owner":"securitySolution"},"coreMigrationVersion":"7.16.0","id":"52b87e40-46cf-11ec-a89e-8339c89698d8","migrationVersion":{"cases-user-actions":"7.16.0"},"references":[{"id":"5228e870-46cf-11ec-a89e-8339c89698d8","name":"associated-cases","type":"cases"}],"score":null,"sort":[1637061679242,4228],"type":"cases-user-actions","updated_at":"2021-11-16T11:21:20.164Z","version":"WzE5MjMsMV0="} @@ -12,4 +12,4 @@ {"attributes":{"action":"create","action_at":"2021-11-16T11:24:09.128Z","action_by":{"email":null,"full_name":"glo@test.co","username":"glo"},"action_field":["comment"],"new_value":"{\"comment\":\"!{lens{\\\"timeRange\\\":{\\\"from\\\":\\\"now-7d\\\",\\\"to\\\":\\\"now\\\",\\\"mode\\\":\\\"relative\\\"},\\\"attributes\\\":{\\\"title\\\":\\\"\\\",\\\"description\\\":\\\"Events acknowledged by the output (includes events dropped by the output). (From beat.stats.libbeat.output.events.acked)\\\",\\\"visualizationType\\\":\\\"lnsXY\\\",\\\"type\\\":\\\"lens\\\",\\\"references\\\":[{\\\"type\\\":\\\"index-pattern\\\",\\\"id\\\":\\\"92888d80-46cf-11ec-a89e-8339c89698d8\\\",\\\"name\\\":\\\"indexpattern-datasource-current-indexpattern\\\"},{\\\"type\\\":\\\"index-pattern\\\",\\\"id\\\":\\\"92888d80-46cf-11ec-a89e-8339c89698d8\\\",\\\"name\\\":\\\"indexpattern-datasource-layer-03c31209-08e8-4917-b7d5-9d77ecf40dd1\\\"}],\\\"state\\\":{\\\"visualization\\\":{\\\"legend\\\":{\\\"isVisible\\\":true,\\\"position\\\":\\\"right\\\"},\\\"valueLabels\\\":\\\"hide\\\",\\\"fittingFunction\\\":\\\"None\\\",\\\"yLeftExtent\\\":{\\\"mode\\\":\\\"full\\\"},\\\"yRightExtent\\\":{\\\"mode\\\":\\\"full\\\"},\\\"axisTitlesVisibilitySettings\\\":{\\\"x\\\":true,\\\"yRight\\\":true,\\\"yLeft\\\":true},\\\"tickLabelsVisibilitySettings\\\":{\\\"x\\\":true,\\\"yRight\\\":true,\\\"yLeft\\\":true},\\\"labelsOrientation\\\":{\\\"x\\\":0,\\\"yRight\\\":0,\\\"yLeft\\\":0},\\\"gridlinesVisibilitySettings\\\":{\\\"x\\\":true,\\\"yRight\\\":true,\\\"yLeft\\\":true},\\\"preferredSeriesType\\\":\\\"line\\\",\\\"layers\\\":[{\\\"layerId\\\":\\\"03c31209-08e8-4917-b7d5-9d77ecf40dd1\\\",\\\"seriesType\\\":\\\"line\\\",\\\"xAccessor\\\":\\\"bd01502a-3d64-470e-8277-928d6a9399e2\\\",\\\"accessors\\\":[\\\"97dfd130-3c4d-477a-8e24-adc95b5a5e86\\\"],\\\"layerType\\\":\\\"data\\\"}]},\\\"query\\\":{\\\"query\\\":\\\"\\\",\\\"language\\\":\\\"kuery\\\"},\\\"filters\\\":[],\\\"datasourceStates\\\":{\\\"indexpattern\\\":{\\\"layers\\\":{\\\"03c31209-08e8-4917-b7d5-9d77ecf40dd1\\\":{\\\"columns\\\":{\\\"bd01502a-3d64-470e-8277-928d6a9399e2\\\":{\\\"label\\\":\\\"@timestamp\\\",\\\"dataType\\\":\\\"date\\\",\\\"operationType\\\":\\\"date_histogram\\\",\\\"sourceField\\\":\\\"@timestamp\\\",\\\"isBucketed\\\":true,\\\"scale\\\":\\\"interval\\\",\\\"params\\\":{\\\"interval\\\":\\\"auto\\\"}},\\\"97dfd130-3c4d-477a-8e24-adc95b5a5e86\\\":{\\\"label\\\":\\\"Count of records\\\",\\\"dataType\\\":\\\"number\\\",\\\"operationType\\\":\\\"count\\\",\\\"isBucketed\\\":false,\\\"scale\\\":\\\"ratio\\\",\\\"sourceField\\\":\\\"Records\\\"}},\\\"columnOrder\\\":[\\\"bd01502a-3d64-470e-8277-928d6a9399e2\\\",\\\"97dfd130-3c4d-477a-8e24-adc95b5a5e86\\\"],\\\"incompleteColumns\\\":{}}}}}}}}}\",\"type\":\"user\",\"owner\":\"securitySolution\"}","old_value":null,"owner":"securitySolution"},"coreMigrationVersion":"7.16.0","id":"b8076630-46cf-11ec-a89e-8339c89698d8","migrationVersion":{"cases-user-actions":"7.16.0"},"references":[{"id":"5228e870-46cf-11ec-a89e-8339c89698d8","name":"associated-cases","type":"cases"},{"id":"b76d4910-46cf-11ec-a89e-8339c89698d8","name":"associated-cases-comments","type":"cases-comments"}],"score":null,"sort":[1637061849128,4260],"type":"cases-user-actions","updated_at":"2021-11-16T11:24:10.131Z","version":"WzE5ODcsMV0="} {"attributes":{"alertId":"f339b9b0e9763b98bcdb7c4a65a10701aaa97a99e232cfd2dab2d8680f7c6c3a","associationType":"case","created_at":"2021-11-16T11:24:42.043Z","created_by":{"email":null,"full_name":"glo@test.co","username":"glo"},"index":".siem-signals-default-000001","owner":"securitySolution","pushed_at":null,"pushed_by":null,"rule":{"id":"f45fd050-46ce-11ec-a89e-8339c89698d8","name":"This is a test"},"type":"alert","updated_at":null,"updated_by":null},"coreMigrationVersion":"7.16.0","id":"cb0acce0-46cf-11ec-a89e-8339c89698d8","migrationVersion":{"cases-comments":"7.16.0"},"references":[{"id":"5228e870-46cf-11ec-a89e-8339c89698d8","name":"associated-cases","type":"cases"}],"score":null,"sort":[1637061882043,6107],"type":"cases-comments","updated_at":"2021-11-16T11:24:42.048Z","version":"WzE5OTYsMV0="} {"attributes":{"action":"create","action_at":"2021-11-16T11:24:42.043Z","action_by":{"email":null,"full_name":"glo@test.co","username":"glo"},"action_field":["comment"],"new_value":"{\"type\":\"alert\",\"alertId\":\"f339b9b0e9763b98bcdb7c4a65a10701aaa97a99e232cfd2dab2d8680f7c6c3a\",\"index\":\".siem-signals-default-000001\",\"rule\":{\"id\":\"f45fd050-46ce-11ec-a89e-8339c89698d8\",\"name\":\"This is a test\"},\"owner\":\"securitySolution\"}","old_value":null,"owner":"securitySolution"},"coreMigrationVersion":"7.16.0","id":"cb634d20-46cf-11ec-a89e-8339c89698d8","migrationVersion":{"cases-user-actions":"7.16.0"},"references":[{"id":"5228e870-46cf-11ec-a89e-8339c89698d8","name":"associated-cases","type":"cases"},{"id":"cb0acce0-46cf-11ec-a89e-8339c89698d8","name":"associated-cases-comments","type":"cases-comments"}],"score":null,"sort":[1637061882043,4263],"type":"cases-user-actions","updated_at":"2021-11-16T11:24:42.610Z","version":"WzE5OTgsMV0="} -{"excludedObjects":[],"excludedObjectsCount":0,"exportedCount":14,"missingRefCount":0,"missingReferences":[]} \ No newline at end of file +{"excludedObjects":[],"excludedObjectsCount":0,"exportedCount":14,"missingRefCount":0,"missingReferences":[]} diff --git a/x-pack/plugins/security_solution/cypress/objects/case.ts b/x-pack/plugins/security_solution/cypress/objects/case.ts index f174c80874240e..ad29a8a415724c 100644 --- a/x-pack/plugins/security_solution/cypress/objects/case.ts +++ b/x-pack/plugins/security_solution/cypress/objects/case.ts @@ -106,7 +106,7 @@ export const getMockConnectorsResponse = () => [ actionTypeId: '.jira', name: 'Jira', config: { - apiUrl: 'https://siem-kibana.atlassian.net', + apiUrl: 'https://coolsite.net', projectKey: 'RJ', }, isPreconfigured: false, @@ -235,11 +235,11 @@ export const getExecuteResponses = () => ({ issuetype: { allowedValues: [ { - self: 'https://siem-kibana.atlassian.net/rest/api/2/issuetype/10006', + self: 'https://coolsite.net/rest/api/2/issuetype/10006', id: '10006', description: 'A small, distinct piece of work.', iconUrl: - 'https://siem-kibana.atlassian.net/secure/viewavatar?size=medium&avatarId=10318&avatarType=issuetype', + 'https://coolsite.net/secure/viewavatar?size=medium&avatarId=10318&avatarType=issuetype', name: 'Task', subtask: false, avatarId: 10318, @@ -253,21 +253,20 @@ export const getExecuteResponses = () => ({ project: { allowedValues: [ { - self: 'https://siem-kibana.atlassian.net/rest/api/2/project/10011', + self: 'https://coolsite.net/rest/api/2/project/10011', id: '10011', key: 'RJ', name: 'Refactor Jira', projectTypeKey: 'business', simplified: false, avatarUrls: { - '48x48': - 'https://siem-kibana.atlassian.net/secure/projectavatar?pid=10011&avatarId=10423', + '48x48': 'https://coolsite.net/secure/projectavatar?pid=10011&avatarId=10423', '24x24': - 'https://siem-kibana.atlassian.net/secure/projectavatar?size=small&s=small&pid=10011&avatarId=10423', + 'https://coolsite.net/secure/projectavatar?size=small&s=small&pid=10011&avatarId=10423', '16x16': - 'https://siem-kibana.atlassian.net/secure/projectavatar?size=xsmall&s=xsmall&pid=10011&avatarId=10423', + 'https://coolsite.net/secure/projectavatar?size=xsmall&s=xsmall&pid=10011&avatarId=10423', '32x32': - 'https://siem-kibana.atlassian.net/secure/projectavatar?size=medium&s=medium&pid=10011&avatarId=10423', + 'https://coolsite.net/secure/projectavatar?size=medium&s=medium&pid=10011&avatarId=10423', }, }, ], @@ -277,39 +276,39 @@ export const getExecuteResponses = () => ({ priority: { allowedValues: [ { - self: 'https://siem-kibana.atlassian.net/rest/api/2/priority/1', - iconUrl: 'https://siem-kibana.atlassian.net/images/icons/priorities/highest.svg', + self: 'https://coolsite.net/rest/api/2/priority/1', + iconUrl: 'https://coolsite.net/images/icons/priorities/highest.svg', name: 'Highest', id: '1', }, { - self: 'https://siem-kibana.atlassian.net/rest/api/2/priority/2', - iconUrl: 'https://siem-kibana.atlassian.net/images/icons/priorities/high.svg', + self: 'https://coolsite.net/rest/api/2/priority/2', + iconUrl: 'https://coolsite.net/images/icons/priorities/high.svg', name: 'High', id: '2', }, { - self: 'https://siem-kibana.atlassian.net/rest/api/2/priority/3', - iconUrl: 'https://siem-kibana.atlassian.net/images/icons/priorities/medium.svg', + self: 'https://coolsite.net/rest/api/2/priority/3', + iconUrl: 'https://coolsite.net/images/icons/priorities/medium.svg', name: 'Medium', id: '3', }, { - self: 'https://siem-kibana.atlassian.net/rest/api/2/priority/4', - iconUrl: 'https://siem-kibana.atlassian.net/images/icons/priorities/low.svg', + self: 'https://coolsite.net/rest/api/2/priority/4', + iconUrl: 'https://coolsite.net/images/icons/priorities/low.svg', name: 'Low', id: '4', }, { - self: 'https://siem-kibana.atlassian.net/rest/api/2/priority/5', - iconUrl: 'https://siem-kibana.atlassian.net/images/icons/priorities/lowest.svg', + self: 'https://coolsite.net/rest/api/2/priority/5', + iconUrl: 'https://coolsite.net/images/icons/priorities/lowest.svg', name: 'Lowest', id: '5', }, ], defaultValue: { - self: 'https://siem-kibana.atlassian.net/rest/api/2/priority/3', - iconUrl: 'https://siem-kibana.atlassian.net/images/icons/priorities/medium.svg', + self: 'https://coolsite.net/rest/api/2/priority/3', + iconUrl: 'https://coolsite.net/images/icons/priorities/medium.svg', name: 'Medium', id: '3', }, diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/steps/get.tsx b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/steps/get.tsx index b6f50715355faf..91afba02f1ccef 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/steps/get.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/steps/get.tsx @@ -121,7 +121,7 @@ export const GetStep: FunctionComponent = ({ display, readOnly }) => ( = ({ display, readOnly }) => ( componentProps={{ euiFieldProps: { readOnly, - 'data-test-subj': 'incidentViewUrlText', + 'data-test-subj': 'viewIncidentUrlText', messageVariables: urlVarsExt, - paramsProperty: 'incidentViewUrl', + paramsProperty: 'viewIncidentUrl', buttonTitle: i18n.ADD_CASES_VARIABLE, showButtonTitle: true, }, diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/steps/update.styles.ts b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/steps/update.styles.ts new file mode 100644 index 00000000000000..35f4b92aea5ba3 --- /dev/null +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/steps/update.styles.ts @@ -0,0 +1,16 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { css } from '@emotion/react'; + +export const styles = { + method: css` + .euiFormRow__labelWrapper { + margin-bottom: 12px; + } + `, +}; diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/steps/update.tsx b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/steps/update.tsx index c8bfa4ad350b13..e8305e7439778b 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/steps/update.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/steps/update.tsx @@ -15,6 +15,7 @@ import { MustacheTextFieldWrapper } from '../../../mustache_text_field_wrapper'; import { casesVars, commentVars, urlVars } from '../action_variables'; import { JsonFieldWrapper } from '../../../json_field_wrapper'; import { HTTP_VERBS } from '../webhook_connectors'; +import { styles } from './update.styles'; import * as i18n from '../translations'; const { emptyField, urlField } = fieldValidators; @@ -47,6 +48,7 @@ export const UpdateStep: FunctionComponent = ({ display, readOnly }) => ( }, ], }} + css={styles.method} componentProps={{ euiFieldProps: { 'data-test-subj': 'webhookUpdateMethodSelect', @@ -137,6 +139,7 @@ export const UpdateStep: FunctionComponent = ({ display, readOnly }) => ( }, ], }} + css={styles.method} componentProps={{ euiFieldProps: { 'data-test-subj': 'webhookCreateCommentMethodSelect', diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/translations.ts b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/translations.ts index 1e21e64228b176..643fac5e1e05c6 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/translations.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/translations.ts @@ -275,13 +275,13 @@ export const GET_INCIDENT_UPDATED_KEY_HELP = i18n.translate( ); export const EXTERNAL_INCIDENT_VIEW_URL = i18n.translate( - 'xpack.triggersActionsUI.components.builtinActionTypes.casesWebhookAction.incidentViewUrlTextFieldLabel', + 'xpack.triggersActionsUI.components.builtinActionTypes.casesWebhookAction.viewIncidentUrlTextFieldLabel', { defaultMessage: 'External Case View URL', } ); export const EXTERNAL_INCIDENT_VIEW_URL_HELP = i18n.translate( - 'xpack.triggersActionsUI.components.builtinActionTypes.casesWebhookAction.incidentViewUrlHelp', + 'xpack.triggersActionsUI.components.builtinActionTypes.casesWebhookAction.viewIncidentUrlHelp', { defaultMessage: 'URL to view case in external system. Use the variable selector to add external system id or external system title to the url.', diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/webhook_connectors.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/webhook_connectors.test.tsx index 3ce481f3b3466c..6d1d74bbde2870 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/webhook_connectors.test.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/webhook_connectors.test.tsx @@ -41,24 +41,23 @@ const invalidJsonBoth = `{"fields":{"summary":"wrong","description":"wrong","pro const config = { createCommentJson: '{"body":{{{case.comment}}}}', createCommentMethod: 'post', - createCommentUrl: - 'https://siem-kibana.atlassian.net/rest/api/2/issue/{{{external.system.id}}}/comment', + createCommentUrl: 'https://coolsite.net/rest/api/2/issue/{{{external.system.id}}}/comment', createIncidentJson: '{"fields":{"summary":{{{case.title}}},"description":{{{case.description}}},"project":{"key":"ROC"},"issuetype":{"id":"10024"}}}', createIncidentMethod: 'post', createIncidentResponseKey: 'id', - createIncidentUrl: 'https://siem-kibana.atlassian.net/rest/api/2/issue', + createIncidentUrl: 'https://coolsite.net/rest/api/2/issue', getIncidentResponseCreatedDateKey: 'fields.created', getIncidentResponseExternalTitleKey: 'key', getIncidentResponseUpdatedDateKey: 'fields.updated', hasAuth: true, headers: [{ key: 'content-type', value: 'text' }], - incidentViewUrl: 'https://siem-kibana.atlassian.net/browse/{{{external.system.title}}}', - getIncidentUrl: 'https://siem-kibana.atlassian.net/rest/api/2/issue/{{{external.system.id}}}', + viewIncidentUrl: 'https://coolsite.net/browse/{{{external.system.title}}}', + getIncidentUrl: 'https://coolsite.net/rest/api/2/issue/{{{external.system.id}}}', updateIncidentJson: '{"fields":{"summary":{{{case.title}}},"description":{{{case.description}}},"project":{"key":"ROC"},"issuetype":{"id":"10024"}}}', updateIncidentMethod: 'put', - updateIncidentUrl: 'https://siem-kibana.atlassian.net/rest/api/2/issue/{{{external.system.id}}}', + updateIncidentUrl: 'https://coolsite.net/rest/api/2/issue/{{{external.system.id}}}', }; const actionConnector = { secrets: { @@ -97,7 +96,7 @@ describe('CasesWebhookActionConnectorFields renders', () => { expect(getByTestId('getIncidentResponseExternalTitleKeyText')).toBeInTheDocument(); expect(getByTestId('getIncidentResponseCreatedDateKeyText')).toBeInTheDocument(); expect(getByTestId('getIncidentResponseUpdatedDateKeyText')).toBeInTheDocument(); - expect(getByTestId('incidentViewUrlInput')).toBeInTheDocument(); + expect(getByTestId('viewIncidentUrlInput')).toBeInTheDocument(); expect(getByTestId('webhookUpdateMethodSelect')).toBeInTheDocument(); expect(getByTestId('updateIncidentUrlInput')).toBeInTheDocument(); expect(getByTestId('webhookUpdateIncidentJson')).toBeInTheDocument(); @@ -340,7 +339,7 @@ describe('CasesWebhookActionConnectorFields renders', () => { ['webhookCreateUrlText', 'not-valid'], ['webhookUserInput', ''], ['webhookPasswordInput', ''], - ['incidentViewUrlInput', 'https://missingexternalid.com'], + ['viewIncidentUrlInput', 'https://missingexternalid.com'], ['createIncidentResponseKeyText', ''], ['getIncidentUrlInput', 'https://missingexternalid.com'], ['getIncidentResponseExternalTitleKeyText', ''], @@ -357,7 +356,7 @@ describe('CasesWebhookActionConnectorFields renders', () => { ['updateIncidentJson', invalidJsonBoth, ['{{{case.title}}}', '{{{case.description}}}']], ['createCommentJson', invalidJsonBoth, ['{{{case.comment}}}']], [ - 'incidentViewUrl', + 'viewIncidentUrl', 'https://missingexternalid.com', ['{{{external.system.id}}}', '{{{external.system.title}}}'], ], diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/webhook_connectors.tsx b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/webhook_connectors.tsx index d828f8226b8dfb..a023edea737c52 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/webhook_connectors.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/cases_webhook/webhook_connectors.tsx @@ -42,7 +42,7 @@ const fields = { 'config.getIncidentResponseExternalTitleKey', 'config.getIncidentResponseCreatedDateKey', 'config.getIncidentResponseUpdatedDateKey', - 'config.incidentViewUrl', + 'config.viewIncidentUrl', ], step4: [ 'config.updateIncidentMethod', diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx index da439343f58736..dc66f0cb594c99 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.test.tsx @@ -180,173 +180,181 @@ describe('action_form', () => { const useKibanaMock = useKibana as jest.Mocked; - describe('action_form in alert', () => { - async function setup(customActions?: RuleAction[], customRecoveredActionGroup?: string) { - const actionTypeRegistry = actionTypeRegistryMock.create(); + async function setup( + customActions?: RuleAction[], + customRecoveredActionGroup?: string, + isExperimental?: boolean + ) { + const actionTypeRegistry = actionTypeRegistryMock.create(); - const { loadAllActions } = jest.requireMock('../../lib/action_connector_api'); - loadAllActions.mockResolvedValueOnce(allActions); - const mocks = coreMock.createSetup(); - const [ - { - application: { capabilities }, - }, - ] = await mocks.getStartServices(); - // eslint-disable-next-line react-hooks/rules-of-hooks - useKibanaMock().services.application.capabilities = { - ...capabilities, - actions: { - show: true, - save: true, - delete: true, - }, - }; - actionTypeRegistry.list.mockReturnValue([ - actionType, - disabledByConfigActionType, - disabledByLicenseActionType, - disabledByActionType, - preconfiguredOnly, - ]); - actionTypeRegistry.has.mockReturnValue(true); - actionTypeRegistry.get.mockReturnValue(actionType); - const initialAlert = { - name: 'test', - params: {}, - consumer: 'alerts', - alertTypeId: alertType.id, - schedule: { - interval: '1m', - }, - actions: customActions - ? customActions - : [ - { - group: 'default', - id: 'test', - actionTypeId: actionType.id, - params: { - message: '', - }, + const { loadAllActions } = jest.requireMock('../../lib/action_connector_api'); + loadAllActions.mockResolvedValueOnce(allActions); + const mocks = coreMock.createSetup(); + const [ + { + application: { capabilities }, + }, + ] = await mocks.getStartServices(); + // eslint-disable-next-line react-hooks/rules-of-hooks + useKibanaMock().services.application.capabilities = { + ...capabilities, + actions: { + show: true, + save: true, + delete: true, + }, + }; + const newActionType = { + ...actionType, + isExperimental, + }; + actionTypeRegistry.list.mockReturnValue([ + newActionType, + disabledByConfigActionType, + disabledByLicenseActionType, + disabledByActionType, + preconfiguredOnly, + ]); + actionTypeRegistry.has.mockReturnValue(true); + actionTypeRegistry.get.mockReturnValue(newActionType); + const initialAlert = { + name: 'test', + params: {}, + consumer: 'alerts', + alertTypeId: alertType.id, + schedule: { + interval: '1m', + }, + actions: customActions + ? customActions + : [ + { + group: 'default', + id: 'test', + actionTypeId: newActionType.id, + params: { + message: '', }, - ], - tags: [], - muteAll: false, - enabled: false, - mutedInstanceIds: [], - } as unknown as Rule; + }, + ], + tags: [], + muteAll: false, + enabled: false, + mutedInstanceIds: [], + } as unknown as Rule; - loadActionTypes.mockResolvedValue([ - { - id: actionType.id, - name: 'Test', - enabled: true, - enabledInConfig: true, - enabledInLicense: true, - minimumLicenseRequired: 'basic', - supportedFeatureIds: ['alerting'], - }, - { - id: '.index', - name: 'Index', - enabled: true, - enabledInConfig: true, - enabledInLicense: true, - minimumLicenseRequired: 'basic', - supportedFeatureIds: ['alerting'], - }, - { - id: 'preconfigured', - name: 'Preconfigured only', - enabled: true, - enabledInConfig: false, - enabledInLicense: true, - minimumLicenseRequired: 'basic', - supportedFeatureIds: ['alerting'], - }, - { - id: 'disabled-by-config', - name: 'Disabled by config', - enabled: false, - enabledInConfig: false, - enabledInLicense: true, - minimumLicenseRequired: 'gold', - supportedFeatureIds: ['alerting'], - }, - { - id: 'disabled-by-license', - name: 'Disabled by license', - enabled: false, - enabledInConfig: true, - enabledInLicense: false, - minimumLicenseRequired: 'gold', - supportedFeatureIds: ['alerting'], - }, - { - id: '.jira', - name: 'Disabled by action type', - enabled: true, - enabledInConfig: true, - enabledInLicense: true, - minimumLicenseRequired: 'basic', - supportedFeatureIds: ['alerting'], - }, - ]); + loadActionTypes.mockResolvedValue([ + { + id: newActionType.id, + name: 'Test', + enabled: true, + enabledInConfig: true, + enabledInLicense: true, + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + }, + { + id: '.index', + name: 'Index', + enabled: true, + enabledInConfig: true, + enabledInLicense: true, + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + }, + { + id: 'preconfigured', + name: 'Preconfigured only', + enabled: true, + enabledInConfig: false, + enabledInLicense: true, + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + }, + { + id: 'disabled-by-config', + name: 'Disabled by config', + enabled: false, + enabledInConfig: false, + enabledInLicense: true, + minimumLicenseRequired: 'gold', + supportedFeatureIds: ['alerting'], + }, + { + id: 'disabled-by-license', + name: 'Disabled by license', + enabled: false, + enabledInConfig: true, + enabledInLicense: false, + minimumLicenseRequired: 'gold', + supportedFeatureIds: ['alerting'], + }, + { + id: '.jira', + name: 'Disabled by action type', + enabled: true, + enabledInConfig: true, + enabledInLicense: true, + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + }, + ]); - const defaultActionMessage = 'Alert [{{context.metadata.name}}] has exceeded the threshold'; - const wrapper = mountWithIntl( - { - const recoveryActionGroupId = customRecoveredActionGroup - ? customRecoveredActionGroup - : 'recovered'; - return isActionGroupDisabledForActionTypeId( - actionGroupId === recoveryActionGroupId ? RecoveredActionGroup.id : actionGroupId, - actionTypeId - ); - }} - setActionIdByIndex={(id: string, index: number) => { - initialAlert.actions[index].id = id; - }} - actionGroups={[ - { id: 'default', name: 'Default', defaultActionMessage }, - { - id: customRecoveredActionGroup ? customRecoveredActionGroup : 'recovered', - name: customRecoveredActionGroup ? 'I feel better' : 'Recovered', - }, - ]} - setActionGroupIdByIndex={(group: string, index: number) => { - initialAlert.actions[index].group = group; - }} - setActions={(_updatedActions: RuleAction[]) => {}} - setActionParamsProperty={(key: string, value: any, index: number) => - (initialAlert.actions[index] = { ...initialAlert.actions[index], [key]: value }) - } - actionTypeRegistry={actionTypeRegistry} - setHasActionsWithBrokenConnector={setHasActionsWithBrokenConnector} - /> - ); + const defaultActionMessage = 'Alert [{{context.metadata.name}}] has exceeded the threshold'; + const wrapper = mountWithIntl( + { + const recoveryActionGroupId = customRecoveredActionGroup + ? customRecoveredActionGroup + : 'recovered'; + return isActionGroupDisabledForActionTypeId( + actionGroupId === recoveryActionGroupId ? RecoveredActionGroup.id : actionGroupId, + actionTypeId + ); + }} + setActionIdByIndex={(id: string, index: number) => { + initialAlert.actions[index].id = id; + }} + actionGroups={[ + { id: 'default', name: 'Default', defaultActionMessage }, + { + id: customRecoveredActionGroup ? customRecoveredActionGroup : 'recovered', + name: customRecoveredActionGroup ? 'I feel better' : 'Recovered', + }, + ]} + setActionGroupIdByIndex={(group: string, index: number) => { + initialAlert.actions[index].group = group; + }} + setActions={(_updatedActions: RuleAction[]) => {}} + setActionParamsProperty={(key: string, value: any, index: number) => + (initialAlert.actions[index] = { ...initialAlert.actions[index], [key]: value }) + } + actionTypeRegistry={actionTypeRegistry} + setHasActionsWithBrokenConnector={setHasActionsWithBrokenConnector} + /> + ); - // Wait for active space to resolve before requesting the component to update - await act(async () => { - await nextTick(); - wrapper.update(); - }); + // Wait for active space to resolve before requesting the component to update + await act(async () => { + await nextTick(); + wrapper.update(); + }); - return wrapper; - } + return wrapper; + } + describe('action_form in alert', () => { it('renders available action cards', async () => { const wrapper = await setup(); const actionOption = wrapper.find( @@ -605,4 +613,28 @@ describe('action_form', () => { ).toHaveLength(2); }); }); + + describe('beta badge (action_type_form)', () => { + it(`does not render beta badge when isExperimental=undefined`, async () => { + const wrapper = await setup(); + expect(wrapper.find('EuiKeyPadMenuItem EuiBetaBadge').exists()).toBeFalsy(); + expect( + wrapper.find('EuiBetaBadge[data-test-subj="action-type-form-beta-badge"]').exists() + ).toBeFalsy(); + }); + it(`does not render beta badge when isExperimental=false`, async () => { + const wrapper = await setup(undefined, undefined, false); + expect(wrapper.find('EuiKeyPadMenuItem EuiBetaBadge').exists()).toBeFalsy(); + expect( + wrapper.find('EuiBetaBadge[data-test-subj="action-type-form-beta-badge"]').exists() + ).toBeFalsy(); + }); + it(`renders beta badge when isExperimental=true`, async () => { + const wrapper = await setup(undefined, undefined, true); + expect(wrapper.find('EuiKeyPadMenuItem EuiBetaBadge').exists()).toBeTruthy(); + expect( + wrapper.find('EuiBetaBadge[data-test-subj="action-type-form-beta-badge"]').exists() + ).toBeTruthy(); + }); + }); }); diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx index 391b0b60350004..06978dc8c13eab 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx @@ -20,6 +20,7 @@ import { EuiLink, } from '@elastic/eui'; import { ActionGroup, RuleActionParam } from '@kbn/alerting-plugin/common'; +import { betaBadgeProps } from './beta_badge_props'; import { loadActionTypes, loadAllActions as loadConnectors } from '../../lib/action_connector_api'; import { ActionTypeModel, @@ -256,6 +257,10 @@ export const ActionForm = ({ isDisabled={!checkEnabledResult.isEnabled} data-test-subj={`${item.id}-${featureId}-ActionTypeSelectOption`} label={actionTypesIndex[item.id].name} + betaBadgeLabel={item.isExperimental ? betaBadgeProps.label : undefined} + betaBadgeTooltipContent={ + item.isExperimental ? betaBadgeProps.tooltipContent : undefined + } onClick={() => addActionType(item)} > + {actionTypeRegistered && actionTypeRegistered.isExperimental && ( + + + + )} } extraAction={ diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx index df3101d11e5f8b..370e61b9fe5dce 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx @@ -41,121 +41,255 @@ describe('connector_add_flyout', () => { }, }; }); + afterEach(() => { + actionTypeRegistry.get.mockReset(); + jest.clearAllMocks(); + }); - it('renders action type menu with proper EuiCards for registered action types', async () => { - const onActionTypeChange = jest.fn(); - const actionType = actionTypeRegistryMock.createMockActionTypeModel({ - id: 'my-action-type', - iconClass: 'test', - selectMessage: 'test', - validateParams: (): Promise> => { - const validationResult = { errors: {} }; - return Promise.resolve(validationResult); - }, - actionConnectorFields: null, - }); - actionTypeRegistry.get.mockReturnValueOnce(actionType); - loadActionTypes.mockResolvedValueOnce([ - { - id: actionType.id, - enabled: true, - name: 'Test', - enabledInConfig: true, - enabledInLicense: true, - minimumLicenseRequired: 'basic', - supportedFeatureIds: ['alerting'], - }, - ]); - - const wrapper = mountWithIntl( - - ); - await act(async () => { - await nextTick(); - wrapper.update(); - }); + describe('rendering', () => { + it('renders action type menu with proper EuiCards for registered action types', async () => { + const onActionTypeChange = jest.fn(); + const actionType = actionTypeRegistryMock.createMockActionTypeModel({ + id: 'my-action-type', + iconClass: 'test', + selectMessage: 'test', + validateParams: (): Promise> => { + const validationResult = { errors: {} }; + return Promise.resolve(validationResult); + }, + actionConnectorFields: null, + }); + actionTypeRegistry.get.mockReturnValueOnce(actionType); + loadActionTypes.mockResolvedValueOnce([ + { + id: actionType.id, + enabled: true, + name: 'Test', + enabledInConfig: true, + enabledInLicense: true, + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + }, + ]); - expect(wrapper.find('[data-test-subj="my-action-type-card"]').exists()).toBeTruthy(); - }); + const wrapper = mountWithIntl( + + ); + await act(async () => { + await nextTick(); + wrapper.update(); + }); - it(`doesn't renders action types that are disabled via config`, async () => { - const onActionTypeChange = jest.fn(); - const actionType = actionTypeRegistryMock.createMockActionTypeModel({ - id: 'my-action-type', - iconClass: 'test', - selectMessage: 'test', - validateParams: (): Promise> => { - const validationResult = { errors: {} }; - return Promise.resolve(validationResult); - }, - actionConnectorFields: null, + expect(wrapper.find('[data-test-subj="my-action-type-card"]').exists()).toBeTruthy(); }); - actionTypeRegistry.get.mockReturnValueOnce(actionType); - loadActionTypes.mockResolvedValueOnce([ - { - id: actionType.id, - enabled: false, - name: 'Test', - enabledInConfig: false, - enabledInLicense: true, - minimumLicenseRequired: 'gold', - supportedFeatureIds: ['alerting'], - }, - ]); - - const wrapper = mountWithIntl( - - ); - await act(async () => { - await nextTick(); - wrapper.update(); + + it(`doesn't renders action types that are disabled via config`, async () => { + const onActionTypeChange = jest.fn(); + const actionType = actionTypeRegistryMock.createMockActionTypeModel({ + id: 'my-action-type', + iconClass: 'test', + selectMessage: 'test', + validateParams: (): Promise> => { + const validationResult = { errors: {} }; + return Promise.resolve(validationResult); + }, + actionConnectorFields: null, + }); + actionTypeRegistry.get.mockReturnValueOnce(actionType); + loadActionTypes.mockResolvedValueOnce([ + { + id: actionType.id, + enabled: false, + name: 'Test', + enabledInConfig: false, + enabledInLicense: true, + minimumLicenseRequired: 'gold', + supportedFeatureIds: ['alerting'], + }, + ]); + + const wrapper = mountWithIntl( + + ); + await act(async () => { + await nextTick(); + wrapper.update(); + }); + + expect(wrapper.find('[data-test-subj="my-action-type-card"]').exists()).toBeFalsy(); }); - expect(wrapper.find('[data-test-subj="my-action-type-card"]').exists()).toBeFalsy(); + it(`renders action types as disabled when disabled by license`, async () => { + const onActionTypeChange = jest.fn(); + const actionType = actionTypeRegistryMock.createMockActionTypeModel({ + id: 'my-action-type', + iconClass: 'test', + selectMessage: 'test', + validateParams: (): Promise> => { + const validationResult = { errors: {} }; + return Promise.resolve(validationResult); + }, + actionConnectorFields: null, + }); + actionTypeRegistry.get.mockReturnValueOnce(actionType); + loadActionTypes.mockResolvedValueOnce([ + { + id: actionType.id, + enabled: false, + name: 'Test', + enabledInConfig: true, + enabledInLicense: false, + minimumLicenseRequired: 'gold', + supportedFeatureIds: ['alerting'], + }, + ]); + + const wrapper = mountWithIntl( + + ); + await act(async () => { + await nextTick(); + wrapper.update(); + }); + + expect( + wrapper.find('EuiToolTip [data-test-subj="my-action-type-card"]').exists() + ).toBeTruthy(); + }); }); - it(`renders action types as disabled when disabled by license`, async () => { - const onActionTypeChange = jest.fn(); - const actionType = actionTypeRegistryMock.createMockActionTypeModel({ - id: 'my-action-type', - iconClass: 'test', - selectMessage: 'test', - validateParams: (): Promise> => { - const validationResult = { errors: {} }; - return Promise.resolve(validationResult); - }, - actionConnectorFields: null, + describe('beta badge', () => { + it(`does not render beta badge when isExperimental=undefined`, async () => { + const onActionTypeChange = jest.fn(); + const actionType = actionTypeRegistryMock.createMockActionTypeModel({ + id: 'my-action-type', + iconClass: 'test', + selectMessage: 'test', + validateParams: (): Promise> => { + const validationResult = { errors: {} }; + return Promise.resolve(validationResult); + }, + actionConnectorFields: null, + }); + actionTypeRegistry.get.mockReturnValueOnce(actionType); + loadActionTypes.mockResolvedValueOnce([ + { + id: actionType.id, + enabled: false, + name: 'Test', + enabledInConfig: true, + enabledInLicense: false, + minimumLicenseRequired: 'gold', + supportedFeatureIds: ['alerting'], + }, + ]); + + const wrapper = mountWithIntl( + + ); + await act(async () => { + await nextTick(); + wrapper.update(); + }); + + expect( + wrapper.find('EuiToolTip [data-test-subj="my-action-type-card"] EuiBetaBadge').exists() + ).toBeFalsy(); }); - actionTypeRegistry.get.mockReturnValueOnce(actionType); - loadActionTypes.mockResolvedValueOnce([ - { - id: actionType.id, - enabled: false, - name: 'Test', - enabledInConfig: true, - enabledInLicense: false, - minimumLicenseRequired: 'gold', - supportedFeatureIds: ['alerting'], - }, - ]); - - const wrapper = mountWithIntl( - - ); - await act(async () => { - await nextTick(); - wrapper.update(); + it(`does not render beta badge when isExperimental=false`, async () => { + const onActionTypeChange = jest.fn(); + const actionType = actionTypeRegistryMock.createMockActionTypeModel({ + id: 'my-action-type', + iconClass: 'test', + selectMessage: 'test', + validateParams: (): Promise> => { + const validationResult = { errors: {} }; + return Promise.resolve(validationResult); + }, + actionConnectorFields: null, + isExperimental: false, + }); + actionTypeRegistry.get.mockReturnValueOnce(actionType); + loadActionTypes.mockResolvedValueOnce([ + { + id: actionType.id, + enabled: false, + name: 'Test', + enabledInConfig: true, + enabledInLicense: false, + minimumLicenseRequired: 'gold', + supportedFeatureIds: ['alerting'], + }, + ]); + + const wrapper = mountWithIntl( + + ); + await act(async () => { + await nextTick(); + wrapper.update(); + }); + + expect( + wrapper.find('EuiToolTip [data-test-subj="my-action-type-card"] EuiBetaBadge').exists() + ).toBeFalsy(); }); - expect(wrapper.find('EuiToolTip [data-test-subj="my-action-type-card"]').exists()).toBeTruthy(); + it(`renders beta badge when isExperimental=true`, async () => { + const onActionTypeChange = jest.fn(); + const actionType = actionTypeRegistryMock.createMockActionTypeModel({ + id: 'my-action-type', + iconClass: 'test', + selectMessage: 'test', + validateParams: (): Promise> => { + const validationResult = { errors: {} }; + return Promise.resolve(validationResult); + }, + actionConnectorFields: null, + isExperimental: true, + }); + actionTypeRegistry.get.mockReturnValueOnce(actionType); + loadActionTypes.mockResolvedValueOnce([ + { + id: actionType.id, + enabled: false, + name: 'Test', + enabledInConfig: true, + enabledInLicense: false, + minimumLicenseRequired: 'gold', + supportedFeatureIds: ['alerting'], + }, + ]); + + const wrapper = mountWithIntl( + + ); + await act(async () => { + await nextTick(); + wrapper.update(); + }); + + expect( + wrapper.find('EuiToolTip [data-test-subj="my-action-type-card"] EuiBetaBadge').exists() + ).toBeTruthy(); + }); }); }); diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx index 558ae873892da2..e88799c5faf681 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_inline.tsx @@ -22,7 +22,9 @@ import { EuiFormRow, EuiButtonEmpty, EuiIconTip, + EuiBetaBadge, } from '@elastic/eui'; +import { betaBadgeProps } from './beta_badge_props'; import { RuleAction, ActionTypeIndex, ActionConnector } from '../../../types'; import { hasSaveActionsCapability } from '../../lib/capabilities'; import { ActionAccordionFormProps } from './action_form'; @@ -179,6 +181,14 @@ export const AddConnectorInline = ({ /> )} + {actionTypeRegistered && actionTypeRegistered.isExperimental && ( + + + + )} } extraAction={ diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx index fe29f363c388f5..fcc80ace505ffe 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx @@ -75,4 +75,84 @@ describe('connector_add_modal', () => { expect(wrapper.exists('.euiModalHeader')).toBeTruthy(); expect(wrapper.exists('[data-test-subj="saveActionButtonModal"]')).toBeTruthy(); }); + + describe('beta badge', () => { + it(`does not render beta badge when isExperimental=false`, async () => { + const actionTypeModel = actionTypeRegistryMock.createMockActionTypeModel({ + id: 'my-action-type', + iconClass: 'test', + isExperimental: false, + selectMessage: 'test', + validateParams: (): Promise> => { + const validationResult = { errors: {} }; + return Promise.resolve(validationResult); + }, + actionConnectorFields: null, + }); + actionTypeRegistry.get.mockReturnValue(actionTypeModel); + actionTypeRegistry.has.mockReturnValue(true); + + const actionType: ActionType = { + id: 'my-action-type', + name: 'test', + enabled: true, + enabledInConfig: true, + enabledInLicense: true, + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + }; + const wrapper = mountWithIntl( + {}} + actionType={actionType} + actionTypeRegistry={actionTypeRegistry} + /> + ); + await act(async () => { + await nextTick(); + wrapper.update(); + }); + + expect(wrapper.find('EuiBetaBadge').exists()).toBeFalsy(); + }); + + it(`renders beta badge when isExperimental=true`, async () => { + const actionTypeModel = actionTypeRegistryMock.createMockActionTypeModel({ + id: 'my-action-type', + iconClass: 'test', + isExperimental: true, + selectMessage: 'test', + validateParams: (): Promise> => { + const validationResult = { errors: {} }; + return Promise.resolve(validationResult); + }, + actionConnectorFields: null, + }); + actionTypeRegistry.get.mockReturnValue(actionTypeModel); + actionTypeRegistry.has.mockReturnValue(true); + + const actionType: ActionType = { + id: 'my-action-type', + name: 'test', + enabled: true, + enabledInConfig: true, + enabledInLicense: true, + minimumLicenseRequired: 'basic', + supportedFeatureIds: ['alerting'], + }; + const wrapper = mountWithIntl( + {}} + actionType={actionType} + actionTypeRegistry={actionTypeRegistry} + /> + ); + await act(async () => { + await nextTick(); + wrapper.update(); + }); + + expect(wrapper.find('EuiBetaBadge').exists()).toBeTruthy(); + }); + }); }); diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx index 0b8095f0058ebc..0fefaef24129eb 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.tsx @@ -19,9 +19,11 @@ import { EuiFlexItem, EuiIcon, EuiFlexGroup, + EuiBetaBadge, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import './connector_add_modal.scss'; +import { betaBadgeProps } from './beta_badge_props'; import { hasSaveActionsCapability } from '../../lib/capabilities'; import { ActionType, ActionConnector, ActionTypeRegistryContract } from '../../../types'; import { useKibana } from '../../../common/lib/kibana'; @@ -140,18 +142,30 @@ const ConnectorAddModal = ({ ) : null} - - -

- -

-
+ + + + +

+ +

+
+
+ {actionTypeModel && actionTypeModel.isExperimental && ( + + + + )} +
diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx index e0cd2a77cc265d..6369ec5a2dcbf5 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/header.tsx @@ -45,20 +45,32 @@ const FlyoutHeaderComponent: React.FC = ({
) : null} - + {actionTypeName && actionTypeMessage ? ( <> - -

- -

-
+ + + +

+ +

+
+
+ {actionTypeName && isExperimental && ( + + + + )} +
{actionTypeMessage} @@ -96,14 +108,6 @@ const FlyoutHeaderComponent: React.FC = ({ )}
- {actionTypeName && isExperimental && ( - - - - )} ); diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx index a3cde0479d6f6e..722667921ad268 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/create_connector_flyout/index.test.tsx @@ -16,6 +16,7 @@ import { createAppMockRenderer, } from '../../../components/builtin_action_types/test_utils'; import CreateConnectorFlyout from '.'; +import { betaBadgeProps } from '../beta_badge_props'; jest.mock('../../../lib/action_connector_api', () => ({ ...(jest.requireActual('../../../lib/action_connector_api') as any), @@ -79,6 +80,7 @@ describe('CreateConnectorFlyout', () => { onTestConnector={onTestConnector} /> ); + await act(() => Promise.resolve()); expect(getByTestId('create-connector-flyout')).toBeInTheDocument(); expect(getByTestId('create-connector-flyout-header')).toBeInTheDocument(); @@ -294,6 +296,47 @@ describe('CreateConnectorFlyout', () => { expect(getByText('Test connector')).toBeInTheDocument(); expect(getByText(`selectMessage-${actionTypeModel.id}`)).toBeInTheDocument(); }); + + it('does not show beta badge when isExperimental is undefined', async () => { + const { queryByText } = appMockRenderer.render( + + ); + await act(() => Promise.resolve()); + expect(queryByText(betaBadgeProps.label)).not.toBeInTheDocument(); + }); + + it('does not show beta badge when isExperimental is false', async () => { + actionTypeRegistry.get.mockReturnValue({ ...actionTypeModel, isExperimental: false }); + const { queryByText } = appMockRenderer.render( + + ); + await act(() => Promise.resolve()); + expect(queryByText(betaBadgeProps.label)).not.toBeInTheDocument(); + }); + + it('shows beta badge when isExperimental is true', async () => { + actionTypeRegistry.get.mockReturnValue({ ...actionTypeModel, isExperimental: true }); + const { getByText } = appMockRenderer.render( + + ); + await act(() => Promise.resolve()); + expect(getByText(betaBadgeProps.label)).toBeInTheDocument(); + }); }); describe('Submitting', () => { diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx index 9e3f5d58f0b55e..33fee16200627f 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/header.tsx @@ -22,16 +22,26 @@ import { } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; import { i18n } from '@kbn/i18n'; +import { betaBadgeProps } from '../beta_badge_props'; import { EditConnectorTabs } from '../../../../types'; const FlyoutHeaderComponent: React.FC<{ + isExperimental?: boolean; isPreconfigured: boolean; connectorName: string; connectorTypeDesc: string; selectedTab: EditConnectorTabs; setTab: () => void; icon?: IconType | null; -}> = ({ icon, isPreconfigured, connectorName, connectorTypeDesc, selectedTab, setTab }) => { +}> = ({ + icon, + isExperimental = false, + isPreconfigured, + connectorName, + connectorTypeDesc, + selectedTab, + setTab, +}) => { const { euiTheme } = useEuiTheme(); return ( @@ -42,17 +52,22 @@ const FlyoutHeaderComponent: React.FC<{
) : null} - + {isPreconfigured ? ( <> - -

- -   + + + +

+ +

+
+
+ -

-
+
+ + {isExperimental && ( + + )} + + ) : ( - -

- -

-
+ + + +

+ +

+
+
+ {isExperimental && ( + + + + )} +
)}
diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx index 75b9091e192945..8a828fcfc95396 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.test.tsx @@ -17,6 +17,7 @@ import { } from '../../../components/builtin_action_types/test_utils'; import EditConnectorFlyout from '.'; import { ActionConnector, EditConnectorTabs, GenericValidationResult } from '../../../../types'; +import { betaBadgeProps } from '../beta_badge_props'; const updateConnectorResponse = { connector_type_id: 'test', @@ -191,6 +192,33 @@ describe('EditConnectorFlyout', () => { expect(getByTestId('preconfiguredBadge')).toBeInTheDocument(); }); + + it('does not show beta badge when isExperimental is false', async () => { + const { queryByText } = appMockRenderer.render( + + ); + await act(() => Promise.resolve()); + expect(queryByText(betaBadgeProps.label)).not.toBeInTheDocument(); + }); + + it('shows beta badge when isExperimental is true', async () => { + actionTypeRegistry.get.mockReturnValue({ ...actionTypeModel, isExperimental: true }); + const { getByText } = appMockRenderer.render( + + ); + await act(() => Promise.resolve()); + expect(getByText(betaBadgeProps.label)).toBeInTheDocument(); + }); }); describe('Tabs', () => { diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx index 4880cf10a17189..452a89d04f9c12 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/edit_connector_flyout/index.tsx @@ -246,6 +246,7 @@ const EditConnectorFlyoutComponent: React.FC = ({ setTab={handleSetTab} selectedTab={selectedTab} icon={actionTypeModel?.iconClass} + isExperimental={actionTypeModel?.isExperimental} /> {selectedTab === EditConnectorTabs.Configuration ? ( diff --git a/x-pack/test/alerting_api_integration/basic/tests/actions/builtin_action_types/cases_webhook.ts b/x-pack/test/alerting_api_integration/basic/tests/actions/builtin_action_types/cases_webhook.ts index f767382a779ac2..602fa1e2fff002 100644 --- a/x-pack/test/alerting_api_integration/basic/tests/actions/builtin_action_types/cases_webhook.ts +++ b/x-pack/test/alerting_api_integration/basic/tests/actions/builtin_action_types/cases_webhook.ts @@ -20,25 +20,23 @@ export default function casesWebhookTest({ getService }: FtrProviderContext) { const config = { createCommentJson: '{"body":{{{case.comment}}}}', createCommentMethod: 'post', - createCommentUrl: - 'https://siem-kibana.atlassian.net/rest/api/2/issue/{{{external.system.id}}}/comment', + createCommentUrl: 'https://coolsite.net/rest/api/2/issue/{{{external.system.id}}}/comment', createIncidentJson: '{"fields":{"summary":{{{case.title}}},"description":{{{case.description}}},"labels":{{{case.tags}}},"project":{"key":"ROC"},"issuetype":{"id":"10024"}}}', createIncidentMethod: 'post', createIncidentResponseKey: 'id', - createIncidentUrl: 'https://siem-kibana.atlassian.net/rest/api/2/issue', + createIncidentUrl: 'https://coolsite.net/rest/api/2/issue', getIncidentResponseCreatedDateKey: 'fields.created', getIncidentResponseExternalTitleKey: 'key', getIncidentResponseUpdatedDateKey: 'fields.updated', hasAuth: true, headers: { ['content-type']: 'application/json' }, - incidentViewUrl: 'https://siem-kibana.atlassian.net/browse/{{{external.system.title}}}', - getIncidentUrl: 'https://siem-kibana.atlassian.net/rest/api/2/issue/{{{external.system.id}}}', + viewIncidentUrl: 'https://coolsite.net/browse/{{{external.system.title}}}', + getIncidentUrl: 'https://coolsite.net/rest/api/2/issue/{{{external.system.id}}}', updateIncidentJson: '{"fields":{"summary":{{{case.title}}},"description":{{{case.description}}},"labels":{{{case.tags}}},"project":{"key":"ROC"},"issuetype":{"id":"10024"}}}', updateIncidentMethod: 'put', - updateIncidentUrl: - 'https://siem-kibana.atlassian.net/rest/api/2/issue/{{{external.system.id}}}', + updateIncidentUrl: 'https://coolsite.net/rest/api/2/issue/{{{external.system.id}}}', }; const mockCasesWebhook = { @@ -81,7 +79,7 @@ export default function casesWebhookTest({ getService }: FtrProviderContext) { ...config, createCommentUrl: `${casesWebhookSimulatorURL}/{{{external.system.id}}}/comments`, createIncidentUrl: casesWebhookSimulatorURL, - incidentViewUrl: `${casesWebhookSimulatorURL}/{{{external.system.title}}}`, + viewIncidentUrl: `${casesWebhookSimulatorURL}/{{{external.system.title}}}`, getIncidentUrl: `${casesWebhookSimulatorURL}/{{{external.system.id}}}`, updateIncidentUrl: `${casesWebhookSimulatorURL}/{{{external.system.id}}}`, }, diff --git a/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/actions/builtin_action_types/cases_webhook.ts b/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/actions/builtin_action_types/cases_webhook.ts index 89c92b22659837..40c8a21fa9b65c 100644 --- a/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/actions/builtin_action_types/cases_webhook.ts +++ b/x-pack/test/alerting_api_integration/security_and_spaces/group2/tests/actions/builtin_action_types/cases_webhook.ts @@ -24,25 +24,23 @@ export default function casesWebhookTest({ getService }: FtrProviderContext) { const config = { createCommentJson: '{"body":{{{case.comment}}}}', createCommentMethod: 'post', - createCommentUrl: - 'https://siem-kibana.atlassian.net/rest/api/2/issue/{{{external.system.id}}}/comment', + createCommentUrl: 'https://coolsite.net/rest/api/2/issue/{{{external.system.id}}}/comment', createIncidentJson: '{"fields":{"summary":{{{case.title}}},"description":{{{case.description}}},"labels":{{{case.tags}}},"project":{"key":"ROC"},"issuetype":{"id":"10024"}}}', createIncidentMethod: 'post', createIncidentResponseKey: 'id', - createIncidentUrl: 'https://siem-kibana.atlassian.net/rest/api/2/issue', + createIncidentUrl: 'https://coolsite.net/rest/api/2/issue', getIncidentResponseCreatedDateKey: 'fields.created', getIncidentResponseExternalTitleKey: 'key', getIncidentResponseUpdatedDateKey: 'fields.updated', hasAuth: true, headers: { ['content-type']: 'application/json', ['kbn-xsrf']: 'abcd' }, - incidentViewUrl: 'https://siem-kibana.atlassian.net/browse/{{{external.system.title}}}', - getIncidentUrl: 'https://siem-kibana.atlassian.net/rest/api/2/issue/{{{external.system.id}}}', + viewIncidentUrl: 'https://coolsite.net/browse/{{{external.system.title}}}', + getIncidentUrl: 'https://coolsite.net/rest/api/2/issue/{{{external.system.id}}}', updateIncidentJson: '{"fields":{"summary":{{{case.title}}},"description":{{{case.description}}},"labels":{{{case.tags}}},"project":{"key":"ROC"},"issuetype":{"id":"10024"}}}', updateIncidentMethod: 'put', - updateIncidentUrl: - 'https://siem-kibana.atlassian.net/rest/api/2/issue/{{{external.system.id}}}', + updateIncidentUrl: 'https://coolsite.net/rest/api/2/issue/{{{external.system.id}}}', }; const requiredFields = [ 'createIncidentJson', @@ -51,7 +49,7 @@ export default function casesWebhookTest({ getService }: FtrProviderContext) { 'getIncidentResponseCreatedDateKey', 'getIncidentResponseExternalTitleKey', 'getIncidentResponseUpdatedDateKey', - 'incidentViewUrl', + 'viewIncidentUrl', 'getIncidentUrl', 'updateIncidentJson', 'updateIncidentUrl', @@ -94,7 +92,7 @@ export default function casesWebhookTest({ getService }: FtrProviderContext) { ...mockCasesWebhook.config, createCommentUrl: `${casesWebhookSimulatorURL}/rest/api/2/issue/{{{external.system.id}}}/comment`, createIncidentUrl: `${casesWebhookSimulatorURL}/rest/api/2/issue`, - incidentViewUrl: `${casesWebhookSimulatorURL}/browse/{{{external.system.title}}}`, + viewIncidentUrl: `${casesWebhookSimulatorURL}/browse/{{{external.system.title}}}`, getIncidentUrl: `${casesWebhookSimulatorURL}/rest/api/2/issue/{{{external.system.id}}}`, updateIncidentUrl: `${casesWebhookSimulatorURL}/rest/api/2/issue/{{{external.system.id}}}`, }; @@ -174,7 +172,7 @@ export default function casesWebhookTest({ getService }: FtrProviderContext) { ...mockCasesWebhook.config, createCommentUrl: `${badUrl}/{{{external.system.id}}}/comments`, createIncidentUrl: badUrl, - incidentViewUrl: `${badUrl}/{{{external.system.title}}}`, + viewIncidentUrl: `${badUrl}/{{{external.system.title}}}`, getIncidentUrl: `${badUrl}/{{{external.system.id}}}`, updateIncidentUrl: `${badUrl}/{{{external.system.id}}}`, }, diff --git a/x-pack/test/cases_api_integration/common/lib/utils.ts b/x-pack/test/cases_api_integration/common/lib/utils.ts index ba565b6a6f778f..98374c92d0c8a7 100644 --- a/x-pack/test/cases_api_integration/common/lib/utils.ts +++ b/x-pack/test/cases_api_integration/common/lib/utils.ts @@ -271,7 +271,7 @@ export const getCasesWebhookConnector = () => ({ getIncidentResponseUpdatedDateKey: 'fields.updated', hasAuth: true, headers: { [`content-type`]: 'application/json' }, - incidentViewUrl: 'http://some.non.existent.com/browse/{{{external.system.title}}}', + viewIncidentUrl: 'http://some.non.existent.com/browse/{{{external.system.title}}}', getIncidentUrl: 'http://some.non.existent.com/{{{external.system.id}}}', updateIncidentJson: '{"fields":{"summary":{{{case.title}}},"description":{{{case.description}}},"project":{"key":"ROC"},"issuetype":{"id":"10024"}}}', diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/configure/get_connectors.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/configure/get_connectors.ts index 4109913d9f4fb3..00b8c461c9554e 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/configure/get_connectors.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/configure/get_connectors.ts @@ -76,7 +76,7 @@ export default ({ getService }: FtrProviderContext): void => { getIncidentResponseUpdatedDateKey: 'fields.updated', hasAuth: true, headers: { [`content-type`]: 'application/json' }, - incidentViewUrl: 'http://some.non.existent.com/browse/{{{external.system.title}}}', + viewIncidentUrl: 'http://some.non.existent.com/browse/{{{external.system.title}}}', getIncidentUrl: 'http://some.non.existent.com/{{{external.system.id}}}', updateIncidentJson: '{"fields":{"summary":{{{case.title}}},"description":{{{case.description}}},"project":{"key":"ROC"},"issuetype":{"id":"10024"}}}', diff --git a/x-pack/test/cases_api_integration/spaces_only/tests/trial/configure/get_connectors.ts b/x-pack/test/cases_api_integration/spaces_only/tests/trial/configure/get_connectors.ts index c6d2165f2bf8b3..cf6aff833d24e9 100644 --- a/x-pack/test/cases_api_integration/spaces_only/tests/trial/configure/get_connectors.ts +++ b/x-pack/test/cases_api_integration/spaces_only/tests/trial/configure/get_connectors.ts @@ -110,7 +110,7 @@ export default ({ getService }: FtrProviderContext): void => { getIncidentResponseUpdatedDateKey: 'fields.updated', hasAuth: true, headers: { [`content-type`]: 'application/json' }, - incidentViewUrl: 'http://some.non.existent.com/browse/{{{external.system.title}}}', + viewIncidentUrl: 'http://some.non.existent.com/browse/{{{external.system.title}}}', getIncidentUrl: 'http://some.non.existent.com/{{{external.system.id}}}', updateIncidentJson: '{"fields":{"summary":{{{case.title}}},"description":{{{case.description}}},"project":{"key":"ROC"},"issuetype":{"id":"10024"}}}', From 82f22a03ec26c49955dd3c745d0f31d9f97dc052 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leysens Date: Fri, 29 Jul 2022 22:05:30 +0200 Subject: [PATCH 06/37] [Screenshotting] Remove the concept of "groups" from layouts (#137438) * remove the concept of "groups" from layouts * updated "next page" logic Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../server/formats/pdf/pdf_maker/pdfmaker.ts | 32 +++++++++---------- .../server/layouts/base_layout.ts | 1 - .../server/layouts/canvas_layout.ts | 1 - .../server/layouts/create_layout.test.ts | 3 -- .../server/layouts/preserve_layout.test.ts | 1 - .../server/layouts/preserve_layout.ts | 1 - .../server/layouts/print_layout.ts | 1 - 7 files changed, 15 insertions(+), 25 deletions(-) diff --git a/x-pack/plugins/screenshotting/server/formats/pdf/pdf_maker/pdfmaker.ts b/x-pack/plugins/screenshotting/server/formats/pdf/pdf_maker/pdfmaker.ts index 7dc71bb6bb9208..2eda655509f714 100644 --- a/x-pack/plugins/screenshotting/server/formats/pdf/pdf_maker/pdfmaker.ts +++ b/x-pack/plugins/screenshotting/server/formats/pdf/pdf_maker/pdfmaker.ts @@ -80,21 +80,19 @@ export class PdfMaker { ); } - _addContents(contents: Content[]) { - const groupCount = this.content.length; - - // inject a page break for every 2 groups on the page - // TODO: Remove this code since we are now using Chromium to drive this - // layout via native print functionality. - if (groupCount > 0 && groupCount % this.layout.groupCount === 0) { - contents = [ - { - text: '', - pageBreak: 'after', - } as ContentText as Content, - ].concat(contents); - } - this.content.push(contents); + private addPageContents(contents: Content[]) { + this.content.push( + // Insert a page break after each content item + (this.content.length > 1 + ? [ + { + text: '', + pageBreak: 'after', + } as ContentText as Content, + ] + : [] + ).concat(contents) + ); } addBrandedImage(img: ContentImage, { title = '', description = '' }) { @@ -127,7 +125,7 @@ export class PdfMaker { contents.push(wrappedImg); - this._addContents(contents); + this.addPageContents(contents); } addImage( @@ -151,7 +149,7 @@ export class PdfMaker { return this.addBrandedImage(img, opts); } - this._addContents([img]); + this.addPageContents([img]); } setTitle(title: string) { diff --git a/x-pack/plugins/screenshotting/server/layouts/base_layout.ts b/x-pack/plugins/screenshotting/server/layouts/base_layout.ts index 31bff5bf473842..52551ffdabb16f 100644 --- a/x-pack/plugins/screenshotting/server/layouts/base_layout.ts +++ b/x-pack/plugins/screenshotting/server/layouts/base_layout.ts @@ -30,7 +30,6 @@ export interface PageSizeParams { export abstract class BaseLayout { public id: LayoutType; - public groupCount: number = 0; public hasHeader: boolean = true; public hasFooter: boolean = true; diff --git a/x-pack/plugins/screenshotting/server/layouts/canvas_layout.ts b/x-pack/plugins/screenshotting/server/layouts/canvas_layout.ts index 9312561b2c5f75..c3fdd504cf81ef 100644 --- a/x-pack/plugins/screenshotting/server/layouts/canvas_layout.ts +++ b/x-pack/plugins/screenshotting/server/layouts/canvas_layout.ts @@ -21,7 +21,6 @@ const ZOOM: number = 2; */ export class CanvasLayout extends BaseLayout implements Layout { public readonly selectors: LayoutSelectorDictionary = { ...DEFAULT_SELECTORS }; - public readonly groupCount = 1; public readonly height: number; public readonly width: number; private readonly scaledHeight: number; diff --git a/x-pack/plugins/screenshotting/server/layouts/create_layout.test.ts b/x-pack/plugins/screenshotting/server/layouts/create_layout.test.ts index 55b93ed5341007..4c660ef8cad46c 100644 --- a/x-pack/plugins/screenshotting/server/layouts/create_layout.test.ts +++ b/x-pack/plugins/screenshotting/server/layouts/create_layout.test.ts @@ -17,7 +17,6 @@ describe('Create Layout', () => { const layout = createLayout(preserveParams); expect(layout).toMatchInlineSnapshot(` PreserveLayout { - "groupCount": 1, "hasFooter": true, "hasHeader": true, "height": 16, @@ -47,7 +46,6 @@ describe('Create Layout', () => { const layout = createLayout(printParams); expect(layout).toMatchInlineSnapshot(` PrintLayout { - "groupCount": 2, "hasFooter": true, "hasHeader": true, "id": "print", @@ -76,7 +74,6 @@ describe('Create Layout', () => { const layout = createLayout(canvasParams); expect(layout).toMatchInlineSnapshot(` CanvasLayout { - "groupCount": 1, "hasFooter": false, "hasHeader": false, "height": 18, diff --git a/x-pack/plugins/screenshotting/server/layouts/preserve_layout.test.ts b/x-pack/plugins/screenshotting/server/layouts/preserve_layout.test.ts index d78e877e526f5a..03dbadd006a0fb 100644 --- a/x-pack/plugins/screenshotting/server/layouts/preserve_layout.test.ts +++ b/x-pack/plugins/screenshotting/server/layouts/preserve_layout.test.ts @@ -35,7 +35,6 @@ it('preserve layout uses default layout selectors', () => { "timefilterDurationAttribute": "data-shared-timefilter-duration", } `); - expect(testPreserveLayout.groupCount).toBe(1); expect(testPreserveLayout.height).toBe(16); expect(testPreserveLayout.width).toBe(16); }); diff --git a/x-pack/plugins/screenshotting/server/layouts/preserve_layout.ts b/x-pack/plugins/screenshotting/server/layouts/preserve_layout.ts index e2e7eca690d53c..b56177484f7e5a 100644 --- a/x-pack/plugins/screenshotting/server/layouts/preserve_layout.ts +++ b/x-pack/plugins/screenshotting/server/layouts/preserve_layout.ts @@ -17,7 +17,6 @@ const ZOOM: number = 2; export class PreserveLayout extends BaseLayout implements Layout { public readonly selectors: LayoutSelectorDictionary; - public readonly groupCount = 1; public readonly height: number; public readonly width: number; private readonly scaledHeight: number; diff --git a/x-pack/plugins/screenshotting/server/layouts/print_layout.ts b/x-pack/plugins/screenshotting/server/layouts/print_layout.ts index 92c07f2e7cf52f..9efd0c3806d1da 100644 --- a/x-pack/plugins/screenshotting/server/layouts/print_layout.ts +++ b/x-pack/plugins/screenshotting/server/layouts/print_layout.ts @@ -19,7 +19,6 @@ export const getPrintLayoutSelectors: () => LayoutSelectorDictionary = () => ({ export class PrintLayout extends BaseLayout implements Layout { public readonly selectors = getPrintLayoutSelectors(); - public readonly groupCount = 2; private readonly viewport = DEFAULT_VIEWPORT; private zoom: number; From cac6c20e4bd60fa944f48d526fcc2f2a45349f51 Mon Sep 17 00:00:00 2001 From: Tim Sullivan Date: Fri, 29 Jul 2022 15:59:40 -0700 Subject: [PATCH 07/37] [Reporting] use docLinks service in reporting (#137531) * [Reporting] use docLinks service in reporting * fix ts * browserSystemDependencies is documented in configuring-reporting * update snapshots * update snapshots ii * use ReportingInternalSetup * simplify --- packages/kbn-doc-links/src/get_doc_links.ts | 2 ++ packages/kbn-doc-links/src/types.ts | 2 ++ x-pack/plugins/reporting/server/core.ts | 2 ++ .../deprecations/reporting_role.test.ts | 4 ++-- .../server/deprecations/reporting_role.ts | 17 +++++++++------- .../server/lib/deprecations/index.ts | 10 +++++++--- x-pack/plugins/reporting/server/plugin.ts | 1 + .../server/routes/diagnostic/browser.ts | 20 ++++++++----------- .../integration_tests/browser.test.ts | 17 +++++++++++++--- .../create_mock_reportingplugin.ts | 2 ++ 10 files changed, 50 insertions(+), 27 deletions(-) diff --git a/packages/kbn-doc-links/src/get_doc_links.ts b/packages/kbn-doc-links/src/get_doc_links.ts index bcfdbffbe7fe38..6f4037f209273d 100644 --- a/packages/kbn-doc-links/src/get_doc_links.ts +++ b/packages/kbn-doc-links/src/get_doc_links.ts @@ -486,6 +486,8 @@ export const getDocLinks = ({ kibanaBranch }: GetDocLinkOptions): DocLinks => { }, reporting: { cloudMinimumRequirements: `${KIBANA_DOCS}reporting-getting-started.html#reporting-on-cloud-resource-requirements`, + browserSystemDependencies: `${KIBANA_DOCS}secure-reporting.html#install-reporting-packages`, + browserSandboxDependencies: `${KIBANA_DOCS}reporting-troubleshooting.html#reporting-troubleshooting-sandbox-dependency`, }, security: { apiKeyServiceSettings: `${ELASTICSEARCH_DOCS}security-settings.html#api-key-service-settings`, diff --git a/packages/kbn-doc-links/src/types.ts b/packages/kbn-doc-links/src/types.ts index 4358ac00e44e78..eee0a8440dde6e 100644 --- a/packages/kbn-doc-links/src/types.ts +++ b/packages/kbn-doc-links/src/types.ts @@ -336,6 +336,8 @@ export interface DocLinks { readonly monitoring: Record; readonly reporting: Readonly<{ cloudMinimumRequirements: string; + browserSystemDependencies: string; + browserSandboxDependencies: string; }>; readonly security: Readonly<{ apiKeyServiceSettings: string; diff --git a/x-pack/plugins/reporting/server/core.ts b/x-pack/plugins/reporting/server/core.ts index b7dad2bda748fe..8b1cdceefb8794 100644 --- a/x-pack/plugins/reporting/server/core.ts +++ b/x-pack/plugins/reporting/server/core.ts @@ -7,6 +7,7 @@ import Hapi from '@hapi/hapi'; import type { + DocLinksServiceSetup, IBasePath, IClusterClient, Logger, @@ -57,6 +58,7 @@ export interface ReportingInternalSetup { taskManager: TaskManagerSetupContract; logger: Logger; status: StatusServiceSetup; + docLinks: DocLinksServiceSetup; } export interface ReportingInternalStart { diff --git a/x-pack/plugins/reporting/server/deprecations/reporting_role.test.ts b/x-pack/plugins/reporting/server/deprecations/reporting_role.test.ts index 81d0c8bcc24f1b..168ac0e4906b49 100644 --- a/x-pack/plugins/reporting/server/deprecations/reporting_role.test.ts +++ b/x-pack/plugins/reporting/server/deprecations/reporting_role.test.ts @@ -151,7 +151,7 @@ it('insufficient permissions', async () => { ], }, "deprecationType": "feature", - "documentationUrl": "https://www.elastic.co/guide/en/kibana/current/xpack-security.html#_required_permissions_7", + "documentationUrl": "https://www.elastic.co/guide/en/kibana/test-branch/xpack-security.html#_required_permissions_7", "level": "fetch_error", "message": "You do not have enough permissions to fix this deprecation.", "title": "The \\"reporting_user\\" role is deprecated: check user roles", @@ -163,7 +163,7 @@ it('insufficient permissions', async () => { ], }, "deprecationType": "feature", - "documentationUrl": "https://www.elastic.co/guide/en/kibana/current/xpack-security.html#_required_permissions_7", + "documentationUrl": "https://www.elastic.co/guide/en/kibana/test-branch/xpack-security.html#_required_permissions_7", "level": "fetch_error", "message": "You do not have enough permissions to fix this deprecation.", "title": "The \\"reporting_user\\" role is deprecated: check role mappings", diff --git a/x-pack/plugins/reporting/server/deprecations/reporting_role.ts b/x-pack/plugins/reporting/server/deprecations/reporting_role.ts index 0d9361f859c82d..8898102918a0ed 100644 --- a/x-pack/plugins/reporting/server/deprecations/reporting_role.ts +++ b/x-pack/plugins/reporting/server/deprecations/reporting_role.ts @@ -12,6 +12,7 @@ import { import { i18n } from '@kbn/i18n'; import type { DeprecationsDetails, + DocLinksServiceSetup, ElasticsearchClient, GetDeprecationsContext, } from '@kbn/core/server'; @@ -34,7 +35,7 @@ export async function getDeprecationsInfo( { reportingCore }: ExtraDependencies ): Promise { const client = esClient.asCurrentUser; - const { security } = reportingCore.getPluginSetupDeps(); + const { security, docLinks } = reportingCore.getPluginSetupDeps(); // Nothing to do if security is disabled if (!security?.license.isEnabled()) { @@ -45,15 +46,16 @@ export async function getDeprecationsInfo( const deprecatedRoles = config.get('roles', 'allow') || ['reporting_user']; return [ - ...(await getUsersDeprecations(client, reportingCore, deprecatedRoles)), - ...(await getRoleMappingsDeprecations(client, reportingCore, deprecatedRoles)), + ...(await getUsersDeprecations(client, reportingCore, deprecatedRoles, docLinks)), + ...(await getRoleMappingsDeprecations(client, reportingCore, deprecatedRoles, docLinks)), ]; } async function getUsersDeprecations( client: ElasticsearchClient, reportingCore: ReportingCore, - deprecatedRoles: string[] + deprecatedRoles: string[], + docLinks: DocLinksServiceSetup ): Promise { const usingDeprecatedConfig = !reportingCore.getContract().usesUiCapabilities(); const strings = { @@ -112,7 +114,7 @@ async function getUsersDeprecations( ` unexpected error: ${deprecations.getDetailedErrorMessage(err)}.` ); } - return deprecations.deprecationError(strings.title, err); + return deprecations.deprecationError(strings.title, err, docLinks); } const reportingUsers = Object.entries(users).reduce((userSet, current) => { @@ -140,7 +142,8 @@ async function getUsersDeprecations( async function getRoleMappingsDeprecations( client: ElasticsearchClient, reportingCore: ReportingCore, - deprecatedRoles: string[] + deprecatedRoles: string[], + docLinks: DocLinksServiceSetup ): Promise { const usingDeprecatedConfig = !reportingCore.getContract().usesUiCapabilities(); const strings = { @@ -199,7 +202,7 @@ async function getRoleMappingsDeprecations( ` unexpected error: ${deprecations.getDetailedErrorMessage(err)}.` ); } - return deprecations.deprecationError(strings.title, err); + return deprecations.deprecationError(strings.title, err, docLinks); } const roleMappingsWithReportingRole: string[] = Object.entries(roleMappings).reduce( diff --git a/x-pack/plugins/reporting/server/lib/deprecations/index.ts b/x-pack/plugins/reporting/server/lib/deprecations/index.ts index 205c1c3199bab4..2ddc46663600f2 100644 --- a/x-pack/plugins/reporting/server/lib/deprecations/index.ts +++ b/x-pack/plugins/reporting/server/lib/deprecations/index.ts @@ -8,10 +8,14 @@ import { errors } from '@elastic/elasticsearch'; import Boom from '@hapi/boom'; import { i18n } from '@kbn/i18n'; -import { DeprecationsDetails } from '@kbn/core/server'; +import { DeprecationsDetails, DocLinksServiceSetup } from '@kbn/core/server'; import { checkIlmMigrationStatus } from './check_ilm_migration_status'; -function deprecationError(title: string, error: Error): DeprecationsDetails[] { +function deprecationError( + title: string, + error: Error, + docLinks: DocLinksServiceSetup +): DeprecationsDetails[] { if (getErrorStatusCode(error) === 403) { return [ { @@ -22,7 +26,7 @@ function deprecationError(title: string, error: Error): DeprecationsDetails[] { 'xpack.reporting.deprecations.reportingRole.forbiddenErrorMessage', { defaultMessage: 'You do not have enough permissions to fix this deprecation.' } ), - documentationUrl: `https://www.elastic.co/guide/en/kibana/current/xpack-security.html#_required_permissions_7`, + documentationUrl: `https://www.elastic.co/guide/en/kibana/${docLinks.version}/xpack-security.html#_required_permissions_7`, correctiveActions: { manualSteps: [ i18n.translate( diff --git a/x-pack/plugins/reporting/server/plugin.ts b/x-pack/plugins/reporting/server/plugin.ts index 44602a7860d33c..ac340e5928ffe3 100644 --- a/x-pack/plugins/reporting/server/plugin.ts +++ b/x-pack/plugins/reporting/server/plugin.ts @@ -65,6 +65,7 @@ export class ReportingPlugin basePath: http.basePath, router: http.createRouter(), usageCounter, + docLinks: core.docLinks, ...plugins, }); diff --git a/x-pack/plugins/reporting/server/routes/diagnostic/browser.ts b/x-pack/plugins/reporting/server/routes/diagnostic/browser.ts index c32e2fe0bbfd5a..53046a8680c9b2 100644 --- a/x-pack/plugins/reporting/server/routes/diagnostic/browser.ts +++ b/x-pack/plugins/reporting/server/routes/diagnostic/browser.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { Logger } from '@kbn/core/server'; +import type { DocLinksServiceSetup, Logger } from '@kbn/core/server'; import { i18n } from '@kbn/i18n'; import { lastValueFrom } from 'rxjs'; import type { DiagnosticResponse } from '.'; @@ -14,14 +14,12 @@ import type { ReportingCore } from '../..'; import { API_DIAGNOSE_URL } from '../../../common/constants'; import { authorizedUserPreRouting } from '../lib/authorized_user_pre_routing'; -const logsToHelpMap = { +const logsToHelpMapFactory = (docLinks: DocLinksServiceSetup) => ({ 'error while loading shared libraries': i18n.translate( 'xpack.reporting.diagnostic.browserMissingDependency', { defaultMessage: `The browser couldn't start properly due to missing system dependencies. Please see {url}`, - values: { - url: 'https://www.elastic.co/guide/en/kibana/current/reporting-troubleshooting.html#reporting-troubleshooting-system-dependencies', - }, + values: { url: docLinks.links.reporting.browserSystemDependencies }, } ), @@ -29,19 +27,15 @@ const logsToHelpMap = { 'xpack.reporting.diagnostic.browserMissingFonts', { defaultMessage: `The browser couldn't locate a default font. Please see {url} to fix this issue.`, - values: { - url: 'https://www.elastic.co/guide/en/kibana/current/reporting-troubleshooting.html#reporting-troubleshooting-system-dependencies', - }, + values: { url: docLinks.links.reporting.browserSystemDependencies }, } ), 'No usable sandbox': i18n.translate('xpack.reporting.diagnostic.noUsableSandbox', { defaultMessage: `Unable to use Chromium sandbox. This can be disabled at your own risk with 'xpack.screenshotting.browser.chromium.disableSandbox'. Please see {url}`, - values: { - url: 'https://www.elastic.co/guide/en/kibana/current/reporting-troubleshooting.html#reporting-troubleshooting-sandbox-dependency', - }, + values: { url: docLinks.links.reporting.browserSandboxDependencies }, }), -}; +}); const path = `${API_DIAGNOSE_URL}/browser`; @@ -52,7 +46,9 @@ export const registerDiagnoseBrowser = (reporting: ReportingCore, logger: Logger { path: `${path}`, validate: {} }, authorizedUserPreRouting(reporting, async (_user, _context, req, res) => { incrementApiUsageCounter(req.route.method, path, reporting.getUsageCounter()); + const { docLinks } = reporting.getPluginSetupDeps(); + const logsToHelpMap = logsToHelpMapFactory(docLinks); try { const { screenshotting } = await reporting.getPluginStartDeps(); const logs = await lastValueFrom(screenshotting.diagnose()); diff --git a/x-pack/plugins/reporting/server/routes/diagnostic/integration_tests/browser.test.ts b/x-pack/plugins/reporting/server/routes/diagnostic/integration_tests/browser.test.ts index 80be0f8f3a54c1..b623c9581c2aaa 100644 --- a/x-pack/plugins/reporting/server/routes/diagnostic/integration_tests/browser.test.ts +++ b/x-pack/plugins/reporting/server/routes/diagnostic/integration_tests/browser.test.ts @@ -6,7 +6,7 @@ */ import * as Rx from 'rxjs'; -import { loggingSystemMock } from '@kbn/core/server/mocks'; +import { docLinksServiceMock, loggingSystemMock } from '@kbn/core/server/mocks'; import { setupServer } from '@kbn/core/server/test_utils'; import supertest from 'supertest'; import { ReportingCore } from '../../..'; @@ -47,11 +47,22 @@ describe('POST /diagnose/browser', () => { () => ({ usesUiCapabilities: () => false }) ); + const docLinksSetupMock = docLinksServiceMock.createSetupContract(); core = await createMockReportingCore( config, createMockPluginSetup({ router: httpSetup.createRouter(''), security: null, + docLinks: { + ...docLinksSetupMock, + links: { + ...docLinksSetupMock.links, + reporting: { + browserSystemDependencies: + 'https://www.elastic.co/guide/en/kibana/test-branch/secure-reporting.html#install-reporting-packages', + }, + }, + }, }) ); @@ -93,7 +104,7 @@ describe('POST /diagnose/browser', () => { expect(body).toMatchInlineSnapshot(` Object { "help": Array [ - "The browser couldn't locate a default font. Please see https://www.elastic.co/guide/en/kibana/current/reporting-troubleshooting.html#reporting-troubleshooting-system-dependencies to fix this issue.", + "The browser couldn't locate a default font. Please see https://www.elastic.co/guide/en/kibana/test-branch/secure-reporting.html#install-reporting-packages to fix this issue.", ], "logs": "Could not find the default font", "success": false, @@ -115,7 +126,7 @@ describe('POST /diagnose/browser', () => { expect(body).toMatchInlineSnapshot(` Object { "help": Array [ - "The browser couldn't locate a default font. Please see https://www.elastic.co/guide/en/kibana/current/reporting-troubleshooting.html#reporting-troubleshooting-system-dependencies to fix this issue.", + "The browser couldn't locate a default font. Please see https://www.elastic.co/guide/en/kibana/test-branch/secure-reporting.html#install-reporting-packages to fix this issue.", ], "logs": "DevTools listening on (ws://localhost:4000) Could not find the default font", diff --git a/x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts b/x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts index 5a6fa38279c240..cdb0c7ac44d70d 100644 --- a/x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts +++ b/x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts @@ -12,6 +12,7 @@ import _ from 'lodash'; import { BehaviorSubject } from 'rxjs'; import { coreMock, + docLinksServiceMock, elasticsearchServiceMock, loggingSystemMock, statusServiceMock, @@ -42,6 +43,7 @@ export const createMockPluginSetup = ( taskManager: taskManagerMock.createSetup(), logger: loggingSystemMock.createLogger(), status: statusServiceMock.createSetupContract(), + docLinks: docLinksServiceMock.createSetupContract(), ...setupMock, }; }; From 34ca5e6f38c3e0787ed07a060171ebb62289087d Mon Sep 17 00:00:00 2001 From: Nicolas Chaulet Date: Fri, 29 Jul 2022 19:19:15 -0400 Subject: [PATCH 08/37] [Fleet] Use a date processor instead of a script and set (#136678) --- .../fleet/server/constants/fleet_es_assets.ts | 16 ++++++++-------- .../apis/epm/final_pipeline.ts | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/x-pack/plugins/fleet/server/constants/fleet_es_assets.ts b/x-pack/plugins/fleet/server/constants/fleet_es_assets.ts index 7124ee78f1faf4..8b9402054fb0ac 100644 --- a/x-pack/plugins/fleet/server/constants/fleet_es_assets.ts +++ b/x-pack/plugins/fleet/server/constants/fleet_es_assets.ts @@ -77,7 +77,7 @@ export const FLEET_COMPONENT_TEMPLATES = [ }, ]; -export const FLEET_FINAL_PIPELINE_VERSION = 2; +export const FLEET_FINAL_PIPELINE_VERSION = 3; // If the content is updated you probably need to update the FLEET_FINAL_PIPELINE_VERSION too to allow upgrade of the pipeline export const FLEET_FINAL_PIPELINE_CONTENT = `--- @@ -88,14 +88,14 @@ _meta: description: > Final pipeline for processing all incoming Fleet Agent documents. processors: - - set: - description: Add time when event was ingested. - field: event.ingested - copy_from: _ingest.timestamp - - script: - description: Remove sub-seconds from event.ingested to improve storage efficiency. + - date: + description: Add time when event was ingested (and remove sub-seconds to improve storage efficiency) tag: truncate-subseconds-event-ingested - source: ctx.event.ingested = ctx.event.ingested.withNano(0).format(DateTimeFormatter.ISO_OFFSET_DATE_TIME); + field: _ingest.timestamp + target_field: event.ingested + formats: + - ISO8601 + output_format: date_time_no_millis ignore_failure: true - remove: description: Remove any pre-existing untrusted values. diff --git a/x-pack/test/fleet_api_integration/apis/epm/final_pipeline.ts b/x-pack/test/fleet_api_integration/apis/epm/final_pipeline.ts index 1c8e605cedd729..e705aa1734cb01 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/final_pipeline.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/final_pipeline.ts @@ -101,7 +101,7 @@ export default function (providerContext: FtrProviderContext) { await supertest.post(`/api/fleet/setup`).set('kbn-xsrf', 'xxxx'); const pipelineRes = await es.ingest.getPipeline({ id: FINAL_PIPELINE_ID }); expect(pipelineRes).to.have.property(FINAL_PIPELINE_ID); - expect(pipelineRes[FINAL_PIPELINE_ID].version).to.be(2); + expect(pipelineRes[FINAL_PIPELINE_ID].version).to.be(3); }); it('should correctly setup the final pipeline and apply to fleet managed index template', async () => { From 49b2c37a0f1990d0546aa47c5079cee7254d73cb Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Sat, 30 Jul 2022 00:42:06 -0400 Subject: [PATCH 09/37] [api-docs] Daily api_docs build (#137644) --- api_docs/actions.mdx | 2 +- api_docs/advanced_settings.mdx | 2 +- api_docs/aiops.mdx | 2 +- api_docs/alerting.mdx | 2 +- api_docs/apm.mdx | 2 +- api_docs/banners.mdx | 2 +- api_docs/bfetch.mdx | 2 +- api_docs/canvas.mdx | 2 +- api_docs/cases.mdx | 2 +- api_docs/charts.mdx | 2 +- api_docs/cloud.mdx | 2 +- api_docs/cloud_security_posture.mdx | 2 +- api_docs/console.mdx | 2 +- api_docs/controls.devdocs.json | 116 +- api_docs/controls.mdx | 4 +- api_docs/core.devdocs.json | 490 ++------ api_docs/core.mdx | 4 +- api_docs/core_application.devdocs.json | 16 +- api_docs/core_application.mdx | 4 +- api_docs/core_chrome.devdocs.json | 20 +- api_docs/core_chrome.mdx | 4 +- api_docs/core_saved_objects.mdx | 4 +- api_docs/custom_integrations.mdx | 2 +- api_docs/dashboard.mdx | 2 +- api_docs/dashboard_enhanced.mdx | 2 +- api_docs/data.devdocs.json | 32 +- api_docs/data.mdx | 2 +- api_docs/data_query.mdx | 2 +- api_docs/data_search.mdx | 2 +- api_docs/data_view_editor.mdx | 2 +- api_docs/data_view_field_editor.mdx | 2 +- api_docs/data_view_management.mdx | 2 +- api_docs/data_views.devdocs.json | 120 +- api_docs/data_views.mdx | 2 +- api_docs/data_visualizer.mdx | 2 +- api_docs/deprecations_by_api.mdx | 4 +- api_docs/deprecations_by_plugin.mdx | 2 +- api_docs/deprecations_by_team.mdx | 2 +- api_docs/dev_tools.mdx | 2 +- api_docs/discover.mdx | 2 +- api_docs/discover_enhanced.mdx | 2 +- api_docs/elastic_apm_synthtrace.mdx | 2 +- api_docs/embeddable.devdocs.json | 32 +- api_docs/embeddable.mdx | 2 +- api_docs/embeddable_enhanced.mdx | 2 +- api_docs/encrypted_saved_objects.mdx | 2 +- api_docs/enterprise_search.mdx | 2 +- api_docs/es_ui_shared.mdx | 2 +- api_docs/event_annotation.mdx | 2 +- api_docs/event_log.mdx | 2 +- api_docs/expression_error.mdx | 2 +- api_docs/expression_gauge.mdx | 2 +- api_docs/expression_heatmap.mdx | 2 +- api_docs/expression_image.mdx | 2 +- api_docs/expression_legacy_metric_vis.mdx | 2 +- api_docs/expression_metric.mdx | 2 +- api_docs/expression_metric_vis.mdx | 2 +- api_docs/expression_partition_vis.mdx | 2 +- api_docs/expression_repeat_image.mdx | 2 +- api_docs/expression_reveal_image.mdx | 2 +- api_docs/expression_shape.mdx | 2 +- api_docs/expression_tagcloud.mdx | 2 +- api_docs/expression_x_y.mdx | 2 +- api_docs/expressions.mdx | 2 +- api_docs/features.mdx | 2 +- api_docs/field_formats.mdx | 2 +- api_docs/file_upload.mdx | 2 +- api_docs/fleet.mdx | 2 +- api_docs/global_search.mdx | 2 +- api_docs/home.mdx | 2 +- api_docs/index_lifecycle_management.mdx | 2 +- api_docs/index_management.mdx | 2 +- api_docs/infra.mdx | 2 +- api_docs/inspector.devdocs.json | 24 +- api_docs/inspector.mdx | 2 +- api_docs/interactive_setup.mdx | 2 +- api_docs/kbn_ace.mdx | 2 +- api_docs/kbn_aiops_components.mdx | 2 +- api_docs/kbn_aiops_utils.mdx | 2 +- api_docs/kbn_alerts.mdx | 2 +- api_docs/kbn_analytics.mdx | 2 +- api_docs/kbn_analytics_client.mdx | 2 +- ..._analytics_shippers_elastic_v3_browser.mdx | 2 +- ...n_analytics_shippers_elastic_v3_common.mdx | 2 +- ...n_analytics_shippers_elastic_v3_server.mdx | 2 +- api_docs/kbn_analytics_shippers_fullstory.mdx | 2 +- api_docs/kbn_apm_config_loader.mdx | 2 +- api_docs/kbn_apm_utils.mdx | 2 +- api_docs/kbn_axe_config.mdx | 2 +- api_docs/kbn_bazel_packages.mdx | 2 +- api_docs/kbn_ci_stats_core.mdx | 2 +- api_docs/kbn_ci_stats_performance_metrics.mdx | 2 +- api_docs/kbn_ci_stats_reporter.mdx | 2 +- api_docs/kbn_cli_dev_mode.mdx | 2 +- api_docs/kbn_coloring.mdx | 2 +- api_docs/kbn_config.mdx | 2 +- api_docs/kbn_config_mocks.mdx | 2 +- api_docs/kbn_config_schema.mdx | 2 +- api_docs/kbn_core_analytics_browser.mdx | 2 +- .../kbn_core_analytics_browser_internal.mdx | 2 +- api_docs/kbn_core_analytics_browser_mocks.mdx | 2 +- api_docs/kbn_core_analytics_server.mdx | 2 +- .../kbn_core_analytics_server_internal.mdx | 2 +- api_docs/kbn_core_analytics_server_mocks.mdx | 2 +- api_docs/kbn_core_base_browser_mocks.mdx | 2 +- api_docs/kbn_core_base_common.mdx | 2 +- api_docs/kbn_core_base_server_internal.mdx | 2 +- api_docs/kbn_core_base_server_mocks.mdx | 2 +- api_docs/kbn_core_capabilities_common.mdx | 2 +- api_docs/kbn_core_capabilities_server.mdx | 2 +- .../kbn_core_capabilities_server_mocks.mdx | 2 +- api_docs/kbn_core_config_server_internal.mdx | 2 +- api_docs/kbn_core_deprecations_browser.mdx | 2 +- ...kbn_core_deprecations_browser_internal.mdx | 2 +- .../kbn_core_deprecations_browser_mocks.mdx | 2 +- api_docs/kbn_core_deprecations_common.mdx | 2 +- api_docs/kbn_core_doc_links_browser.mdx | 2 +- api_docs/kbn_core_doc_links_browser_mocks.mdx | 2 +- api_docs/kbn_core_doc_links_server.mdx | 2 +- api_docs/kbn_core_doc_links_server_mocks.mdx | 2 +- ...e_elasticsearch_client_server_internal.mdx | 2 +- ...core_elasticsearch_client_server_mocks.mdx | 2 +- api_docs/kbn_core_elasticsearch_server.mdx | 2 +- ...kbn_core_elasticsearch_server_internal.mdx | 2 +- .../kbn_core_elasticsearch_server_mocks.mdx | 2 +- .../kbn_core_environment_server_internal.mdx | 2 +- .../kbn_core_environment_server_mocks.mdx | 2 +- .../kbn_core_execution_context_browser.mdx | 2 +- ...ore_execution_context_browser_internal.mdx | 2 +- ...n_core_execution_context_browser_mocks.mdx | 2 +- .../kbn_core_execution_context_common.mdx | 2 +- .../kbn_core_execution_context_server.mdx | 2 +- ...core_execution_context_server_internal.mdx | 2 +- ...bn_core_execution_context_server_mocks.mdx | 2 +- api_docs/kbn_core_fatal_errors_browser.mdx | 2 +- .../kbn_core_fatal_errors_browser_mocks.mdx | 2 +- api_docs/kbn_core_http_browser.mdx | 2 +- api_docs/kbn_core_http_browser_internal.mdx | 2 +- api_docs/kbn_core_http_browser_mocks.mdx | 2 +- api_docs/kbn_core_http_common.mdx | 2 +- .../kbn_core_http_context_server_mocks.mdx | 2 +- .../kbn_core_http_router_server_internal.mdx | 2 +- .../kbn_core_http_router_server_mocks.mdx | 2 +- api_docs/kbn_core_http_server.mdx | 2 +- api_docs/kbn_core_http_server_internal.mdx | 2 +- api_docs/kbn_core_http_server_mocks.mdx | 2 +- api_docs/kbn_core_i18n_browser.mdx | 2 +- api_docs/kbn_core_i18n_browser_mocks.mdx | 2 +- .../kbn_core_injected_metadata_browser.mdx | 2 +- ...n_core_injected_metadata_browser_mocks.mdx | 2 +- ...kbn_core_integrations_browser_internal.mdx | 2 +- .../kbn_core_integrations_browser_mocks.mdx | 2 +- api_docs/kbn_core_logging_server.mdx | 2 +- api_docs/kbn_core_logging_server_internal.mdx | 2 +- api_docs/kbn_core_logging_server_mocks.mdx | 2 +- ...ore_metrics_collectors_server_internal.mdx | 2 +- ...n_core_metrics_collectors_server_mocks.mdx | 2 +- api_docs/kbn_core_metrics_server.mdx | 2 +- api_docs/kbn_core_metrics_server_internal.mdx | 2 +- api_docs/kbn_core_metrics_server_mocks.mdx | 2 +- .../kbn_core_mount_utils_browser.devdocs.json | 137 +++ api_docs/kbn_core_mount_utils_browser.mdx | 30 + ..._mount_utils_browser_internal.devdocs.json | 98 ++ .../kbn_core_mount_utils_browser_internal.mdx | 27 + api_docs/kbn_core_node_server.mdx | 2 +- api_docs/kbn_core_node_server_internal.mdx | 2 +- api_docs/kbn_core_node_server_mocks.mdx | 2 +- .../kbn_core_overlays_browser.devdocs.json | 1090 +++++++++++++++++ api_docs/kbn_core_overlays_browser.mdx | 27 + ...ore_overlays_browser_internal.devdocs.json | 51 + .../kbn_core_overlays_browser_internal.mdx | 27 + ...n_core_overlays_browser_mocks.devdocs.json | 79 ++ api_docs/kbn_core_overlays_browser_mocks.mdx | 27 + api_docs/kbn_core_preboot_server.mdx | 2 +- api_docs/kbn_core_preboot_server_mocks.mdx | 2 +- .../kbn_core_saved_objects_api_browser.mdx | 2 +- .../kbn_core_saved_objects_api_server.mdx | 2 +- api_docs/kbn_core_saved_objects_common.mdx | 2 +- api_docs/kbn_core_saved_objects_server.mdx | 2 +- ...n_core_test_helpers_http_setup_browser.mdx | 2 +- api_docs/kbn_core_theme_browser.mdx | 2 +- api_docs/kbn_core_theme_browser_internal.mdx | 2 +- api_docs/kbn_core_theme_browser_mocks.mdx | 2 +- api_docs/kbn_core_ui_settings_browser.mdx | 2 +- .../kbn_core_ui_settings_browser_internal.mdx | 2 +- .../kbn_core_ui_settings_browser_mocks.mdx | 2 +- api_docs/kbn_core_ui_settings_common.mdx | 2 +- api_docs/kbn_crypto.mdx | 2 +- api_docs/kbn_crypto_browser.mdx | 2 +- api_docs/kbn_datemath.mdx | 2 +- api_docs/kbn_dev_cli_errors.mdx | 2 +- api_docs/kbn_dev_cli_runner.mdx | 2 +- api_docs/kbn_dev_proc_runner.mdx | 2 +- api_docs/kbn_dev_utils.mdx | 2 +- api_docs/kbn_doc_links.devdocs.json | 2 +- api_docs/kbn_doc_links.mdx | 2 +- api_docs/kbn_docs_utils.mdx | 2 +- api_docs/kbn_es_archiver.mdx | 2 +- api_docs/kbn_es_errors.mdx | 2 +- api_docs/kbn_es_query.mdx | 2 +- api_docs/kbn_eslint_plugin_imports.mdx | 2 +- api_docs/kbn_field_types.mdx | 2 +- api_docs/kbn_find_used_node_modules.mdx | 2 +- api_docs/kbn_generate.mdx | 2 +- api_docs/kbn_get_repo_files.mdx | 2 +- api_docs/kbn_handlebars.mdx | 2 +- api_docs/kbn_hapi_mocks.mdx | 2 +- api_docs/kbn_home_sample_data_card.mdx | 2 +- api_docs/kbn_home_sample_data_tab.mdx | 2 +- api_docs/kbn_i18n.mdx | 2 +- api_docs/kbn_import_resolver.mdx | 2 +- api_docs/kbn_interpreter.mdx | 2 +- api_docs/kbn_io_ts_utils.mdx | 2 +- api_docs/kbn_jest_serializers.mdx | 2 +- api_docs/kbn_kibana_json_schema.mdx | 2 +- api_docs/kbn_logging.mdx | 2 +- api_docs/kbn_logging_mocks.mdx | 2 +- api_docs/kbn_mapbox_gl.mdx | 2 +- api_docs/kbn_ml_agg_utils.mdx | 2 +- api_docs/kbn_ml_is_populated_object.mdx | 2 +- api_docs/kbn_ml_string_hash.mdx | 2 +- api_docs/kbn_monaco.mdx | 2 +- api_docs/kbn_optimizer.mdx | 2 +- api_docs/kbn_optimizer_webpack_helpers.mdx | 2 +- ..._performance_testing_dataset_extractor.mdx | 2 +- api_docs/kbn_plugin_generator.mdx | 2 +- api_docs/kbn_plugin_helpers.mdx | 2 +- api_docs/kbn_react_field.mdx | 2 +- api_docs/kbn_repo_source_classifier.mdx | 2 +- api_docs/kbn_rule_data_utils.mdx | 2 +- .../kbn_scalability_simulation_generator.mdx | 2 +- .../kbn_securitysolution_autocomplete.mdx | 2 +- api_docs/kbn_securitysolution_es_utils.mdx | 2 +- api_docs/kbn_securitysolution_hook_utils.mdx | 2 +- ..._securitysolution_io_ts_alerting_types.mdx | 2 +- .../kbn_securitysolution_io_ts_list_types.mdx | 2 +- api_docs/kbn_securitysolution_io_ts_types.mdx | 2 +- api_docs/kbn_securitysolution_io_ts_utils.mdx | 2 +- api_docs/kbn_securitysolution_list_api.mdx | 2 +- .../kbn_securitysolution_list_constants.mdx | 2 +- api_docs/kbn_securitysolution_list_hooks.mdx | 2 +- api_docs/kbn_securitysolution_list_utils.mdx | 2 +- api_docs/kbn_securitysolution_rules.mdx | 2 +- api_docs/kbn_securitysolution_t_grid.mdx | 2 +- api_docs/kbn_securitysolution_utils.mdx | 2 +- api_docs/kbn_server_http_tools.mdx | 2 +- api_docs/kbn_server_route_repository.mdx | 2 +- ...hared_ux_button_exit_full_screen_mocks.mdx | 2 +- api_docs/kbn_shared_ux_button_toolbar.mdx | 2 +- api_docs/kbn_shared_ux_card_no_data.mdx | 2 +- api_docs/kbn_shared_ux_card_no_data_mocks.mdx | 2 +- api_docs/kbn_shared_ux_components.mdx | 2 +- .../kbn_shared_ux_link_redirect_app_mocks.mdx | 2 +- .../kbn_shared_ux_page_analytics_no_data.mdx | 2 +- ...shared_ux_page_analytics_no_data_mocks.mdx | 2 +- .../kbn_shared_ux_page_kibana_no_data.mdx | 2 +- ...bn_shared_ux_page_kibana_no_data_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_solution_nav.mdx | 2 +- .../kbn_shared_ux_prompt_no_data_views.mdx | 2 +- ...n_shared_ux_prompt_no_data_views_mocks.mdx | 2 +- api_docs/kbn_shared_ux_services.mdx | 2 +- api_docs/kbn_shared_ux_storybook.mdx | 2 +- api_docs/kbn_shared_ux_storybook_mock.mdx | 2 +- api_docs/kbn_shared_ux_utility.mdx | 2 +- api_docs/kbn_some_dev_log.mdx | 2 +- api_docs/kbn_sort_package_json.mdx | 2 +- api_docs/kbn_std.mdx | 2 +- api_docs/kbn_stdio_dev_helpers.mdx | 2 +- api_docs/kbn_storybook.mdx | 2 +- api_docs/kbn_telemetry_tools.mdx | 2 +- api_docs/kbn_test.mdx | 2 +- api_docs/kbn_test_jest_helpers.mdx | 2 +- api_docs/kbn_tooling_log.mdx | 2 +- api_docs/kbn_type_summarizer.mdx | 2 +- api_docs/kbn_type_summarizer_core.mdx | 2 +- api_docs/kbn_typed_react_router_config.mdx | 2 +- api_docs/kbn_ui_theme.mdx | 2 +- api_docs/kbn_utility_types.mdx | 2 +- api_docs/kbn_utility_types_jest.mdx | 2 +- api_docs/kbn_utils.mdx | 2 +- api_docs/kbn_yarn_lock_validator.mdx | 2 +- api_docs/kibana_overview.mdx | 2 +- api_docs/kibana_react.devdocs.json | 64 +- api_docs/kibana_react.mdx | 2 +- api_docs/kibana_utils.mdx | 2 +- api_docs/kubernetes_security.mdx | 2 +- api_docs/lens.mdx | 2 +- api_docs/license_api_guard.mdx | 2 +- api_docs/license_management.mdx | 2 +- api_docs/licensing.mdx | 2 +- api_docs/lists.mdx | 2 +- api_docs/management.mdx | 2 +- api_docs/maps.mdx | 2 +- api_docs/maps_ems.mdx | 2 +- api_docs/ml.mdx | 2 +- api_docs/monitoring.mdx | 2 +- api_docs/monitoring_collection.mdx | 2 +- api_docs/navigation.devdocs.json | 8 +- api_docs/navigation.mdx | 2 +- api_docs/newsfeed.mdx | 2 +- api_docs/observability.mdx | 2 +- api_docs/osquery.mdx | 2 +- api_docs/plugin_directory.mdx | 21 +- api_docs/presentation_util.devdocs.json | 661 +++++++--- api_docs/presentation_util.mdx | 4 +- api_docs/remote_clusters.mdx | 2 +- api_docs/reporting.mdx | 2 +- api_docs/rollup.mdx | 2 +- api_docs/rule_registry.mdx | 2 +- api_docs/runtime_fields.mdx | 2 +- api_docs/saved_objects.devdocs.json | 16 +- api_docs/saved_objects.mdx | 2 +- api_docs/saved_objects_management.mdx | 2 +- api_docs/saved_objects_tagging.devdocs.json | 40 +- api_docs/saved_objects_tagging.mdx | 4 +- .../saved_objects_tagging_oss.devdocs.json | 19 +- api_docs/saved_objects_tagging_oss.mdx | 4 +- api_docs/screenshot_mode.mdx | 2 +- api_docs/screenshotting.mdx | 2 +- api_docs/security.devdocs.json | 8 +- api_docs/security.mdx | 2 +- api_docs/security_solution.mdx | 2 +- api_docs/session_view.mdx | 2 +- api_docs/share.mdx | 2 +- api_docs/shared_u_x.mdx | 2 +- api_docs/snapshot_restore.mdx | 2 +- api_docs/spaces.mdx | 2 +- api_docs/stack_alerts.mdx | 2 +- api_docs/task_manager.mdx | 2 +- api_docs/telemetry.mdx | 2 +- api_docs/telemetry_collection_manager.mdx | 2 +- api_docs/telemetry_collection_xpack.mdx | 2 +- api_docs/telemetry_management_section.mdx | 2 +- api_docs/threat_intelligence.mdx | 2 +- api_docs/timelines.mdx | 2 +- api_docs/transform.mdx | 2 +- api_docs/triggers_actions_ui.mdx | 2 +- api_docs/ui_actions.mdx | 2 +- api_docs/ui_actions_enhanced.mdx | 2 +- api_docs/unified_search.mdx | 2 +- api_docs/unified_search_autocomplete.mdx | 2 +- api_docs/url_forwarding.mdx | 2 +- api_docs/usage_collection.mdx | 2 +- api_docs/ux.mdx | 2 +- api_docs/vis_default_editor.mdx | 2 +- api_docs/vis_type_gauge.mdx | 2 +- api_docs/vis_type_heatmap.mdx | 2 +- api_docs/vis_type_pie.mdx | 2 +- api_docs/vis_type_table.mdx | 2 +- api_docs/vis_type_timelion.mdx | 2 +- api_docs/vis_type_timeseries.mdx | 2 +- api_docs/vis_type_vega.mdx | 2 +- api_docs/vis_type_vislib.mdx | 2 +- api_docs/vis_type_xy.mdx | 2 +- api_docs/visualizations.devdocs.json | 8 +- api_docs/visualizations.mdx | 2 +- 356 files changed, 2776 insertions(+), 1188 deletions(-) create mode 100644 api_docs/kbn_core_mount_utils_browser.devdocs.json create mode 100644 api_docs/kbn_core_mount_utils_browser.mdx create mode 100644 api_docs/kbn_core_mount_utils_browser_internal.devdocs.json create mode 100644 api_docs/kbn_core_mount_utils_browser_internal.mdx create mode 100644 api_docs/kbn_core_overlays_browser.devdocs.json create mode 100644 api_docs/kbn_core_overlays_browser.mdx create mode 100644 api_docs/kbn_core_overlays_browser_internal.devdocs.json create mode 100644 api_docs/kbn_core_overlays_browser_internal.mdx create mode 100644 api_docs/kbn_core_overlays_browser_mocks.devdocs.json create mode 100644 api_docs/kbn_core_overlays_browser_mocks.mdx diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index 457784ce55ab6b..3127d025ac00ef 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/actions title: "actions" image: https://source.unsplash.com/400x175/?github summary: API docs for the actions plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/advanced_settings.mdx b/api_docs/advanced_settings.mdx index 572daae5758ea7..f493ed3b11eae1 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/advancedSettings title: "advancedSettings" image: https://source.unsplash.com/400x175/?github summary: API docs for the advancedSettings plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index 0984b227b2f3a2..7388acf37cf60b 100644 --- a/api_docs/aiops.mdx +++ b/api_docs/aiops.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/aiops title: "aiops" image: https://source.unsplash.com/400x175/?github summary: API docs for the aiops plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index 8411a41df5922e..5a65fdf22abeb9 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/alerting title: "alerting" image: https://source.unsplash.com/400x175/?github summary: API docs for the alerting plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index c19289c139a3f4..a80eced68cb109 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/apm title: "apm" image: https://source.unsplash.com/400x175/?github summary: API docs for the apm plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index 509c19317a29f0..81951fe13a67cd 100644 --- a/api_docs/banners.mdx +++ b/api_docs/banners.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/banners title: "banners" image: https://source.unsplash.com/400x175/?github summary: API docs for the banners plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/bfetch.mdx b/api_docs/bfetch.mdx index f2ad6e2a586f03..b73772f7e6a6b1 100644 --- a/api_docs/bfetch.mdx +++ b/api_docs/bfetch.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/bfetch title: "bfetch" image: https://source.unsplash.com/400x175/?github summary: API docs for the bfetch plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index ebe79aded04d89..44fab1f61bb9ca 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/canvas title: "canvas" image: https://source.unsplash.com/400x175/?github summary: API docs for the canvas plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index c1870b45577eba..8d1dc5025baa2d 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/cases title: "cases" image: https://source.unsplash.com/400x175/?github summary: API docs for the cases plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index 9e93d1f1c9ef55..23b2802818ea31 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/charts title: "charts" image: https://source.unsplash.com/400x175/?github summary: API docs for the charts plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/cloud.mdx b/api_docs/cloud.mdx index 5684e4c1431f76..49e09a5e6e0ab5 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/cloud title: "cloud" image: https://source.unsplash.com/400x175/?github summary: API docs for the cloud plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/cloud_security_posture.mdx b/api_docs/cloud_security_posture.mdx index d2d5c1edd24cfd..b3559c7a890db2 100644 --- a/api_docs/cloud_security_posture.mdx +++ b/api_docs/cloud_security_posture.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/cloudSecurityPosture title: "cloudSecurityPosture" image: https://source.unsplash.com/400x175/?github summary: API docs for the cloudSecurityPosture plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/console.mdx b/api_docs/console.mdx index 8adf2a4b6dbd19..68334e5dc8805f 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/console title: "console" image: https://source.unsplash.com/400x175/?github summary: API docs for the console plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/controls.devdocs.json b/api_docs/controls.devdocs.json index b1189a4f4c8295..92d490819d6d2b 100644 --- a/api_docs/controls.devdocs.json +++ b/api_docs/controls.devdocs.json @@ -246,6 +246,26 @@ "id": "def-public.ControlGroupContainer.Unnamed.$1", "type": "Object", "tags": [], + "label": "reduxEmbeddablePackage", + "description": [], + "signature": [ + { + "pluginId": "presentationUtil", + "scope": "public", + "docId": "kibPresentationUtilPluginApi", + "section": "def-public.ReduxEmbeddablePackage", + "text": "ReduxEmbeddablePackage" + } + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.Unnamed.$2", + "type": "Object", + "tags": [], "label": "initialInput", "description": [], "signature": [ @@ -263,7 +283,7 @@ }, { "parentPluginId": "controls", - "id": "def-public.ControlGroupContainer.Unnamed.$2", + "id": "def-public.ControlGroupContainer.Unnamed.$3", "type": "Object", "tags": [], "label": "parent", @@ -1071,6 +1091,26 @@ "id": "def-public.OptionsListEmbeddable.Unnamed.$1", "type": "Object", "tags": [], + "label": "reduxEmbeddablePackage", + "description": [], + "signature": [ + { + "pluginId": "presentationUtil", + "scope": "public", + "docId": "kibPresentationUtilPluginApi", + "section": "def-public.ReduxEmbeddablePackage", + "text": "ReduxEmbeddablePackage" + } + ], + "path": "src/plugins/controls/public/control_types/options_list/options_list_embeddable.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddable.Unnamed.$2", + "type": "Object", + "tags": [], "label": "input", "description": [], "signature": [ @@ -1088,7 +1128,7 @@ }, { "parentPluginId": "controls", - "id": "def-public.OptionsListEmbeddable.Unnamed.$2", + "id": "def-public.OptionsListEmbeddable.Unnamed.$3", "type": "CompoundType", "tags": [], "label": "output", @@ -1108,7 +1148,7 @@ }, { "parentPluginId": "controls", - "id": "def-public.OptionsListEmbeddable.Unnamed.$3", + "id": "def-public.OptionsListEmbeddable.Unnamed.$4", "type": "Object", "tags": [], "label": "parent", @@ -1910,6 +1950,26 @@ "id": "def-public.RangeSliderEmbeddable.Unnamed.$1", "type": "Object", "tags": [], + "label": "reduxEmbeddablePackage", + "description": [], + "signature": [ + { + "pluginId": "presentationUtil", + "scope": "public", + "docId": "kibPresentationUtilPluginApi", + "section": "def-public.ReduxEmbeddablePackage", + "text": "ReduxEmbeddablePackage" + } + ], + "path": "src/plugins/controls/public/control_types/range_slider/range_slider_embeddable.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "controls", + "id": "def-public.RangeSliderEmbeddable.Unnamed.$2", + "type": "Object", + "tags": [], "label": "input", "description": [], "signature": [ @@ -1927,7 +1987,7 @@ }, { "parentPluginId": "controls", - "id": "def-public.RangeSliderEmbeddable.Unnamed.$2", + "id": "def-public.RangeSliderEmbeddable.Unnamed.$3", "type": "CompoundType", "tags": [], "label": "output", @@ -1947,7 +2007,7 @@ }, { "parentPluginId": "controls", - "id": "def-public.RangeSliderEmbeddable.Unnamed.$3", + "id": "def-public.RangeSliderEmbeddable.Unnamed.$4", "type": "Object", "tags": [], "label": "parent", @@ -2708,20 +2768,13 @@ }, { "parentPluginId": "controls", - "id": "def-public.CommonControlOutput.dataViews", - "type": "Array", + "id": "def-public.CommonControlOutput.dataViewId", + "type": "string", "tags": [], - "label": "dataViews", + "label": "dataViewId", "description": [], "signature": [ - { - "pluginId": "dataViews", - "scope": "common", - "docId": "kibDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - "[] | undefined" + "string | undefined" ], "path": "src/plugins/controls/public/types.ts", "deprecated": false @@ -3141,19 +3194,6 @@ ], "path": "src/plugins/controls/common/control_types/options_list/types.ts", "deprecated": false - }, - { - "parentPluginId": "controls", - "id": "def-public.OptionsListEmbeddableInput.loading", - "type": "CompoundType", - "tags": [], - "label": "loading", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/controls/common/control_types/options_list/types.ts", - "deprecated": false } ], "initialIsOpen": false @@ -3364,14 +3404,15 @@ "section": "def-public.ContainerOutput", "text": "ContainerOutput" }, - " & ", + " & Omit<", { "pluginId": "controls", "scope": "public", "docId": "kibControlsPluginApi", "section": "def-public.CommonControlOutput", "text": "CommonControlOutput" - } + }, + ", \"dataViewId\"> & { dataViewIds: string[]; }" ], "path": "src/plugins/controls/public/control_group/types.ts", "deprecated": false, @@ -4200,19 +4241,6 @@ ], "path": "src/plugins/controls/common/control_types/options_list/types.ts", "deprecated": false - }, - { - "parentPluginId": "controls", - "id": "def-common.OptionsListEmbeddableInput.loading", - "type": "CompoundType", - "tags": [], - "label": "loading", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/controls/common/control_types/options_list/types.ts", - "deprecated": false } ], "initialIsOpen": false diff --git a/api_docs/controls.mdx b/api_docs/controls.mdx index 5d75911554db0f..97210fbb7c8320 100644 --- a/api_docs/controls.mdx +++ b/api_docs/controls.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/controls title: "controls" image: https://source.unsplash.com/400x175/?github summary: API docs for the controls plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- @@ -18,7 +18,7 @@ Contact [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-prese | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 206 | 0 | 198 | 7 | +| 207 | 0 | 199 | 7 | ## Client diff --git a/api_docs/core.devdocs.json b/api_docs/core.devdocs.json index e7cee8d029ff9a..ffc85bbac538d8 100644 --- a/api_docs/core.devdocs.json +++ b/api_docs/core.devdocs.json @@ -1583,13 +1583,7 @@ "{@link OverlayStart}" ], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayStart", - "text": "OverlayStart" - } + "OverlayStart" ], "path": "src/core/public/index.ts", "deprecated": false @@ -5296,7 +5290,10 @@ "tags": [], "label": "OverlayBannersStart", "description": [], - "path": "src/core/public/overlays/banners/banners_service.tsx", + "signature": [ + "OverlayBannersStart" + ], + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "children": [ { @@ -5310,16 +5307,10 @@ ], "signature": [ "(mount: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", ", priority?: number | undefined) => string" ], - "path": "src/core/public/overlays/banners/banners_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "children": [ { @@ -5332,16 +5323,10 @@ "{@link MountPoint }" ], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", "" ], - "path": "src/core/public/overlays/banners/banners_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "isRequired": true }, @@ -5357,7 +5342,7 @@ "signature": [ "number | undefined" ], - "path": "src/core/public/overlays/banners/banners_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "isRequired": false } @@ -5378,7 +5363,7 @@ "signature": [ "(id: string) => boolean" ], - "path": "src/core/public/overlays/banners/banners_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "children": [ { @@ -5393,7 +5378,7 @@ "signature": [ "string" ], - "path": "src/core/public/overlays/banners/banners_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "isRequired": true } @@ -5413,16 +5398,10 @@ ], "signature": [ "(id: string | undefined, mount: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", ", priority?: number | undefined) => string" ], - "path": "src/core/public/overlays/banners/banners_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "children": [ { @@ -5437,7 +5416,7 @@ "signature": [ "string | undefined" ], - "path": "src/core/public/overlays/banners/banners_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "isRequired": false }, @@ -5451,16 +5430,10 @@ "{@link MountPoint }" ], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", "" ], - "path": "src/core/public/overlays/banners/banners_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "isRequired": true }, @@ -5476,7 +5449,7 @@ "signature": [ "number | undefined" ], - "path": "src/core/public/overlays/banners/banners_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "isRequired": false } @@ -5495,7 +5468,7 @@ "signature": [ "() => JSX.Element" ], - "path": "src/core/public/overlays/banners/banners_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "children": [], "returnComment": [] @@ -5510,7 +5483,10 @@ "tags": [], "label": "OverlayFlyoutOpenOptions", "description": [], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "signature": [ + "OverlayFlyoutOpenOptions" + ], + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "children": [ { @@ -5523,7 +5499,7 @@ "signature": [ "string | undefined" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5536,7 +5512,7 @@ "signature": [ "string | undefined" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5549,7 +5525,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5562,7 +5538,7 @@ "signature": [ "string | undefined" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5575,7 +5551,7 @@ "signature": [ "string | undefined" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5588,7 +5564,7 @@ "signature": [ "\"s\" | \"m\" | \"l\" | undefined" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5601,7 +5577,7 @@ "signature": [ "string | number | boolean | undefined" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5614,7 +5590,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5627,7 +5603,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5641,7 +5617,7 @@ "EuiOverlayMaskProps", " | undefined" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5655,16 +5631,10 @@ ], "signature": [ "((flyout: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayRef", - "text": "OverlayRef" - }, + "OverlayRef", ") => void) | undefined" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "children": [ { @@ -5675,15 +5645,9 @@ "label": "flyout", "description": [], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayRef", - "text": "OverlayRef" - } + "OverlayRef" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "isRequired": true } @@ -5702,7 +5666,10 @@ "description": [ "\nAPIs to open and manage fly-out dialogs.\n" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "signature": [ + "OverlayFlyoutStart" + ], + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "children": [ { @@ -5718,31 +5685,13 @@ ], "signature": [ "(mount: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", ", options?: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayFlyoutOpenOptions", - "text": "OverlayFlyoutOpenOptions" - }, + "OverlayFlyoutOpenOptions", " | undefined) => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayRef", - "text": "OverlayRef" - } + "OverlayRef" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "children": [ { @@ -5755,16 +5704,10 @@ "{@link MountPoint } - Mounts the children inside a flyout panel" ], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", "" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "isRequired": true }, @@ -5778,16 +5721,10 @@ "{@link OverlayFlyoutOpenOptions } - options for the flyout" ], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayFlyoutOpenOptions", - "text": "OverlayFlyoutOpenOptions" - }, + "OverlayFlyoutOpenOptions", " | undefined" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "isRequired": false } @@ -5804,7 +5741,10 @@ "tags": [], "label": "OverlayModalConfirmOptions", "description": [], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "signature": [ + "OverlayModalConfirmOptions" + ], + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "children": [ { @@ -5817,7 +5757,7 @@ "signature": [ "string | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5830,7 +5770,7 @@ "signature": [ "string | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5843,7 +5783,7 @@ "signature": [ "string | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5856,7 +5796,7 @@ "signature": [ "string | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5869,7 +5809,7 @@ "signature": [ "string | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5882,7 +5822,7 @@ "signature": [ "string | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5895,7 +5835,7 @@ "signature": [ "\"cancel\" | \"confirm\" | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5909,7 +5849,7 @@ "ButtonColor", " | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5924,7 +5864,7 @@ "signature": [ "string | number | boolean | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false } ], @@ -5937,7 +5877,10 @@ "tags": [], "label": "OverlayModalOpenOptions", "description": [], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "signature": [ + "OverlayModalOpenOptions" + ], + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "children": [ { @@ -5950,7 +5893,7 @@ "signature": [ "string | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5963,7 +5906,7 @@ "signature": [ "string | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5976,7 +5919,7 @@ "signature": [ "string | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -5989,7 +5932,7 @@ "signature": [ "string | number | boolean | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false } ], @@ -6004,7 +5947,10 @@ "description": [ "\nAPIs to open and manage modal dialogs.\n" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "signature": [ + "OverlayModalStart" + ], + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "children": [ { @@ -6020,31 +5966,13 @@ ], "signature": [ "(mount: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", ", options?: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayModalOpenOptions", - "text": "OverlayModalOpenOptions" - }, + "OverlayModalOpenOptions", " | undefined) => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayRef", - "text": "OverlayRef" - } + "OverlayRef" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "children": [ { @@ -6057,16 +5985,10 @@ "{@link MountPoint } - Mounts the children inside the modal" ], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", "" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "isRequired": true }, @@ -6080,16 +6002,10 @@ "{@link OverlayModalOpenOptions } - options for the modal" ], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayModalOpenOptions", - "text": "OverlayModalOpenOptions" - }, + "OverlayModalOpenOptions", " | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "isRequired": false } @@ -6107,24 +6023,12 @@ ], "signature": [ "(message: string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", ", options?: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayModalConfirmOptions", - "text": "OverlayModalConfirmOptions" - }, + "OverlayModalConfirmOptions", " | undefined) => Promise" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "children": [ { @@ -6138,16 +6042,10 @@ ], "signature": [ "string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", "" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "isRequired": true }, @@ -6161,16 +6059,10 @@ "{@link OverlayModalConfirmOptions } - options for the confirm modal" ], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayModalConfirmOptions", - "text": "OverlayModalConfirmOptions" - }, + "OverlayModalConfirmOptions", " | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "isRequired": false } @@ -6189,7 +6081,10 @@ "description": [ "\nReturned by {@link OverlayStart} methods for closing a mounted overlay." ], - "path": "src/core/public/overlays/types.ts", + "signature": [ + "OverlayRef" + ], + "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", "deprecated": false, "children": [ { @@ -6204,7 +6099,7 @@ "signature": [ "Promise" ], - "path": "src/core/public/overlays/types.ts", + "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", "deprecated": false }, { @@ -6219,7 +6114,7 @@ "signature": [ "() => Promise" ], - "path": "src/core/public/overlays/types.ts", + "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", "deprecated": false, "children": [], "returnComment": [] @@ -6234,7 +6129,10 @@ "tags": [], "label": "OverlayStart", "description": [], - "path": "src/core/public/overlays/overlay_service.ts", + "signature": [ + "OverlayStart" + ], + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "children": [ { @@ -6247,15 +6145,9 @@ "{@link OverlayBannersStart}" ], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayBannersStart", - "text": "OverlayBannersStart" - } + "OverlayBannersStart" ], - "path": "src/core/public/overlays/overlay_service.ts", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -6269,31 +6161,13 @@ ], "signature": [ "(mount: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", ", options?: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayFlyoutOpenOptions", - "text": "OverlayFlyoutOpenOptions" - }, + "OverlayFlyoutOpenOptions", " | undefined) => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayRef", - "text": "OverlayRef" - } + "OverlayRef" ], - "path": "src/core/public/overlays/overlay_service.ts", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "returnComment": [], "children": [ @@ -6306,15 +6180,9 @@ "description": [], "signature": [ "(element: HTMLElement) => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.UnmountCallback", - "text": "UnmountCallback" - } + "UnmountCallback" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "returnComment": [], "children": [ @@ -6328,7 +6196,7 @@ "signature": [ "T" ], - "path": "src/core/public/types.ts", + "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", "deprecated": false } ] @@ -6341,16 +6209,10 @@ "label": "options", "description": [], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayFlyoutOpenOptions", - "text": "OverlayFlyoutOpenOptions" - }, + "OverlayFlyoutOpenOptions", " | undefined" ], - "path": "src/core/public/overlays/flyout/flyout_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false } ] @@ -6366,31 +6228,13 @@ ], "signature": [ "(mount: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", ", options?: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayModalOpenOptions", - "text": "OverlayModalOpenOptions" - }, + "OverlayModalOpenOptions", " | undefined) => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayRef", - "text": "OverlayRef" - } + "OverlayRef" ], - "path": "src/core/public/overlays/overlay_service.ts", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "returnComment": [], "children": [ @@ -6403,15 +6247,9 @@ "description": [], "signature": [ "(element: HTMLElement) => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.UnmountCallback", - "text": "UnmountCallback" - } + "UnmountCallback" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "returnComment": [], "children": [ @@ -6425,7 +6263,7 @@ "signature": [ "T" ], - "path": "src/core/public/types.ts", + "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", "deprecated": false } ] @@ -6438,16 +6276,10 @@ "label": "options", "description": [], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayModalOpenOptions", - "text": "OverlayModalOpenOptions" - }, + "OverlayModalOpenOptions", " | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false } ] @@ -6463,24 +6295,12 @@ ], "signature": [ "(message: string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", ", options?: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayModalConfirmOptions", - "text": "OverlayModalConfirmOptions" - }, + "OverlayModalConfirmOptions", " | undefined) => Promise" ], - "path": "src/core/public/overlays/overlay_service.ts", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false, "returnComment": [], "children": [ @@ -6493,16 +6313,10 @@ "description": [], "signature": [ "string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", "" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false }, { @@ -6513,16 +6327,10 @@ "label": "options", "description": [], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayModalConfirmOptions", - "text": "OverlayModalConfirmOptions" - }, + "OverlayModalConfirmOptions", " | undefined" ], - "path": "src/core/public/overlays/modal/modal_service.tsx", + "path": "node_modules/@types/kbn__core-overlays-browser/index.d.ts", "deprecated": false } ] @@ -10332,15 +10140,9 @@ ], "signature": [ "(element: T) => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.UnmountCallback", - "text": "UnmountCallback" - } + "UnmountCallback" ], - "path": "src/core/public/types.ts", + "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", "deprecated": false, "returnComment": [ "a {@link UnmountCallback } that unmount the element on call." @@ -10358,7 +10160,7 @@ "signature": [ "T" ], - "path": "src/core/public/types.ts", + "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", "deprecated": false } ], @@ -10613,21 +10415,9 @@ "Pick<", "Toast", ", \"children\" | \"color\" | \"className\" | \"lang\" | \"style\" | \"role\" | \"tabIndex\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-label\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChange\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDown\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClick\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"data-test-subj\" | \"hidden\" | \"security\" | \"defaultValue\" | \"defaultChecked\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"translate\" | \"radioGroup\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"toastLifeTimeMs\" | \"iconType\" | \"onClose\"> & { title?: string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", " | undefined; text?: string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", " | undefined; } & { id: string; }" ], "path": "src/core/public/notifications/toasts/toasts_api.tsx", @@ -10670,21 +10460,9 @@ "Pick<", "Toast", ", \"children\" | \"color\" | \"className\" | \"lang\" | \"style\" | \"role\" | \"tabIndex\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-label\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChange\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDown\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClick\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"data-test-subj\" | \"hidden\" | \"security\" | \"defaultValue\" | \"defaultChecked\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"translate\" | \"radioGroup\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"toastLifeTimeMs\" | \"iconType\" | \"onClose\"> & { title?: string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", " | undefined; text?: string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", " | undefined; }" ], "path": "src/core/public/notifications/toasts/toasts_api.tsx", @@ -11043,7 +10821,7 @@ "signature": [ "() => void" ], - "path": "src/core/public/types.ts", + "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", "deprecated": false, "returnComment": [], "children": [], diff --git a/api_docs/core.mdx b/api_docs/core.mdx index c7a8a596bed520..2586e02a9a62de 100644 --- a/api_docs/core.mdx +++ b/api_docs/core.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/core title: "core" image: https://source.unsplash.com/400x175/?github summary: API docs for the core plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2504 | 2 | 342 | 6 | +| 2504 | 2 | 303 | 6 | ## Client diff --git a/api_docs/core_application.devdocs.json b/api_docs/core_application.devdocs.json index fdf3dd24ed58de..00b0c241fac11c 100644 --- a/api_docs/core_application.devdocs.json +++ b/api_docs/core_application.devdocs.json @@ -1548,13 +1548,7 @@ ], "signature": [ "(menuMount: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", " | undefined) => void" ], "path": "src/core/public/application/types.ts", @@ -1568,13 +1562,7 @@ "label": "menuMount", "description": [], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", " | undefined" ], "path": "src/core/public/application/types.ts", diff --git a/api_docs/core_application.mdx b/api_docs/core_application.mdx index 57b9092cdc0399..94207783ff33de 100644 --- a/api_docs/core_application.mdx +++ b/api_docs/core_application.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/core-application title: "core.application" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.application plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core.application'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2504 | 2 | 342 | 6 | +| 2504 | 2 | 303 | 6 | ## Client diff --git a/api_docs/core_chrome.devdocs.json b/api_docs/core_chrome.devdocs.json index 29f26e65803cf6..f7ad640b55bb74 100644 --- a/api_docs/core_chrome.devdocs.json +++ b/api_docs/core_chrome.devdocs.json @@ -545,13 +545,7 @@ "description": [], "signature": [ "(element: HTMLElement) => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.UnmountCallback", - "text": "UnmountCallback" - } + "UnmountCallback" ], "path": "src/core/public/chrome/nav_controls/nav_controls_service.ts", "deprecated": false, @@ -567,7 +561,7 @@ "signature": [ "T" ], - "path": "src/core/public/types.ts", + "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", "deprecated": false } ] @@ -1881,13 +1875,7 @@ "description": [], "signature": [ "(element: HTMLDivElement) => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.UnmountCallback", - "text": "UnmountCallback" - } + "UnmountCallback" ], "path": "src/core/public/chrome/types.ts", "deprecated": false, @@ -1903,7 +1891,7 @@ "signature": [ "T" ], - "path": "src/core/public/types.ts", + "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", "deprecated": false } ] diff --git a/api_docs/core_chrome.mdx b/api_docs/core_chrome.mdx index 4a81b26561ee5e..1b578cc58b012e 100644 --- a/api_docs/core_chrome.mdx +++ b/api_docs/core_chrome.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/core-chrome title: "core.chrome" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.chrome plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core.chrome'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2504 | 2 | 342 | 6 | +| 2504 | 2 | 303 | 6 | ## Client diff --git a/api_docs/core_saved_objects.mdx b/api_docs/core_saved_objects.mdx index fa5659c2357808..5f60b273425570 100644 --- a/api_docs/core_saved_objects.mdx +++ b/api_docs/core_saved_objects.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/core-savedObjects title: "core.savedObjects" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.savedObjects plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core.savedObjects'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2504 | 2 | 342 | 6 | +| 2504 | 2 | 303 | 6 | ## Client diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index ad9a25a488f8ce..ca7895e62ba4a2 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/customIntegrations title: "customIntegrations" image: https://source.unsplash.com/400x175/?github summary: API docs for the customIntegrations plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'customIntegrations'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index 07a47bbbcee3cd..7a1d68c7aedcee 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dashboard title: "dashboard" image: https://source.unsplash.com/400x175/?github summary: API docs for the dashboard plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboard'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index 735d034eca51e8..5c3f41f966132a 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dashboardEnhanced title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the dashboardEnhanced plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboardEnhanced'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data.devdocs.json b/api_docs/data.devdocs.json index b662c9f475f21f..a72ff2cccf82e1 100644 --- a/api_docs/data.devdocs.json +++ b/api_docs/data.devdocs.json @@ -12443,16 +12443,16 @@ "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" }, ") => ", { @@ -12480,16 +12480,16 @@ "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" } ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -18581,16 +18581,16 @@ "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" }, ") => ", { @@ -18618,16 +18618,16 @@ "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" } ], "path": "src/plugins/data_views/common/data_views/data_view.ts", diff --git a/api_docs/data.mdx b/api_docs/data.mdx index a7c122d114c673..b6b298435e54af 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/data title: "data" image: https://source.unsplash.com/400x175/?github summary: API docs for the data plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index a85906eea6bbb9..7cf5501692bc13 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/data-query title: "data.query" image: https://source.unsplash.com/400x175/?github summary: API docs for the data.query plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index e98c153703cf08..c039bf2fe3bdd7 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/data-search title: "data.search" image: https://source.unsplash.com/400x175/?github summary: API docs for the data.search plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index 795f4a0193c0ac..0d21905f2d7956 100644 --- a/api_docs/data_view_editor.mdx +++ b/api_docs/data_view_editor.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dataViewEditor title: "dataViewEditor" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataViewEditor plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewEditor'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_view_field_editor.mdx b/api_docs/data_view_field_editor.mdx index b0c428bdcde8d0..0973dd16ac748d 100644 --- a/api_docs/data_view_field_editor.mdx +++ b/api_docs/data_view_field_editor.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dataViewFieldEditor title: "dataViewFieldEditor" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataViewFieldEditor plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewFieldEditor'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_view_management.mdx b/api_docs/data_view_management.mdx index 4fe6f5c9cf8f55..27321f447dcf05 100644 --- a/api_docs/data_view_management.mdx +++ b/api_docs/data_view_management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dataViewManagement title: "dataViewManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataViewManagement plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewManagement'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_views.devdocs.json b/api_docs/data_views.devdocs.json index cd67eb33822a14..64ca08b80a64b4 100644 --- a/api_docs/data_views.devdocs.json +++ b/api_docs/data_views.devdocs.json @@ -835,16 +835,16 @@ "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" }, ") => ", { @@ -872,16 +872,16 @@ "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" } ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -5325,16 +5325,16 @@ "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" }, ") => void" ], @@ -5355,16 +5355,16 @@ "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" } ], "path": "src/plugins/data_views/common/fields/field_list.ts", @@ -7039,16 +7039,16 @@ "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" }, ") => ", { @@ -7076,16 +7076,16 @@ "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" } ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -12777,16 +12777,16 @@ "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" }, ") => ", { @@ -12814,16 +12814,16 @@ "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" } ], "path": "src/plugins/data_views/common/data_views/data_view.ts", @@ -16309,21 +16309,9 @@ "Pick<", "Toast", ", \"children\" | \"color\" | \"className\" | \"lang\" | \"style\" | \"role\" | \"tabIndex\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-label\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChange\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDown\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClick\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"data-test-subj\" | \"hidden\" | \"security\" | \"defaultValue\" | \"defaultChecked\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"translate\" | \"radioGroup\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"toastLifeTimeMs\" | \"iconType\" | \"onClose\"> & { title?: string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", " | undefined; text?: string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", " | undefined; }" ], "path": "src/plugins/data_views/common/types.ts", @@ -18147,16 +18135,16 @@ "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" }, ") => void" ], @@ -18177,16 +18165,16 @@ "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" } ], "path": "src/plugins/data_views/common/fields/field_list.ts", @@ -19277,16 +19265,16 @@ "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "dataViews", "scope": "common", "docId": "kibDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" }, ") => ", { @@ -20111,21 +20099,9 @@ "Pick<", "Toast", ", \"children\" | \"color\" | \"className\" | \"lang\" | \"style\" | \"role\" | \"tabIndex\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-label\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChange\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDown\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClick\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"data-test-subj\" | \"hidden\" | \"security\" | \"defaultValue\" | \"defaultChecked\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"translate\" | \"radioGroup\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"toastLifeTimeMs\" | \"iconType\" | \"onClose\"> & { title?: string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", " | undefined; text?: string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", " | undefined; }" ], "path": "src/plugins/data_views/common/types.ts", diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index 8c33756a48f6e2..b85c26892369f3 100644 --- a/api_docs/data_views.mdx +++ b/api_docs/data_views.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dataViews title: "dataViews" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataViews plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index d4ae88e02134cf..c078303f77db70 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dataVisualizer title: "dataVisualizer" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataVisualizer plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataVisualizer'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index b770c56403274d..1758230ac22217 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -3,7 +3,7 @@ id: kibDevDocsDeprecationsByApi slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API summary: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. --- @@ -58,7 +58,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | management, spaces, ml, canvas, enterpriseSearch, osquery, home | - | | | management, enterpriseSearch | - | | | enterpriseSearch | - | -| | actions, ml, enterpriseSearch, savedObjectsTagging | - | +| | actions, ml, savedObjectsTagging, enterpriseSearch | - | | | spaces, savedObjectsManagement | - | | | spaces, savedObjectsManagement | - | | | console, @kbn/core-elasticsearch-server-internal | - | diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index 71d4af7b0e7dc6..e3951bac529e1b 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -3,7 +3,7 @@ id: kibDevDocsDeprecationsByPlugin slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin summary: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. --- diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index b14ff82352d30c..b013e6bea73c55 100644 --- a/api_docs/deprecations_by_team.mdx +++ b/api_docs/deprecations_by_team.mdx @@ -3,7 +3,7 @@ id: kibDevDocsDeprecationsDueByTeam slug: /kibana-dev-docs/api-meta/deprecations-due-by-team title: Deprecated APIs due to be removed, by team summary: Lists the teams that are referencing deprecated APIs with a remove by date. -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. --- diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 451311d2292561..7ee0f15f0d05b8 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/devTools title: "devTools" image: https://source.unsplash.com/400x175/?github summary: API docs for the devTools plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'devTools'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index 4248c0e9161843..56157bfa62c6a6 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/discover title: "discover" image: https://source.unsplash.com/400x175/?github summary: API docs for the discover plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discover'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index 6c03abd641330e..df7337b0cacbbc 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/discoverEnhanced title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the discoverEnhanced plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverEnhanced'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/elastic_apm_synthtrace.mdx b/api_docs/elastic_apm_synthtrace.mdx index 43f3ffa08dd357..461fe7310df9be 100644 --- a/api_docs/elastic_apm_synthtrace.mdx +++ b/api_docs/elastic_apm_synthtrace.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/elastic-apm-synthtrace title: "@elastic/apm-synthtrace" image: https://source.unsplash.com/400x175/?github summary: API docs for the @elastic/apm-synthtrace plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@elastic/apm-synthtrace'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/embeddable.devdocs.json b/api_docs/embeddable.devdocs.json index 836f7d92bb5cd9..5ae299a246eeda 100644 --- a/api_docs/embeddable.devdocs.json +++ b/api_docs/embeddable.devdocs.json @@ -213,13 +213,7 @@ "label": "overlays", "description": [], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayStart", - "text": "OverlayStart" - } + "OverlayStart" ], "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", "deprecated": false, @@ -5457,13 +5451,7 @@ ">, ", "SavedObjectAttributes", ">>; overlays: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayStart", - "text": "OverlayStart" - }, + "OverlayStart", "; notifications: ", { "pluginId": "core", @@ -5475,13 +5463,7 @@ "; SavedObjectFinder: React.ComponentType; showCreateNewMenu?: boolean | undefined; reportUiCounter?: ((appName: string, type: string, eventNames: string | string[], count?: number | undefined) => void) | undefined; theme: ", "ThemeServiceStart", "; }) => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayRef", - "text": "OverlayRef" - } + "OverlayRef" ], "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", "deprecated": false, @@ -5689,13 +5671,7 @@ "label": "overlays", "description": [], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayStart", - "text": "OverlayStart" - } + "OverlayStart" ], "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", "deprecated": false diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index d1c55e7bd35aca..6ae7afd59ec445 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/embeddable title: "embeddable" image: https://source.unsplash.com/400x175/?github summary: API docs for the embeddable plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index b280d364ba7e19..52b49ec4c3e437 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/embeddableEnhanced title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the embeddableEnhanced plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddableEnhanced'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/encrypted_saved_objects.mdx b/api_docs/encrypted_saved_objects.mdx index 0792e29ee12e6f..b7026c4087f4cf 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/encryptedSavedObjects title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github summary: API docs for the encryptedSavedObjects plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'encryptedSavedObjects'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index ff3773cc97cb29..20277997c0f695 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/enterpriseSearch title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github summary: API docs for the enterpriseSearch plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index 2810a8c1bf8191..ca8eb5b60f93c0 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/esUiShared title: "esUiShared" image: https://source.unsplash.com/400x175/?github summary: API docs for the esUiShared plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/event_annotation.mdx b/api_docs/event_annotation.mdx index 0ccf918309961f..a7cdfa9aaf73e9 100644 --- a/api_docs/event_annotation.mdx +++ b/api_docs/event_annotation.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/eventAnnotation title: "eventAnnotation" image: https://source.unsplash.com/400x175/?github summary: API docs for the eventAnnotation plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotation'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index b1c69c8cd636d4..68cd822500ac3b 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/eventLog title: "eventLog" image: https://source.unsplash.com/400x175/?github summary: API docs for the eventLog plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventLog'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index 7a16d09c9240a0..856eb8fdd2403a 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionError title: "expressionError" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionError plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionError'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_gauge.mdx b/api_docs/expression_gauge.mdx index 7bf82e59267ec4..33e68076ef95e4 100644 --- a/api_docs/expression_gauge.mdx +++ b/api_docs/expression_gauge.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionGauge title: "expressionGauge" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionGauge plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionGauge'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_heatmap.mdx b/api_docs/expression_heatmap.mdx index 5d3be46dcb2046..bd84713d7e80ae 100644 --- a/api_docs/expression_heatmap.mdx +++ b/api_docs/expression_heatmap.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionHeatmap title: "expressionHeatmap" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionHeatmap plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionHeatmap'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index 14464587b1aa30..3186513b49cf4d 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionImage title: "expressionImage" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionImage plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionImage'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_legacy_metric_vis.mdx b/api_docs/expression_legacy_metric_vis.mdx index 7d172297ca6dd0..b1b1fcacbe9fb7 100644 --- a/api_docs/expression_legacy_metric_vis.mdx +++ b/api_docs/expression_legacy_metric_vis.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionLegacyMetricVis title: "expressionLegacyMetricVis" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionLegacyMetricVis plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionLegacyMetricVis'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index 61a353019d628d..86c8b86944b22b 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionMetric title: "expressionMetric" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionMetric plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetric'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_metric_vis.mdx b/api_docs/expression_metric_vis.mdx index 0de8afbe406520..eb31d7ccf6d27a 100644 --- a/api_docs/expression_metric_vis.mdx +++ b/api_docs/expression_metric_vis.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionMetricVis title: "expressionMetricVis" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionMetricVis plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetricVis'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_partition_vis.mdx b/api_docs/expression_partition_vis.mdx index 1ccad3c19c1a2c..86de8c461de9e8 100644 --- a/api_docs/expression_partition_vis.mdx +++ b/api_docs/expression_partition_vis.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionPartitionVis title: "expressionPartitionVis" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionPartitionVis plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPartitionVis'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index 4f21f0395a920b..d9f6a33eb742e9 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionRepeatImage title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionRepeatImage plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRepeatImage'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index d914ce2194507e..791a617344fe03 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionRevealImage title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionRevealImage plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRevealImage'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index 0305e3e1415a2a..833a06f2c70972 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionShape title: "expressionShape" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionShape plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionShape'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index 70fc36b27f57e9..91ee8d80c1f458 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionTagcloud title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionTagcloud plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionTagcloud'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_x_y.mdx b/api_docs/expression_x_y.mdx index d75458d95b6fb1..12a32ad0013823 100644 --- a/api_docs/expression_x_y.mdx +++ b/api_docs/expression_x_y.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionXY title: "expressionXY" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionXY plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionXY'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index bec4e34a5f99bc..2a412f9c70d3c8 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressions title: "expressions" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressions plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressions'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/features.mdx b/api_docs/features.mdx index 457932953666dc..c7260f00f52053 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/features title: "features" image: https://source.unsplash.com/400x175/?github summary: API docs for the features plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'features'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index 34132e629f3beb..123761b9fcd09f 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/fieldFormats title: "fieldFormats" image: https://source.unsplash.com/400x175/?github summary: API docs for the fieldFormats plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldFormats'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index 73649ced7294b0..b39411a7fdc919 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/fileUpload title: "fileUpload" image: https://source.unsplash.com/400x175/?github summary: API docs for the fileUpload plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index cc6ea658191477..dea5e302a5870d 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/fleet title: "fleet" image: https://source.unsplash.com/400x175/?github summary: API docs for the fleet plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fleet'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index 333506f6302429..b2fcc056cc9b96 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/globalSearch title: "globalSearch" image: https://source.unsplash.com/400x175/?github summary: API docs for the globalSearch plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'globalSearch'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/home.mdx b/api_docs/home.mdx index 4d207ecdc0b2d7..eae7eae1c60f87 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/home title: "home" image: https://source.unsplash.com/400x175/?github summary: API docs for the home plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'home'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index 382e82a841e15c..0d12dfb8c7d659 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/indexLifecycleManagement title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexLifecycleManagement plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexLifecycleManagement'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index d3d8a823278acb..6de5b09520306c 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/indexManagement title: "indexManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexManagement plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexManagement'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index 6024d86b53cc8d..a03c5d0927ceef 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/infra title: "infra" image: https://source.unsplash.com/400x175/?github summary: API docs for the infra plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'infra'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/inspector.devdocs.json b/api_docs/inspector.devdocs.json index c4825cd8c8903f..1aac13b985a6d3 100644 --- a/api_docs/inspector.devdocs.json +++ b/api_docs/inspector.devdocs.json @@ -195,13 +195,7 @@ "text": "InspectorOptions" }, " | undefined) => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayRef", - "text": "OverlayRef" - }, + "OverlayRef", "; }" ], "path": "src/plugins/inspector/public/plugin.tsx", @@ -1272,13 +1266,7 @@ "label": "InspectorSession", "description": [], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayRef", - "text": "OverlayRef" - } + "OverlayRef" ], "path": "src/plugins/inspector/public/types.ts", "deprecated": false, @@ -1449,13 +1437,7 @@ "text": "InspectorOptions" }, " | undefined) => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayRef", - "text": "OverlayRef" - } + "OverlayRef" ], "path": "src/plugins/inspector/public/plugin.tsx", "deprecated": false, diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index 94d87228d57782..d31d956e092edc 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/inspector title: "inspector" image: https://source.unsplash.com/400x175/?github summary: API docs for the inspector plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inspector'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/interactive_setup.mdx b/api_docs/interactive_setup.mdx index f12f8af13860e3..6669cc9c41bea3 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/interactiveSetup title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github summary: API docs for the interactiveSetup plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'interactiveSetup'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ace.mdx b/api_docs/kbn_ace.mdx index ef1c43ae7c706a..d2c233308f515d 100644 --- a/api_docs/kbn_ace.mdx +++ b/api_docs/kbn_ace.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ace title: "@kbn/ace" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ace plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index e9478828e2be51..1bff8ac3111379 100644 --- a/api_docs/kbn_aiops_components.mdx +++ b/api_docs/kbn_aiops_components.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-components title: "@kbn/aiops-components" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/aiops-components plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_aiops_utils.mdx b/api_docs/kbn_aiops_utils.mdx index d8c9241493d1db..02ba583591f813 100644 --- a/api_docs/kbn_aiops_utils.mdx +++ b/api_docs/kbn_aiops_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-utils title: "@kbn/aiops-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/aiops-utils plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_alerts.mdx b/api_docs/kbn_alerts.mdx index 02c74e5d65ab7f..a536183eb818ab 100644 --- a/api_docs/kbn_alerts.mdx +++ b/api_docs/kbn_alerts.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-alerts title: "@kbn/alerts" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/alerts plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx index 6c179d3cd4240b..907fa189276e33 100644 --- a/api_docs/kbn_analytics.mdx +++ b/api_docs/kbn_analytics.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics title: "@kbn/analytics" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics_client.mdx b/api_docs/kbn_analytics_client.mdx index f3766ad8df6d7f..03547dc3dc8b0d 100644 --- a/api_docs/kbn_analytics_client.mdx +++ b/api_docs/kbn_analytics_client.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-client title: "@kbn/analytics-client" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics-client plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-client'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx index 134a04904d2bcd..2342e896bc23a8 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-browser title: "@kbn/analytics-shippers-elastic-v3-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics-shippers-elastic-v3-browser plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx index f91016bbfa52f4..fc34b94fd223b1 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-common title: "@kbn/analytics-shippers-elastic-v3-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics-shippers-elastic-v3-common plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx index 3648dbe4a4a133..0eb9ed5cb2dd87 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-server title: "@kbn/analytics-shippers-elastic-v3-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics-shippers-elastic-v3-server plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics_shippers_fullstory.mdx b/api_docs/kbn_analytics_shippers_fullstory.mdx index 90a4098412774a..bdf5231f569b72 100644 --- a/api_docs/kbn_analytics_shippers_fullstory.mdx +++ b/api_docs/kbn_analytics_shippers_fullstory.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-fullstory title: "@kbn/analytics-shippers-fullstory" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics-shippers-fullstory plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-fullstory'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx index 433d44426a477f..03ee436292042d 100644 --- a/api_docs/kbn_apm_config_loader.mdx +++ b/api_docs/kbn_apm_config_loader.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-apm-config-loader title: "@kbn/apm-config-loader" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/apm-config-loader plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-config-loader'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_apm_utils.mdx b/api_docs/kbn_apm_utils.mdx index fa7fcfbf67e974..d43ab1f456c1f2 100644 --- a/api_docs/kbn_apm_utils.mdx +++ b/api_docs/kbn_apm_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-apm-utils title: "@kbn/apm-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/apm-utils plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_axe_config.mdx b/api_docs/kbn_axe_config.mdx index 3271ce62c31d5d..e1e5427e816dd6 100644 --- a/api_docs/kbn_axe_config.mdx +++ b/api_docs/kbn_axe_config.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-axe-config title: "@kbn/axe-config" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/axe-config plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_bazel_packages.mdx b/api_docs/kbn_bazel_packages.mdx index bcb4946a856912..194ab17cb9d019 100644 --- a/api_docs/kbn_bazel_packages.mdx +++ b/api_docs/kbn_bazel_packages.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-bazel-packages title: "@kbn/bazel-packages" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/bazel-packages plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/bazel-packages'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ci_stats_core.mdx b/api_docs/kbn_ci_stats_core.mdx index 68de284c865bc7..f3e0a9cf24e15d 100644 --- a/api_docs/kbn_ci_stats_core.mdx +++ b/api_docs/kbn_ci_stats_core.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-core title: "@kbn/ci-stats-core" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ci-stats-core plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-core'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ci_stats_performance_metrics.mdx b/api_docs/kbn_ci_stats_performance_metrics.mdx index 417262b58301fa..55988a0adc5bb8 100644 --- a/api_docs/kbn_ci_stats_performance_metrics.mdx +++ b/api_docs/kbn_ci_stats_performance_metrics.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-performance-metrics title: "@kbn/ci-stats-performance-metrics" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ci-stats-performance-metrics plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-performance-metrics'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ci_stats_reporter.mdx b/api_docs/kbn_ci_stats_reporter.mdx index 66ccdc83e41d93..3ecbafb8017d1a 100644 --- a/api_docs/kbn_ci_stats_reporter.mdx +++ b/api_docs/kbn_ci_stats_reporter.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-reporter title: "@kbn/ci-stats-reporter" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ci-stats-reporter plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-reporter'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_cli_dev_mode.mdx b/api_docs/kbn_cli_dev_mode.mdx index 66e996f876dd92..eb95895d4f2c98 100644 --- a/api_docs/kbn_cli_dev_mode.mdx +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-cli-dev-mode title: "@kbn/cli-dev-mode" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/cli-dev-mode plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index 52d02ac490b71a..8027003ed54d5c 100644 --- a/api_docs/kbn_coloring.mdx +++ b/api_docs/kbn_coloring.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-coloring title: "@kbn/coloring" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/coloring plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/coloring'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_config.mdx b/api_docs/kbn_config.mdx index 815c707400b7fc..c60cfae02e1465 100644 --- a/api_docs/kbn_config.mdx +++ b/api_docs/kbn_config.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-config title: "@kbn/config" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/config plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_config_mocks.mdx b/api_docs/kbn_config_mocks.mdx index 0dd763776d4bca..8ba01134d6831c 100644 --- a/api_docs/kbn_config_mocks.mdx +++ b/api_docs/kbn_config_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-config-mocks title: "@kbn/config-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/config-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_config_schema.mdx b/api_docs/kbn_config_schema.mdx index f881e79a97058d..6882993f02b54e 100644 --- a/api_docs/kbn_config_schema.mdx +++ b/api_docs/kbn_config_schema.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-config-schema title: "@kbn/config-schema" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/config-schema plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-schema'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_browser.mdx b/api_docs/kbn_core_analytics_browser.mdx index d209a6ebe5f8a5..92459cf774a587 100644 --- a/api_docs/kbn_core_analytics_browser.mdx +++ b/api_docs/kbn_core_analytics_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser title: "@kbn/core-analytics-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-browser plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_browser_internal.mdx b/api_docs/kbn_core_analytics_browser_internal.mdx index a1e06cc90e8069..ecb1c29fc050b9 100644 --- a/api_docs/kbn_core_analytics_browser_internal.mdx +++ b/api_docs/kbn_core_analytics_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-internal title: "@kbn/core-analytics-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-browser-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_browser_mocks.mdx b/api_docs/kbn_core_analytics_browser_mocks.mdx index 742c6e8b4c9dc6..e2d3b2204c4b41 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.mdx +++ b/api_docs/kbn_core_analytics_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-mocks title: "@kbn/core-analytics-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-browser-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_server.mdx b/api_docs/kbn_core_analytics_server.mdx index 7bfb73eae57ee1..f15fc8dbfb0471 100644 --- a/api_docs/kbn_core_analytics_server.mdx +++ b/api_docs/kbn_core_analytics_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server title: "@kbn/core-analytics-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-server plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_server_internal.mdx b/api_docs/kbn_core_analytics_server_internal.mdx index 13d6edb168fc42..de611d066bbef9 100644 --- a/api_docs/kbn_core_analytics_server_internal.mdx +++ b/api_docs/kbn_core_analytics_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-internal title: "@kbn/core-analytics-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-server-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_server_mocks.mdx b/api_docs/kbn_core_analytics_server_mocks.mdx index a0e94e166f54d8..4ec4fa067f97b8 100644 --- a/api_docs/kbn_core_analytics_server_mocks.mdx +++ b/api_docs/kbn_core_analytics_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-mocks title: "@kbn/core-analytics-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_base_browser_mocks.mdx b/api_docs/kbn_core_base_browser_mocks.mdx index 0e09361e0ab72c..67420a6d2cc684 100644 --- a/api_docs/kbn_core_base_browser_mocks.mdx +++ b/api_docs/kbn_core_base_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-browser-mocks title: "@kbn/core-base-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-base-browser-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_base_common.mdx b/api_docs/kbn_core_base_common.mdx index 4a76145b0f8b88..1b297a096b776a 100644 --- a/api_docs/kbn_core_base_common.mdx +++ b/api_docs/kbn_core_base_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-common title: "@kbn/core-base-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-base-common plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_base_server_internal.mdx b/api_docs/kbn_core_base_server_internal.mdx index 8b4e3561609619..edf776c2dbe882 100644 --- a/api_docs/kbn_core_base_server_internal.mdx +++ b/api_docs/kbn_core_base_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-internal title: "@kbn/core-base-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-base-server-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_base_server_mocks.mdx b/api_docs/kbn_core_base_server_mocks.mdx index 173e76f084073e..a4009c77a1da27 100644 --- a/api_docs/kbn_core_base_server_mocks.mdx +++ b/api_docs/kbn_core_base_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-mocks title: "@kbn/core-base-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-base-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_capabilities_common.mdx b/api_docs/kbn_core_capabilities_common.mdx index 4d96e5549291e8..8758633c0597ef 100644 --- a/api_docs/kbn_core_capabilities_common.mdx +++ b/api_docs/kbn_core_capabilities_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-common title: "@kbn/core-capabilities-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-capabilities-common plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_capabilities_server.mdx b/api_docs/kbn_core_capabilities_server.mdx index 0a99569cac12ed..29c2f366e52bb2 100644 --- a/api_docs/kbn_core_capabilities_server.mdx +++ b/api_docs/kbn_core_capabilities_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server title: "@kbn/core-capabilities-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-capabilities-server plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_capabilities_server_mocks.mdx b/api_docs/kbn_core_capabilities_server_mocks.mdx index cf21686dfb262c..8eaf322030b0e2 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.mdx +++ b/api_docs/kbn_core_capabilities_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server-mocks title: "@kbn/core-capabilities-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-capabilities-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_config_server_internal.mdx b/api_docs/kbn_core_config_server_internal.mdx index 2b1e185577804e..b5fe302b3be902 100644 --- a/api_docs/kbn_core_config_server_internal.mdx +++ b/api_docs/kbn_core_config_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-config-server-internal title: "@kbn/core-config-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-config-server-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-config-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_deprecations_browser.mdx b/api_docs/kbn_core_deprecations_browser.mdx index 7dc6eed77eb3b3..2f6b238c5c4bbb 100644 --- a/api_docs/kbn_core_deprecations_browser.mdx +++ b/api_docs/kbn_core_deprecations_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser title: "@kbn/core-deprecations-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-deprecations-browser plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_deprecations_browser_internal.mdx b/api_docs/kbn_core_deprecations_browser_internal.mdx index 97e3bb4e42d7a7..c0f5f9769288c9 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.mdx +++ b/api_docs/kbn_core_deprecations_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-internal title: "@kbn/core-deprecations-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-deprecations-browser-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_deprecations_browser_mocks.mdx b/api_docs/kbn_core_deprecations_browser_mocks.mdx index d0d874b4fcddc7..60ea9a4e4a1203 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.mdx +++ b/api_docs/kbn_core_deprecations_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-mocks title: "@kbn/core-deprecations-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-deprecations-browser-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_deprecations_common.mdx b/api_docs/kbn_core_deprecations_common.mdx index af2e65134aaf5d..1dd5717a790f14 100644 --- a/api_docs/kbn_core_deprecations_common.mdx +++ b/api_docs/kbn_core_deprecations_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-common title: "@kbn/core-deprecations-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-deprecations-common plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_doc_links_browser.mdx b/api_docs/kbn_core_doc_links_browser.mdx index f0049ba2ff3461..a2bc1dd10207c2 100644 --- a/api_docs/kbn_core_doc_links_browser.mdx +++ b/api_docs/kbn_core_doc_links_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser title: "@kbn/core-doc-links-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-doc-links-browser plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_doc_links_browser_mocks.mdx b/api_docs/kbn_core_doc_links_browser_mocks.mdx index 33de9ef9d7e572..a0763b1afdac08 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.mdx +++ b/api_docs/kbn_core_doc_links_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser-mocks title: "@kbn/core-doc-links-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-doc-links-browser-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_doc_links_server.mdx b/api_docs/kbn_core_doc_links_server.mdx index f52775bc70cf3c..ffcb53cd45f43a 100644 --- a/api_docs/kbn_core_doc_links_server.mdx +++ b/api_docs/kbn_core_doc_links_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server title: "@kbn/core-doc-links-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-doc-links-server plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_doc_links_server_mocks.mdx b/api_docs/kbn_core_doc_links_server_mocks.mdx index b8845c7de89923..dc057f9e21c583 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.mdx +++ b/api_docs/kbn_core_doc_links_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server-mocks title: "@kbn/core-doc-links-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-doc-links-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx index 3e411a670cbe26..95d5051e85198d 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-internal title: "@kbn/core-elasticsearch-client-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-elasticsearch-client-server-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx index 2de2780e6450c2..574ae96732ba3f 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-mocks title: "@kbn/core-elasticsearch-client-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-elasticsearch-client-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_elasticsearch_server.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index cb571df8bea4db..69a11e48caefdd 100644 --- a/api_docs/kbn_core_elasticsearch_server.mdx +++ b/api_docs/kbn_core_elasticsearch_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server title: "@kbn/core-elasticsearch-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-elasticsearch-server plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_elasticsearch_server_internal.mdx b/api_docs/kbn_core_elasticsearch_server_internal.mdx index 8f4b01bb7e1803..8d05819b18e87e 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-internal title: "@kbn/core-elasticsearch-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-elasticsearch-server-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_elasticsearch_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_server_mocks.mdx index 0c1335cda00b16..4b7a11c2f6ef7b 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-mocks title: "@kbn/core-elasticsearch-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-elasticsearch-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_environment_server_internal.mdx b/api_docs/kbn_core_environment_server_internal.mdx index 4b841b0680c96a..dee4a5607e6989 100644 --- a/api_docs/kbn_core_environment_server_internal.mdx +++ b/api_docs/kbn_core_environment_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-internal title: "@kbn/core-environment-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-environment-server-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_environment_server_mocks.mdx b/api_docs/kbn_core_environment_server_mocks.mdx index a78aa9eae87bb0..19f9e11b6b1ffc 100644 --- a/api_docs/kbn_core_environment_server_mocks.mdx +++ b/api_docs/kbn_core_environment_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-mocks title: "@kbn/core-environment-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-environment-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_browser.mdx b/api_docs/kbn_core_execution_context_browser.mdx index a5e8cf8fd82d21..02df456c029b47 100644 --- a/api_docs/kbn_core_execution_context_browser.mdx +++ b/api_docs/kbn_core_execution_context_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser title: "@kbn/core-execution-context-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-browser plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_browser_internal.mdx b/api_docs/kbn_core_execution_context_browser_internal.mdx index 0af81842bbb774..29733859b056d0 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.mdx +++ b/api_docs/kbn_core_execution_context_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-internal title: "@kbn/core-execution-context-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-browser-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_browser_mocks.mdx b/api_docs/kbn_core_execution_context_browser_mocks.mdx index 28faf093515297..5ee8fb741b0fcf 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.mdx +++ b/api_docs/kbn_core_execution_context_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-mocks title: "@kbn/core-execution-context-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-browser-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_common.mdx b/api_docs/kbn_core_execution_context_common.mdx index 76c6277f43fe9e..49719e92a5401e 100644 --- a/api_docs/kbn_core_execution_context_common.mdx +++ b/api_docs/kbn_core_execution_context_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-common title: "@kbn/core-execution-context-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-common plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_server.mdx b/api_docs/kbn_core_execution_context_server.mdx index 674e230d5f6d43..13ca7a214d3a95 100644 --- a/api_docs/kbn_core_execution_context_server.mdx +++ b/api_docs/kbn_core_execution_context_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server title: "@kbn/core-execution-context-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-server plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_server_internal.mdx b/api_docs/kbn_core_execution_context_server_internal.mdx index 27bb8bfef16830..8839871e6ed651 100644 --- a/api_docs/kbn_core_execution_context_server_internal.mdx +++ b/api_docs/kbn_core_execution_context_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-internal title: "@kbn/core-execution-context-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-server-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_server_mocks.mdx b/api_docs/kbn_core_execution_context_server_mocks.mdx index 4206cf1b3c5faa..71a07ef2a38e86 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.mdx +++ b/api_docs/kbn_core_execution_context_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-mocks title: "@kbn/core-execution-context-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_fatal_errors_browser.mdx b/api_docs/kbn_core_fatal_errors_browser.mdx index a873e6a4c21241..fbbcd9ee471316 100644 --- a/api_docs/kbn_core_fatal_errors_browser.mdx +++ b/api_docs/kbn_core_fatal_errors_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser title: "@kbn/core-fatal-errors-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-fatal-errors-browser plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx index c01f229a53a2f3..ccceb1e7916797 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser-mocks title: "@kbn/core-fatal-errors-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-fatal-errors-browser-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_browser.mdx b/api_docs/kbn_core_http_browser.mdx index 3a4321d50ecc68..52cca28c332f73 100644 --- a/api_docs/kbn_core_http_browser.mdx +++ b/api_docs/kbn_core_http_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser title: "@kbn/core-http-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-browser plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_browser_internal.mdx b/api_docs/kbn_core_http_browser_internal.mdx index cc66967880aa1d..16916e7d60cc7e 100644 --- a/api_docs/kbn_core_http_browser_internal.mdx +++ b/api_docs/kbn_core_http_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-internal title: "@kbn/core-http-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-browser-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_browser_mocks.mdx b/api_docs/kbn_core_http_browser_mocks.mdx index 43e19e6a4a9920..e2a9a2aabb86a4 100644 --- a/api_docs/kbn_core_http_browser_mocks.mdx +++ b/api_docs/kbn_core_http_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-mocks title: "@kbn/core-http-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-browser-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_common.mdx b/api_docs/kbn_core_http_common.mdx index 1dfaffebc22ebe..e397cf75e05070 100644 --- a/api_docs/kbn_core_http_common.mdx +++ b/api_docs/kbn_core_http_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-common title: "@kbn/core-http-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-common plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_context_server_mocks.mdx b/api_docs/kbn_core_http_context_server_mocks.mdx index 6f478afff2b7cd..d651e4149b1730 100644 --- a/api_docs/kbn_core_http_context_server_mocks.mdx +++ b/api_docs/kbn_core_http_context_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-context-server-mocks title: "@kbn/core-http-context-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-context-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-context-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_router_server_internal.mdx b/api_docs/kbn_core_http_router_server_internal.mdx index 95e42ae9554e81..6773b6153af5b1 100644 --- a/api_docs/kbn_core_http_router_server_internal.mdx +++ b/api_docs/kbn_core_http_router_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-internal title: "@kbn/core-http-router-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-router-server-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_router_server_mocks.mdx b/api_docs/kbn_core_http_router_server_mocks.mdx index 3e9906bd549f98..0ed787ab1c9977 100644 --- a/api_docs/kbn_core_http_router_server_mocks.mdx +++ b/api_docs/kbn_core_http_router_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-mocks title: "@kbn/core-http-router-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-router-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index 8a051988084869..2121eb561db646 100644 --- a/api_docs/kbn_core_http_server.mdx +++ b/api_docs/kbn_core_http_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server title: "@kbn/core-http-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-server plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_server_internal.mdx b/api_docs/kbn_core_http_server_internal.mdx index 48f63205b98ef3..5a808b1b40c93b 100644 --- a/api_docs/kbn_core_http_server_internal.mdx +++ b/api_docs/kbn_core_http_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-internal title: "@kbn/core-http-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-server-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_server_mocks.mdx b/api_docs/kbn_core_http_server_mocks.mdx index 3eb2fe0e8d4f0a..5f9b0c0061a44b 100644 --- a/api_docs/kbn_core_http_server_mocks.mdx +++ b/api_docs/kbn_core_http_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-mocks title: "@kbn/core-http-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_i18n_browser.mdx b/api_docs/kbn_core_i18n_browser.mdx index 3ec19cfaef3248..2ed81d5fa0af1d 100644 --- a/api_docs/kbn_core_i18n_browser.mdx +++ b/api_docs/kbn_core_i18n_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser title: "@kbn/core-i18n-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-i18n-browser plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_i18n_browser_mocks.mdx b/api_docs/kbn_core_i18n_browser_mocks.mdx index 42844828d8cb6c..32ed6d914c93cf 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.mdx +++ b/api_docs/kbn_core_i18n_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser-mocks title: "@kbn/core-i18n-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-i18n-browser-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_injected_metadata_browser.mdx b/api_docs/kbn_core_injected_metadata_browser.mdx index 327d663a71156a..fc7226e15c6385 100644 --- a/api_docs/kbn_core_injected_metadata_browser.mdx +++ b/api_docs/kbn_core_injected_metadata_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser title: "@kbn/core-injected-metadata-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-injected-metadata-browser plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx index d90748edffcca2..e4e14577c019d6 100644 --- a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx +++ b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser-mocks title: "@kbn/core-injected-metadata-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-injected-metadata-browser-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_integrations_browser_internal.mdx b/api_docs/kbn_core_integrations_browser_internal.mdx index e0cd2e0422d061..8b7b13a20a175d 100644 --- a/api_docs/kbn_core_integrations_browser_internal.mdx +++ b/api_docs/kbn_core_integrations_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-internal title: "@kbn/core-integrations-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-integrations-browser-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_integrations_browser_mocks.mdx b/api_docs/kbn_core_integrations_browser_mocks.mdx index d0bb138204f4e0..c7a99b56c75994 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.mdx +++ b/api_docs/kbn_core_integrations_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-mocks title: "@kbn/core-integrations-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-integrations-browser-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_logging_server.mdx b/api_docs/kbn_core_logging_server.mdx index f7af039c7aa3f1..dad0dbe10d83b1 100644 --- a/api_docs/kbn_core_logging_server.mdx +++ b/api_docs/kbn_core_logging_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server title: "@kbn/core-logging-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-logging-server plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_logging_server_internal.mdx b/api_docs/kbn_core_logging_server_internal.mdx index 71436e8611365b..f757ab0bb45fd1 100644 --- a/api_docs/kbn_core_logging_server_internal.mdx +++ b/api_docs/kbn_core_logging_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-internal title: "@kbn/core-logging-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-logging-server-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_logging_server_mocks.mdx b/api_docs/kbn_core_logging_server_mocks.mdx index 729b30897f4531..7fbff74b228353 100644 --- a/api_docs/kbn_core_logging_server_mocks.mdx +++ b/api_docs/kbn_core_logging_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-mocks title: "@kbn/core-logging-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-logging-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_metrics_collectors_server_internal.mdx b/api_docs/kbn_core_metrics_collectors_server_internal.mdx index 0681cfc9a816f7..3758b848f25708 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-internal title: "@kbn/core-metrics-collectors-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-metrics-collectors-server-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx index a3e5f2c76de141..1fd56146003802 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-mocks title: "@kbn/core-metrics-collectors-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-metrics-collectors-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_metrics_server.mdx b/api_docs/kbn_core_metrics_server.mdx index 8e75dbaa824593..7cd48be61dd17d 100644 --- a/api_docs/kbn_core_metrics_server.mdx +++ b/api_docs/kbn_core_metrics_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server title: "@kbn/core-metrics-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-metrics-server plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_metrics_server_internal.mdx b/api_docs/kbn_core_metrics_server_internal.mdx index 248deb4629d6ac..20a0e20156f2e8 100644 --- a/api_docs/kbn_core_metrics_server_internal.mdx +++ b/api_docs/kbn_core_metrics_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-internal title: "@kbn/core-metrics-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-metrics-server-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_metrics_server_mocks.mdx b/api_docs/kbn_core_metrics_server_mocks.mdx index 00f73486816444..e68776e760d978 100644 --- a/api_docs/kbn_core_metrics_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-mocks title: "@kbn/core-metrics-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-metrics-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_mount_utils_browser.devdocs.json b/api_docs/kbn_core_mount_utils_browser.devdocs.json new file mode 100644 index 00000000000000..7b906b9729ea2f --- /dev/null +++ b/api_docs/kbn_core_mount_utils_browser.devdocs.json @@ -0,0 +1,137 @@ +{ + "id": "@kbn/core-mount-utils-browser", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [ + { + "parentPluginId": "@kbn/core-mount-utils-browser", + "id": "def-common.OverlayRef", + "type": "Interface", + "tags": [], + "label": "OverlayRef", + "description": [ + "\nReturned by {@link OverlayStart} methods for closing a mounted overlay." + ], + "path": "packages/core/mount-utils/core-mount-utils-browser/src/overlay_ref.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-mount-utils-browser", + "id": "def-common.OverlayRef.onClose", + "type": "Object", + "tags": [], + "label": "onClose", + "description": [ + "\nA Promise that will resolve once this overlay is closed.\n\nOverlays can close from user interaction, calling `close()` on the overlay\nreference or another overlay replacing yours via `openModal` or `openFlyout`." + ], + "signature": [ + "Promise" + ], + "path": "packages/core/mount-utils/core-mount-utils-browser/src/overlay_ref.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-mount-utils-browser", + "id": "def-common.OverlayRef.close", + "type": "Function", + "tags": [], + "label": "close", + "description": [ + "\nCloses the referenced overlay if it's still open which in turn will\nresolve the `onClose` Promise. If the overlay had already been\nclosed this method does nothing." + ], + "signature": [ + "() => Promise" + ], + "path": "packages/core/mount-utils/core-mount-utils-browser/src/overlay_ref.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/core-mount-utils-browser", + "id": "def-common.MountPoint", + "type": "Type", + "tags": [], + "label": "MountPoint", + "description": [ + "\nA function that should mount DOM content inside the provided container element\nand return a handler to unmount it.\n" + ], + "signature": [ + "(element: T) => ", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.UnmountCallback", + "text": "UnmountCallback" + } + ], + "path": "packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts", + "deprecated": false, + "returnComment": [ + "a {@link UnmountCallback } that unmount the element on call." + ], + "children": [ + { + "parentPluginId": "@kbn/core-mount-utils-browser", + "id": "def-common.MountPoint.$1", + "type": "Uncategorized", + "tags": [], + "label": "element", + "description": [ + "the container element to render into" + ], + "signature": [ + "T" + ], + "path": "packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-mount-utils-browser", + "id": "def-common.UnmountCallback", + "type": "Type", + "tags": [], + "label": "UnmountCallback", + "description": [ + "\nA function that will unmount the element previously mounted by\nthe associated {@link MountPoint}\n" + ], + "signature": [ + "() => void" + ], + "path": "packages/core/mount-utils/core-mount-utils-browser/src/mount_point.ts", + "deprecated": false, + "returnComment": [], + "children": [], + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_core_mount_utils_browser.mdx b/api_docs/kbn_core_mount_utils_browser.mdx new file mode 100644 index 00000000000000..8efe1445033de7 --- /dev/null +++ b/api_docs/kbn_core_mount_utils_browser.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnCoreMountUtilsBrowserPluginApi +slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser +title: "@kbn/core-mount-utils-browser" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/core-mount-utils-browser plugin +date: 2022-07-30 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-mount-utils-browser'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnCoreMountUtilsBrowserObj from './kbn_core_mount_utils_browser.devdocs.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 6 | 0 | 0 | 0 | + +## Common + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_core_mount_utils_browser_internal.devdocs.json b/api_docs/kbn_core_mount_utils_browser_internal.devdocs.json new file mode 100644 index 00000000000000..9cdc6803a56526 --- /dev/null +++ b/api_docs/kbn_core_mount_utils_browser_internal.devdocs.json @@ -0,0 +1,98 @@ +{ + "id": "@kbn/core-mount-utils-browser-internal", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/core-mount-utils-browser-internal", + "id": "def-common.mountReactNode", + "type": "Function", + "tags": [], + "label": "mountReactNode", + "description": [ + "\nMount converter for react node.\n" + ], + "signature": [ + "(node: React.ReactNode) => ", + "MountPoint", + "" + ], + "path": "packages/core/mount-utils/core-mount-utils-browser-internal/src/mount.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-mount-utils-browser-internal", + "id": "def-common.mountReactNode.$1", + "type": "CompoundType", + "tags": [], + "label": "node", + "description": [ + "to get a mount for" + ], + "signature": [ + "React.ReactNode" + ], + "path": "packages/core/mount-utils/core-mount-utils-browser-internal/src/mount.tsx", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-mount-utils-browser-internal", + "id": "def-common.MountWrapper", + "type": "Function", + "tags": [], + "label": "MountWrapper", + "description": [ + "\nMountWrapper is a react component to mount a {@link MountPoint} inside a react tree." + ], + "signature": [ + "({ mount, className }: React.PropsWithChildren) => JSX.Element" + ], + "path": "packages/core/mount-utils/core-mount-utils-browser-internal/src/mount.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-mount-utils-browser-internal", + "id": "def-common.MountWrapper.$1", + "type": "CompoundType", + "tags": [], + "label": "{ mount, className = defaultWrapperClass }", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "packages/core/mount-utils/core-mount-utils-browser-internal/src/mount.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_core_mount_utils_browser_internal.mdx b/api_docs/kbn_core_mount_utils_browser_internal.mdx new file mode 100644 index 00000000000000..01e3c129885a32 --- /dev/null +++ b/api_docs/kbn_core_mount_utils_browser_internal.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnCoreMountUtilsBrowserInternalPluginApi +slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser-internal +title: "@kbn/core-mount-utils-browser-internal" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/core-mount-utils-browser-internal plugin +date: 2022-07-30 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-mount-utils-browser-internal'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnCoreMountUtilsBrowserInternalObj from './kbn_core_mount_utils_browser_internal.devdocs.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 4 | 0 | 1 | 0 | + +## Common + +### Functions + + diff --git a/api_docs/kbn_core_node_server.mdx b/api_docs/kbn_core_node_server.mdx index e26b341ee7eeb8..b9ae3e6a62a3bb 100644 --- a/api_docs/kbn_core_node_server.mdx +++ b/api_docs/kbn_core_node_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server title: "@kbn/core-node-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-node-server plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_node_server_internal.mdx b/api_docs/kbn_core_node_server_internal.mdx index cc13686662190d..41520d765f391d 100644 --- a/api_docs/kbn_core_node_server_internal.mdx +++ b/api_docs/kbn_core_node_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-internal title: "@kbn/core-node-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-node-server-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_node_server_mocks.mdx b/api_docs/kbn_core_node_server_mocks.mdx index 9f8d679030fb71..3486bbdd7abd3b 100644 --- a/api_docs/kbn_core_node_server_mocks.mdx +++ b/api_docs/kbn_core_node_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-mocks title: "@kbn/core-node-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-node-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_overlays_browser.devdocs.json b/api_docs/kbn_core_overlays_browser.devdocs.json new file mode 100644 index 00000000000000..37ccf6337584b1 --- /dev/null +++ b/api_docs/kbn_core_overlays_browser.devdocs.json @@ -0,0 +1,1090 @@ +{ + "id": "@kbn/core-overlays-browser", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayBannersStart", + "type": "Interface", + "tags": [], + "label": "OverlayBannersStart", + "description": [], + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayBannersStart.add", + "type": "Function", + "tags": [], + "label": "add", + "description": [ + "\nAdd a new banner\n" + ], + "signature": [ + "(mount: ", + "MountPoint", + ", priority?: number | undefined) => string" + ], + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayBannersStart.add.$1", + "type": "Function", + "tags": [], + "label": "mount", + "description": [ + "{@link MountPoint }" + ], + "signature": [ + "MountPoint", + "" + ], + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayBannersStart.add.$2", + "type": "number", + "tags": [], + "label": "priority", + "description": [ + "optional priority order to display this banner. Higher priority values are shown first." + ], + "signature": [ + "number | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "a unique identifier for the given banner to be used with {@link OverlayBannersStart.remove } and\n{@link OverlayBannersStart.replace }" + ] + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayBannersStart.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [ + "\nRemove a banner\n" + ], + "signature": [ + "(id: string) => boolean" + ], + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayBannersStart.remove.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "the unique identifier for the banner returned by {@link OverlayBannersStart.add }" + ], + "signature": [ + "string" + ], + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "if the banner was found or not" + ] + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayBannersStart.replace", + "type": "Function", + "tags": [], + "label": "replace", + "description": [ + "\nReplace a banner in place\n" + ], + "signature": [ + "(id: string | undefined, mount: ", + "MountPoint", + ", priority?: number | undefined) => string" + ], + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayBannersStart.replace.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "the unique identifier for the banner returned by {@link OverlayBannersStart.add }" + ], + "signature": [ + "string | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayBannersStart.replace.$2", + "type": "Function", + "tags": [], + "label": "mount", + "description": [ + "{@link MountPoint }" + ], + "signature": [ + "MountPoint", + "" + ], + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayBannersStart.replace.$3", + "type": "number", + "tags": [], + "label": "priority", + "description": [ + "optional priority order to display this banner. Higher priority values are shown first." + ], + "signature": [ + "number | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "a new identifier for the given banner to be used with {@link OverlayBannersStart.remove } and\n{@link OverlayBannersStart.replace }" + ] + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayBannersStart.getComponent", + "type": "Function", + "tags": [], + "label": "getComponent", + "description": [], + "signature": [ + "() => JSX.Element" + ], + "path": "packages/core/overlays/core-overlays-browser/src/banners.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutOpenOptions", + "type": "Interface", + "tags": [], + "label": "OverlayFlyoutOpenOptions", + "description": [], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutOpenOptions.className", + "type": "string", + "tags": [], + "label": "className", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutOpenOptions.closeButtonAriaLabel", + "type": "string", + "tags": [], + "label": "closeButtonAriaLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutOpenOptions.ownFocus", + "type": "CompoundType", + "tags": [], + "label": "ownFocus", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutOpenOptions.datatestsubj", + "type": "string", + "tags": [], + "label": "'data-test-subj'", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutOpenOptions.arialabel", + "type": "string", + "tags": [], + "label": "'aria-label'", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutOpenOptions.size", + "type": "CompoundType", + "tags": [], + "label": "size", + "description": [], + "signature": [ + "\"s\" | \"m\" | \"l\" | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutOpenOptions.maxWidth", + "type": "CompoundType", + "tags": [], + "label": "maxWidth", + "description": [], + "signature": [ + "string | number | boolean | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutOpenOptions.hideCloseButton", + "type": "CompoundType", + "tags": [], + "label": "hideCloseButton", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutOpenOptions.outsideClickCloses", + "type": "CompoundType", + "tags": [], + "label": "outsideClickCloses", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutOpenOptions.maskProps", + "type": "CompoundType", + "tags": [], + "label": "maskProps", + "description": [], + "signature": [ + "EuiOverlayMaskProps", + " | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutOpenOptions.onClose", + "type": "Function", + "tags": [], + "label": "onClose", + "description": [ + "\nEuiFlyout onClose handler.\nIf provided the consumer is responsible for calling flyout.close() to close the flyout;" + ], + "signature": [ + "((flyout: ", + "OverlayRef", + ") => void) | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutOpenOptions.onClose.$1", + "type": "Object", + "tags": [], + "label": "flyout", + "description": [], + "signature": [ + "OverlayRef" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutStart", + "type": "Interface", + "tags": [], + "label": "OverlayFlyoutStart", + "description": [ + "\nAPIs to open and manage fly-out dialogs.\n" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutStart.open", + "type": "Function", + "tags": [ + "return" + ], + "label": "open", + "description": [ + "\nOpens a flyout panel with the given mount point inside. You can use\n`close()` on the returned FlyoutRef to close the flyout.\n" + ], + "signature": [ + "(mount: ", + "MountPoint", + ", options?: ", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayFlyoutOpenOptions", + "text": "OverlayFlyoutOpenOptions" + }, + " | undefined) => ", + "OverlayRef" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutStart.open.$1", + "type": "Function", + "tags": [], + "label": "mount", + "description": [ + "{@link MountPoint } - Mounts the children inside a flyout panel" + ], + "signature": [ + "MountPoint", + "" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayFlyoutStart.open.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [ + "{@link OverlayFlyoutOpenOptions } - options for the flyout" + ], + "signature": [ + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayFlyoutOpenOptions", + "text": "OverlayFlyoutOpenOptions" + }, + " | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalConfirmOptions", + "type": "Interface", + "tags": [], + "label": "OverlayModalConfirmOptions", + "description": [], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalConfirmOptions.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalConfirmOptions.cancelButtonText", + "type": "string", + "tags": [], + "label": "cancelButtonText", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalConfirmOptions.confirmButtonText", + "type": "string", + "tags": [], + "label": "confirmButtonText", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalConfirmOptions.className", + "type": "string", + "tags": [], + "label": "className", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalConfirmOptions.closeButtonAriaLabel", + "type": "string", + "tags": [], + "label": "closeButtonAriaLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalConfirmOptions.datatestsubj", + "type": "string", + "tags": [], + "label": "'data-test-subj'", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalConfirmOptions.defaultFocusedButton", + "type": "CompoundType", + "tags": [], + "label": "defaultFocusedButton", + "description": [], + "signature": [ + "\"cancel\" | \"confirm\" | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalConfirmOptions.buttonColor", + "type": "CompoundType", + "tags": [], + "label": "buttonColor", + "description": [], + "signature": [ + "ButtonColor", + " | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalConfirmOptions.maxWidth", + "type": "CompoundType", + "tags": [], + "label": "maxWidth", + "description": [ + "\nSets the max-width of the modal.\nSet to `true` to use the default (`euiBreakpoints 'm'`),\nset to `false` to not restrict the width,\nset to a number for a custom width in px,\nset to a string for a custom width in custom measurement." + ], + "signature": [ + "string | number | boolean | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalOpenOptions", + "type": "Interface", + "tags": [], + "label": "OverlayModalOpenOptions", + "description": [], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalOpenOptions.className", + "type": "string", + "tags": [], + "label": "className", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalOpenOptions.closeButtonAriaLabel", + "type": "string", + "tags": [], + "label": "closeButtonAriaLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalOpenOptions.datatestsubj", + "type": "string", + "tags": [], + "label": "'data-test-subj'", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalOpenOptions.maxWidth", + "type": "CompoundType", + "tags": [], + "label": "maxWidth", + "description": [], + "signature": [ + "string | number | boolean | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalStart", + "type": "Interface", + "tags": [], + "label": "OverlayModalStart", + "description": [ + "\nAPIs to open and manage modal dialogs.\n" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalStart.open", + "type": "Function", + "tags": [ + "return" + ], + "label": "open", + "description": [ + "\nOpens a modal panel with the given mount point inside. You can use\n`close()` on the returned OverlayRef to close the modal.\n" + ], + "signature": [ + "(mount: ", + "MountPoint", + ", options?: ", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalOpenOptions", + "text": "OverlayModalOpenOptions" + }, + " | undefined) => ", + "OverlayRef" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalStart.open.$1", + "type": "Function", + "tags": [], + "label": "mount", + "description": [ + "{@link MountPoint } - Mounts the children inside the modal" + ], + "signature": [ + "MountPoint", + "" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalStart.open.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [ + "{@link OverlayModalOpenOptions } - options for the modal" + ], + "signature": [ + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalOpenOptions", + "text": "OverlayModalOpenOptions" + }, + " | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalStart.openConfirm", + "type": "Function", + "tags": [], + "label": "openConfirm", + "description": [ + "\nOpens a confirmation modal with the given text or mountpoint as a message.\nReturns a Promise resolving to `true` if user confirmed or `false` otherwise.\n" + ], + "signature": [ + "(message: string | ", + "MountPoint", + ", options?: ", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalConfirmOptions", + "text": "OverlayModalConfirmOptions" + }, + " | undefined) => Promise" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalStart.openConfirm.$1", + "type": "CompoundType", + "tags": [], + "label": "message", + "description": [ + "{@link MountPoint } - string or mountpoint to be used a the confirm message body" + ], + "signature": [ + "string | ", + "MountPoint", + "" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayModalStart.openConfirm.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [ + "{@link OverlayModalConfirmOptions } - options for the confirm modal" + ], + "signature": [ + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalConfirmOptions", + "text": "OverlayModalConfirmOptions" + }, + " | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayStart", + "type": "Interface", + "tags": [], + "label": "OverlayStart", + "description": [], + "path": "packages/core/overlays/core-overlays-browser/src/overlays.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayStart.banners", + "type": "Object", + "tags": [], + "label": "banners", + "description": [ + "{@link OverlayBannersStart}" + ], + "signature": [ + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayBannersStart", + "text": "OverlayBannersStart" + } + ], + "path": "packages/core/overlays/core-overlays-browser/src/overlays.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayStart.openFlyout", + "type": "Function", + "tags": [], + "label": "openFlyout", + "description": [ + "{@link OverlayFlyoutStart#open}" + ], + "signature": [ + "(mount: ", + "MountPoint", + ", options?: ", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayFlyoutOpenOptions", + "text": "OverlayFlyoutOpenOptions" + }, + " | undefined) => ", + "OverlayRef" + ], + "path": "packages/core/overlays/core-overlays-browser/src/overlays.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayStart.openFlyout.$1", + "type": "Function", + "tags": [], + "label": "mount", + "description": [], + "signature": [ + "(element: HTMLElement) => ", + "UnmountCallback" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayStart.openFlyout.$1.$1", + "type": "Uncategorized", + "tags": [], + "label": "element", + "description": [], + "signature": [ + "T" + ], + "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayStart.openFlyout.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayFlyoutOpenOptions", + "text": "OverlayFlyoutOpenOptions" + }, + " | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/flyout.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayStart.openModal", + "type": "Function", + "tags": [], + "label": "openModal", + "description": [ + "{@link OverlayModalStart#open}" + ], + "signature": [ + "(mount: ", + "MountPoint", + ", options?: ", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalOpenOptions", + "text": "OverlayModalOpenOptions" + }, + " | undefined) => ", + "OverlayRef" + ], + "path": "packages/core/overlays/core-overlays-browser/src/overlays.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayStart.openModal.$1", + "type": "Function", + "tags": [], + "label": "mount", + "description": [], + "signature": [ + "(element: HTMLElement) => ", + "UnmountCallback" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayStart.openModal.$1.$1", + "type": "Uncategorized", + "tags": [], + "label": "element", + "description": [], + "signature": [ + "T" + ], + "path": "node_modules/@types/kbn__core-mount-utils-browser/index.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayStart.openModal.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalOpenOptions", + "text": "OverlayModalOpenOptions" + }, + " | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayStart.openConfirm", + "type": "Function", + "tags": [], + "label": "openConfirm", + "description": [ + "{@link OverlayModalStart#openConfirm}" + ], + "signature": [ + "(message: string | ", + "MountPoint", + ", options?: ", + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalConfirmOptions", + "text": "OverlayModalConfirmOptions" + }, + " | undefined) => Promise" + ], + "path": "packages/core/overlays/core-overlays-browser/src/overlays.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayStart.openConfirm.$1", + "type": "CompoundType", + "tags": [], + "label": "message", + "description": [], + "signature": [ + "string | ", + "MountPoint", + "" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/core-overlays-browser", + "id": "def-common.OverlayStart.openConfirm.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-overlays-browser", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayModalConfirmOptions", + "text": "OverlayModalConfirmOptions" + }, + " | undefined" + ], + "path": "packages/core/overlays/core-overlays-browser/src/modal.ts", + "deprecated": false + } + ] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_core_overlays_browser.mdx b/api_docs/kbn_core_overlays_browser.mdx new file mode 100644 index 00000000000000..6ffe1eb11647f6 --- /dev/null +++ b/api_docs/kbn_core_overlays_browser.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnCoreOverlaysBrowserPluginApi +slug: /kibana-dev-docs/api/kbn-core-overlays-browser +title: "@kbn/core-overlays-browser" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/core-overlays-browser plugin +date: 2022-07-30 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnCoreOverlaysBrowserObj from './kbn_core_overlays_browser.devdocs.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 63 | 0 | 35 | 0 | + +## Common + +### Interfaces + + diff --git a/api_docs/kbn_core_overlays_browser_internal.devdocs.json b/api_docs/kbn_core_overlays_browser_internal.devdocs.json new file mode 100644 index 00000000000000..5884e5ae206601 --- /dev/null +++ b/api_docs/kbn_core_overlays_browser_internal.devdocs.json @@ -0,0 +1,51 @@ +{ + "id": "@kbn/core-overlays-browser-internal", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [ + { + "parentPluginId": "@kbn/core-overlays-browser-internal", + "id": "def-common.InternalOverlayBannersStart", + "type": "Interface", + "tags": [], + "label": "InternalOverlayBannersStart", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-overlays-browser-internal", + "scope": "common", + "docId": "kibKbnCoreOverlaysBrowserInternalPluginApi", + "section": "def-common.InternalOverlayBannersStart", + "text": "InternalOverlayBannersStart" + }, + " extends ", + "OverlayBannersStart" + ], + "path": "packages/core/overlays/core-overlays-browser-internal/src/banners/banners_service.tsx", + "deprecated": false, + "children": [], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_core_overlays_browser_internal.mdx b/api_docs/kbn_core_overlays_browser_internal.mdx new file mode 100644 index 00000000000000..15b662f861d441 --- /dev/null +++ b/api_docs/kbn_core_overlays_browser_internal.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnCoreOverlaysBrowserInternalPluginApi +slug: /kibana-dev-docs/api/kbn-core-overlays-browser-internal +title: "@kbn/core-overlays-browser-internal" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/core-overlays-browser-internal plugin +date: 2022-07-30 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-internal'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnCoreOverlaysBrowserInternalObj from './kbn_core_overlays_browser_internal.devdocs.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 1 | 0 | 1 | 0 | + +## Common + +### Interfaces + + diff --git a/api_docs/kbn_core_overlays_browser_mocks.devdocs.json b/api_docs/kbn_core_overlays_browser_mocks.devdocs.json new file mode 100644 index 00000000000000..5df38d8af9cb9a --- /dev/null +++ b/api_docs/kbn_core_overlays_browser_mocks.devdocs.json @@ -0,0 +1,79 @@ +{ + "id": "@kbn/core-overlays-browser-mocks", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [ + { + "parentPluginId": "@kbn/core-overlays-browser-mocks", + "id": "def-server.overlayServiceMock", + "type": "Object", + "tags": [], + "label": "overlayServiceMock", + "description": [], + "path": "packages/core/overlays/core-overlays-browser-mocks/src/overlay_service.mock.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/core-overlays-browser-mocks", + "id": "def-server.overlayServiceMock.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [], + "signature": [ + "() => jest.Mocked<", + "PublicMethodsOf", + "<", + "OverlayService", + ">>" + ], + "path": "packages/core/overlays/core-overlays-browser-mocks/src/overlay_service.mock.ts", + "deprecated": false, + "returnComment": [], + "children": [] + }, + { + "parentPluginId": "@kbn/core-overlays-browser-mocks", + "id": "def-server.overlayServiceMock.createStartContract", + "type": "Function", + "tags": [], + "label": "createStartContract", + "description": [], + "signature": [ + "() => ", + "DeeplyMockedKeys", + "<", + "OverlayStart", + ">" + ], + "path": "packages/core/overlays/core-overlays-browser-mocks/src/overlay_service.mock.ts", + "deprecated": false, + "returnComment": [], + "children": [] + } + ], + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_core_overlays_browser_mocks.mdx b/api_docs/kbn_core_overlays_browser_mocks.mdx new file mode 100644 index 00000000000000..f62f171e63b7d9 --- /dev/null +++ b/api_docs/kbn_core_overlays_browser_mocks.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnCoreOverlaysBrowserMocksPluginApi +slug: /kibana-dev-docs/api/kbn-core-overlays-browser-mocks +title: "@kbn/core-overlays-browser-mocks" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/core-overlays-browser-mocks plugin +date: 2022-07-30 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-mocks'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnCoreOverlaysBrowserMocksObj from './kbn_core_overlays_browser_mocks.devdocs.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 3 | 0 | 3 | 0 | + +## Server + +### Objects + + diff --git a/api_docs/kbn_core_preboot_server.mdx b/api_docs/kbn_core_preboot_server.mdx index 410ada248470dd..4b34777fe8cdee 100644 --- a/api_docs/kbn_core_preboot_server.mdx +++ b/api_docs/kbn_core_preboot_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server title: "@kbn/core-preboot-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-preboot-server plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_preboot_server_mocks.mdx b/api_docs/kbn_core_preboot_server_mocks.mdx index d83cb44a830ebf..9269349bb13462 100644 --- a/api_docs/kbn_core_preboot_server_mocks.mdx +++ b/api_docs/kbn_core_preboot_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server-mocks title: "@kbn/core-preboot-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-preboot-server-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_saved_objects_api_browser.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index 1c6989a97a5fa2..a48d57e195c27b 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.mdx +++ b/api_docs/kbn_core_saved_objects_api_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-browser title: "@kbn/core-saved-objects-api-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-saved-objects-api-browser plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_saved_objects_api_server.mdx b/api_docs/kbn_core_saved_objects_api_server.mdx index f87ed8f84d0a04..85bcd1f90cc737 100644 --- a/api_docs/kbn_core_saved_objects_api_server.mdx +++ b/api_docs/kbn_core_saved_objects_api_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server title: "@kbn/core-saved-objects-api-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-saved-objects-api-server plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index 5780b6309b8b31..88506b2e497855 100644 --- a/api_docs/kbn_core_saved_objects_common.mdx +++ b/api_docs/kbn_core_saved_objects_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-common title: "@kbn/core-saved-objects-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-saved-objects-common plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index a69793d3f844e9..be7c84842d3746 100644 --- a/api_docs/kbn_core_saved_objects_server.mdx +++ b/api_docs/kbn_core_saved_objects_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server title: "@kbn/core-saved-objects-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-saved-objects-server plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx index 3ecf269c7f8d1a..bfddb4d84867c1 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-http-setup-browser title: "@kbn/core-test-helpers-http-setup-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-test-helpers-http-setup-browser plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-http-setup-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_theme_browser.mdx b/api_docs/kbn_core_theme_browser.mdx index ef9449a928e6f8..9c7b2a2b71ba94 100644 --- a/api_docs/kbn_core_theme_browser.mdx +++ b/api_docs/kbn_core_theme_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser title: "@kbn/core-theme-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-theme-browser plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_theme_browser_internal.mdx b/api_docs/kbn_core_theme_browser_internal.mdx index 4d7dceef30489e..90dce8227c6a48 100644 --- a/api_docs/kbn_core_theme_browser_internal.mdx +++ b/api_docs/kbn_core_theme_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-internal title: "@kbn/core-theme-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-theme-browser-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_theme_browser_mocks.mdx b/api_docs/kbn_core_theme_browser_mocks.mdx index 8f15f759887845..81c9c1552e86a1 100644 --- a/api_docs/kbn_core_theme_browser_mocks.mdx +++ b/api_docs/kbn_core_theme_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-mocks title: "@kbn/core-theme-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-theme-browser-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_ui_settings_browser.mdx b/api_docs/kbn_core_ui_settings_browser.mdx index 465a6728920a08..1aa24e727fe4d7 100644 --- a/api_docs/kbn_core_ui_settings_browser.mdx +++ b/api_docs/kbn_core_ui_settings_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser title: "@kbn/core-ui-settings-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-ui-settings-browser plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_ui_settings_browser_internal.mdx b/api_docs/kbn_core_ui_settings_browser_internal.mdx index 9c1f5c4a11ce1b..745380b26192e8 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.mdx +++ b/api_docs/kbn_core_ui_settings_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-internal title: "@kbn/core-ui-settings-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-ui-settings-browser-internal plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_ui_settings_browser_mocks.mdx b/api_docs/kbn_core_ui_settings_browser_mocks.mdx index c8956e366c3759..661236840e3926 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-mocks title: "@kbn/core-ui-settings-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-ui-settings-browser-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_ui_settings_common.mdx b/api_docs/kbn_core_ui_settings_common.mdx index 8e45fcc939055b..3555cc48f6a1da 100644 --- a/api_docs/kbn_core_ui_settings_common.mdx +++ b/api_docs/kbn_core_ui_settings_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-common title: "@kbn/core-ui-settings-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-ui-settings-common plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_crypto.mdx b/api_docs/kbn_crypto.mdx index bea91fa4330177..b9a13c7e631c83 100644 --- a/api_docs/kbn_crypto.mdx +++ b/api_docs/kbn_crypto.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-crypto title: "@kbn/crypto" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/crypto plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_crypto_browser.mdx b/api_docs/kbn_crypto_browser.mdx index c04208cac34367..2b12f434bdd6cb 100644 --- a/api_docs/kbn_crypto_browser.mdx +++ b/api_docs/kbn_crypto_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-crypto-browser title: "@kbn/crypto-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/crypto-browser plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_datemath.mdx b/api_docs/kbn_datemath.mdx index 7dfe9f295ebab1..79388148ea6ca1 100644 --- a/api_docs/kbn_datemath.mdx +++ b/api_docs/kbn_datemath.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-datemath title: "@kbn/datemath" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/datemath plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/datemath'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_dev_cli_errors.mdx b/api_docs/kbn_dev_cli_errors.mdx index 7b3b3d876f0d8a..d9d57ee926b074 100644 --- a/api_docs/kbn_dev_cli_errors.mdx +++ b/api_docs/kbn_dev_cli_errors.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-errors title: "@kbn/dev-cli-errors" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/dev-cli-errors plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-errors'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_dev_cli_runner.mdx b/api_docs/kbn_dev_cli_runner.mdx index e3aa9edd24b897..6fbf3ad066a215 100644 --- a/api_docs/kbn_dev_cli_runner.mdx +++ b/api_docs/kbn_dev_cli_runner.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-runner title: "@kbn/dev-cli-runner" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/dev-cli-runner plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-runner'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_dev_proc_runner.mdx b/api_docs/kbn_dev_proc_runner.mdx index 03bcbaaa64d2dd..a383890b0e4fd9 100644 --- a/api_docs/kbn_dev_proc_runner.mdx +++ b/api_docs/kbn_dev_proc_runner.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-dev-proc-runner title: "@kbn/dev-proc-runner" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/dev-proc-runner plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-proc-runner'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_dev_utils.mdx b/api_docs/kbn_dev_utils.mdx index 14ea070dd8c1c6..5f8d316d6a7a22 100644 --- a/api_docs/kbn_dev_utils.mdx +++ b/api_docs/kbn_dev_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-dev-utils title: "@kbn/dev-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/dev-utils plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_doc_links.devdocs.json b/api_docs/kbn_doc_links.devdocs.json index afd03d52bba52b..70e50d292360a7 100644 --- a/api_docs/kbn_doc_links.devdocs.json +++ b/api_docs/kbn_doc_links.devdocs.json @@ -666,7 +666,7 @@ "label": "reporting", "description": [], "signature": [ - "{ readonly cloudMinimumRequirements: string; }" + "{ readonly cloudMinimumRequirements: string; readonly browserSystemDependencies: string; readonly browserSandboxDependencies: string; }" ], "path": "packages/kbn-doc-links/src/types.ts", "deprecated": false diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index af9ccf32fdfba2..0f165768e8a4cf 100644 --- a/api_docs/kbn_doc_links.mdx +++ b/api_docs/kbn_doc_links.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-doc-links title: "@kbn/doc-links" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/doc-links plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/doc-links'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_docs_utils.mdx b/api_docs/kbn_docs_utils.mdx index d24e5da4ddc662..42e95ee18d4597 100644 --- a/api_docs/kbn_docs_utils.mdx +++ b/api_docs/kbn_docs_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-docs-utils title: "@kbn/docs-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/docs-utils plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_es_archiver.mdx b/api_docs/kbn_es_archiver.mdx index 67705c3840e584..b7680b2cdca09b 100644 --- a/api_docs/kbn_es_archiver.mdx +++ b/api_docs/kbn_es_archiver.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-es-archiver title: "@kbn/es-archiver" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/es-archiver plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-archiver'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_es_errors.mdx b/api_docs/kbn_es_errors.mdx index b6e92e997825f0..c79f1f4f243965 100644 --- a/api_docs/kbn_es_errors.mdx +++ b/api_docs/kbn_es_errors.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-es-errors title: "@kbn/es-errors" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/es-errors plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-errors'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx index 515db93a3f0550..d845a646d8a815 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-es-query title: "@kbn/es-query" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/es-query plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-query'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_eslint_plugin_imports.mdx b/api_docs/kbn_eslint_plugin_imports.mdx index 90c09d7ffa6a17..a82c2d1a52e86f 100644 --- a/api_docs/kbn_eslint_plugin_imports.mdx +++ b/api_docs/kbn_eslint_plugin_imports.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-eslint-plugin-imports title: "@kbn/eslint-plugin-imports" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/eslint-plugin-imports plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/eslint-plugin-imports'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx index 39998a3d05f110..91ca28f48063a3 100644 --- a/api_docs/kbn_field_types.mdx +++ b/api_docs/kbn_field_types.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-field-types title: "@kbn/field-types" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/field-types plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_find_used_node_modules.mdx b/api_docs/kbn_find_used_node_modules.mdx index 7b999ff9b5b78d..2745f61d26714e 100644 --- a/api_docs/kbn_find_used_node_modules.mdx +++ b/api_docs/kbn_find_used_node_modules.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-find-used-node-modules title: "@kbn/find-used-node-modules" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/find-used-node-modules plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/find-used-node-modules'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_generate.mdx b/api_docs/kbn_generate.mdx index e1094db82f2163..1ee4af7e3508a2 100644 --- a/api_docs/kbn_generate.mdx +++ b/api_docs/kbn_generate.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-generate title: "@kbn/generate" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/generate plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_get_repo_files.mdx b/api_docs/kbn_get_repo_files.mdx index 6c3e61ed617a89..2bdc938bace3d5 100644 --- a/api_docs/kbn_get_repo_files.mdx +++ b/api_docs/kbn_get_repo_files.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-get-repo-files title: "@kbn/get-repo-files" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/get-repo-files plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/get-repo-files'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_handlebars.mdx b/api_docs/kbn_handlebars.mdx index e5a82c3d26b07b..c9b68fadbc7bb7 100644 --- a/api_docs/kbn_handlebars.mdx +++ b/api_docs/kbn_handlebars.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-handlebars title: "@kbn/handlebars" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/handlebars plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/handlebars'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_hapi_mocks.mdx b/api_docs/kbn_hapi_mocks.mdx index 256d003bd9063a..c02a0e2eda5f5d 100644 --- a/api_docs/kbn_hapi_mocks.mdx +++ b/api_docs/kbn_hapi_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-hapi-mocks title: "@kbn/hapi-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/hapi-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/hapi-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_home_sample_data_card.mdx b/api_docs/kbn_home_sample_data_card.mdx index 74c7672af97d94..a092ca9323ca0d 100644 --- a/api_docs/kbn_home_sample_data_card.mdx +++ b/api_docs/kbn_home_sample_data_card.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-card title: "@kbn/home-sample-data-card" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/home-sample-data-card plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-card'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_home_sample_data_tab.mdx b/api_docs/kbn_home_sample_data_tab.mdx index 28e59b7fb97a8b..5220000a11595a 100644 --- a/api_docs/kbn_home_sample_data_tab.mdx +++ b/api_docs/kbn_home_sample_data_tab.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-tab title: "@kbn/home-sample-data-tab" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/home-sample-data-tab plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-tab'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_i18n.mdx b/api_docs/kbn_i18n.mdx index 422e0387567505..849fc616021b18 100644 --- a/api_docs/kbn_i18n.mdx +++ b/api_docs/kbn_i18n.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-i18n title: "@kbn/i18n" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/i18n plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_import_resolver.mdx b/api_docs/kbn_import_resolver.mdx index daf3f0c55e58d8..b98c8c1eeb940b 100644 --- a/api_docs/kbn_import_resolver.mdx +++ b/api_docs/kbn_import_resolver.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-import-resolver title: "@kbn/import-resolver" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/import-resolver plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_interpreter.mdx b/api_docs/kbn_interpreter.mdx index da99a6ca0f4d10..b48687d5d255fa 100644 --- a/api_docs/kbn_interpreter.mdx +++ b/api_docs/kbn_interpreter.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-interpreter title: "@kbn/interpreter" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/interpreter plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/interpreter'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx index 3049b82a3bde42..8596dca1868598 100644 --- a/api_docs/kbn_io_ts_utils.mdx +++ b/api_docs/kbn_io_ts_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-io-ts-utils title: "@kbn/io-ts-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/io-ts-utils plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/io-ts-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_jest_serializers.mdx b/api_docs/kbn_jest_serializers.mdx index 40626701404aef..7be4a72e3c1355 100644 --- a/api_docs/kbn_jest_serializers.mdx +++ b/api_docs/kbn_jest_serializers.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-jest-serializers title: "@kbn/jest-serializers" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/jest-serializers plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/jest-serializers'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_kibana_json_schema.mdx b/api_docs/kbn_kibana_json_schema.mdx index f67f6c279a9d05..1a493ceabcc0cd 100644 --- a/api_docs/kbn_kibana_json_schema.mdx +++ b/api_docs/kbn_kibana_json_schema.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-kibana-json-schema title: "@kbn/kibana-json-schema" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/kibana-json-schema plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/kibana-json-schema'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx index 2f65bd2e1dfa5f..aed6fa33486d0d 100644 --- a/api_docs/kbn_logging.mdx +++ b/api_docs/kbn_logging.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-logging title: "@kbn/logging" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/logging plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_logging_mocks.mdx b/api_docs/kbn_logging_mocks.mdx index 45258a8c02bfa6..5b3c49d496cb18 100644 --- a/api_docs/kbn_logging_mocks.mdx +++ b/api_docs/kbn_logging_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-logging-mocks title: "@kbn/logging-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/logging-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index 555bfb74c2435f..ca019dc604b59c 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-mapbox-gl title: "@kbn/mapbox-gl" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/mapbox-gl plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ml_agg_utils.mdx b/api_docs/kbn_ml_agg_utils.mdx index 7cb268d2f65f54..c4493805a3e633 100644 --- a/api_docs/kbn_ml_agg_utils.mdx +++ b/api_docs/kbn_ml_agg_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ml-agg-utils title: "@kbn/ml-agg-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ml-agg-utils plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-agg-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index d4544e1bfdc7e7..f260e75f98a35d 100644 --- a/api_docs/kbn_ml_is_populated_object.mdx +++ b/api_docs/kbn_ml_is_populated_object.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-populated-object title: "@kbn/ml-is-populated-object" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ml-is-populated-object plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-populated-object'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ml_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index 185b1447c99736..223197a99e289e 100644 --- a/api_docs/kbn_ml_string_hash.mdx +++ b/api_docs/kbn_ml_string_hash.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ml-string-hash title: "@kbn/ml-string-hash" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ml-string-hash plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-string-hash'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index 4abeeb0ce38e19..d42937413c0cc3 100644 --- a/api_docs/kbn_monaco.mdx +++ b/api_docs/kbn_monaco.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-monaco title: "@kbn/monaco" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/monaco plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index b1886c95de8eaa..3744284890f8f7 100644 --- a/api_docs/kbn_optimizer.mdx +++ b/api_docs/kbn_optimizer.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer title: "@kbn/optimizer" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/optimizer plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_optimizer_webpack_helpers.mdx b/api_docs/kbn_optimizer_webpack_helpers.mdx index 4acf083edec6ce..bf5e7bd2680551 100644 --- a/api_docs/kbn_optimizer_webpack_helpers.mdx +++ b/api_docs/kbn_optimizer_webpack_helpers.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer-webpack-helpers title: "@kbn/optimizer-webpack-helpers" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/optimizer-webpack-helpers plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer-webpack-helpers'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_performance_testing_dataset_extractor.mdx b/api_docs/kbn_performance_testing_dataset_extractor.mdx index ae6768c21377c3..4feb529b7a9610 100644 --- a/api_docs/kbn_performance_testing_dataset_extractor.mdx +++ b/api_docs/kbn_performance_testing_dataset_extractor.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-performance-testing-dataset-extractor title: "@kbn/performance-testing-dataset-extractor" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/performance-testing-dataset-extractor plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/performance-testing-dataset-extractor'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_plugin_generator.mdx b/api_docs/kbn_plugin_generator.mdx index 784dce4c2e15ea..2d278c04112d8c 100644 --- a/api_docs/kbn_plugin_generator.mdx +++ b/api_docs/kbn_plugin_generator.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-generator title: "@kbn/plugin-generator" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/plugin-generator plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-generator'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_plugin_helpers.mdx b/api_docs/kbn_plugin_helpers.mdx index 1d748c26dcbeeb..9a65dd1200f58f 100644 --- a/api_docs/kbn_plugin_helpers.mdx +++ b/api_docs/kbn_plugin_helpers.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-helpers title: "@kbn/plugin-helpers" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/plugin-helpers plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_react_field.mdx b/api_docs/kbn_react_field.mdx index cf842821313f2b..17b1866a517b17 100644 --- a/api_docs/kbn_react_field.mdx +++ b/api_docs/kbn_react_field.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-react-field title: "@kbn/react-field" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/react-field plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_repo_source_classifier.mdx b/api_docs/kbn_repo_source_classifier.mdx index c15c816de5e6ee..8bdc2d251635de 100644 --- a/api_docs/kbn_repo_source_classifier.mdx +++ b/api_docs/kbn_repo_source_classifier.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-repo-source-classifier title: "@kbn/repo-source-classifier" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/repo-source-classifier plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-source-classifier'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx index 8c6c15c0c3ca04..405f41208a833a 100644 --- a/api_docs/kbn_rule_data_utils.mdx +++ b/api_docs/kbn_rule_data_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-rule-data-utils title: "@kbn/rule-data-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/rule-data-utils plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_scalability_simulation_generator.mdx b/api_docs/kbn_scalability_simulation_generator.mdx index 5577ad641cb414..886ac7dc68c24b 100644 --- a/api_docs/kbn_scalability_simulation_generator.mdx +++ b/api_docs/kbn_scalability_simulation_generator.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-scalability-simulation-generator title: "@kbn/scalability-simulation-generator" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/scalability-simulation-generator plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/scalability-simulation-generator'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx index b817c7149a2f13..d39e361ed8c1c8 100644 --- a/api_docs/kbn_securitysolution_autocomplete.mdx +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete title: "@kbn/securitysolution-autocomplete" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-autocomplete plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx index 63849e24e3ee66..30a97d4c110565 100644 --- a/api_docs/kbn_securitysolution_es_utils.mdx +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils title: "@kbn/securitysolution-es-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-es-utils plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-es-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx index c22c6a1a09000e..ead3884aafb9a3 100644 --- a/api_docs/kbn_securitysolution_hook_utils.mdx +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils title: "@kbn/securitysolution-hook-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-hook-utils plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-hook-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx index 8724d33fba7197..ce5bffe8222dd9 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-alerting-types title: "@kbn/securitysolution-io-ts-alerting-types" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-alerting-types'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.mdx b/api_docs/kbn_securitysolution_io_ts_list_types.mdx index d21419c75d3655..d3b55a6c2593e4 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-list-types title: "@kbn/securitysolution-io-ts-list-types" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-io-ts-list-types plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-list-types'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_io_ts_types.mdx b/api_docs/kbn_securitysolution_io_ts_types.mdx index 35ae326eb636e7..7de3f70c56ce72 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types title: "@kbn/securitysolution-io-ts-types" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-io-ts-types plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-types'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_io_ts_utils.mdx b/api_docs/kbn_securitysolution_io_ts_utils.mdx index 39d1e7a752a9e7..7ec88a836c3781 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils title: "@kbn/securitysolution-io-ts-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-io-ts-utils plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_list_api.mdx b/api_docs/kbn_securitysolution_list_api.mdx index d229da719dd721..0bf4453bcab8c5 100644 --- a/api_docs/kbn_securitysolution_list_api.mdx +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-api title: "@kbn/securitysolution-list-api" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-list-api plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-api'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_list_constants.mdx b/api_docs/kbn_securitysolution_list_constants.mdx index 6f0abeaf446cb2..35aa709bd9ad5d 100644 --- a/api_docs/kbn_securitysolution_list_constants.mdx +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants title: "@kbn/securitysolution-list-constants" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-list-constants plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-constants'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_list_hooks.mdx b/api_docs/kbn_securitysolution_list_hooks.mdx index 7f0fd85b7e70f4..26618bd0372836 100644 --- a/api_docs/kbn_securitysolution_list_hooks.mdx +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks title: "@kbn/securitysolution-list-hooks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-list-hooks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-hooks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_list_utils.mdx b/api_docs/kbn_securitysolution_list_utils.mdx index bc9a4ea25079f1..a7e5d35cf04e91 100644 --- a/api_docs/kbn_securitysolution_list_utils.mdx +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils title: "@kbn/securitysolution-list-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-list-utils plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_rules.mdx b/api_docs/kbn_securitysolution_rules.mdx index 1aa28f56a5ccaf..c9ff11033dbbac 100644 --- a/api_docs/kbn_securitysolution_rules.mdx +++ b/api_docs/kbn_securitysolution_rules.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-rules title: "@kbn/securitysolution-rules" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-rules plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-rules'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_t_grid.mdx b/api_docs/kbn_securitysolution_t_grid.mdx index eba07dd296fe63..4e23f3704697cc 100644 --- a/api_docs/kbn_securitysolution_t_grid.mdx +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid title: "@kbn/securitysolution-t-grid" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-t-grid plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-t-grid'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_utils.mdx b/api_docs/kbn_securitysolution_utils.mdx index ea555fcf1301be..f807d6d9abeb18 100644 --- a/api_docs/kbn_securitysolution_utils.mdx +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-utils title: "@kbn/securitysolution-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-utils plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_server_http_tools.mdx b/api_docs/kbn_server_http_tools.mdx index 4e49eeabf96538..20d270799b076a 100644 --- a/api_docs/kbn_server_http_tools.mdx +++ b/api_docs/kbn_server_http_tools.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-server-http-tools title: "@kbn/server-http-tools" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/server-http-tools plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-http-tools'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_server_route_repository.mdx b/api_docs/kbn_server_route_repository.mdx index 44d68559f51638..2c1f4d179679b9 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository title: "@kbn/server-route-repository" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/server-route-repository plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx index 6e39aaee063e2a..67f01aca2c8433 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen-mocks title: "@kbn/shared-ux-button-exit-full-screen-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-button-exit-full-screen-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_button_toolbar.mdx b/api_docs/kbn_shared_ux_button_toolbar.mdx index 6354180d3cf83a..c2f2477eaccf68 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.mdx +++ b/api_docs/kbn_shared_ux_button_toolbar.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-toolbar title: "@kbn/shared-ux-button-toolbar" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-button-toolbar plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-toolbar'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_card_no_data.mdx b/api_docs/kbn_shared_ux_card_no_data.mdx index caf8c1217136c4..da47e589abc17d 100644 --- a/api_docs/kbn_shared_ux_card_no_data.mdx +++ b/api_docs/kbn_shared_ux_card_no_data.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data title: "@kbn/shared-ux-card-no-data" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-card-no-data plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx index db079b76712e28..8306cebe3c7ef0 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data-mocks title: "@kbn/shared-ux-card-no-data-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-card-no-data-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_components.mdx b/api_docs/kbn_shared_ux_components.mdx index 71d746a3522f06..e098085e00aa7b 100644 --- a/api_docs/kbn_shared_ux_components.mdx +++ b/api_docs/kbn_shared_ux_components.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-components title: "@kbn/shared-ux-components" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-components plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-components'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx index dc28b3b6771095..b6bc39b77f5d4e 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app-mocks title: "@kbn/shared-ux-link-redirect-app-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-link-redirect-app-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx index 198f2f80735448..de64d6f3dee15a 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data title: "@kbn/shared-ux-page-analytics-no-data" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-page-analytics-no-data plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx index caaf4a324b6171..8be971d04f7836 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data-mocks title: "@kbn/shared-ux-page-analytics-no-data-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-page-analytics-no-data-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx index 6bde69ccac40c7..26287b3ea499b3 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data title: "@kbn/shared-ux-page-kibana-no-data" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-page-kibana-no-data plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx index eead7c773ad8b6..2fec48fb69221a 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data-mocks title: "@kbn/shared-ux-page-kibana-no-data-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-page-kibana-no-data-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_page_solution_nav.mdx b/api_docs/kbn_shared_ux_page_solution_nav.mdx index 170f930d9f66c2..30fb99dd4d64d8 100644 --- a/api_docs/kbn_shared_ux_page_solution_nav.mdx +++ b/api_docs/kbn_shared_ux_page_solution_nav.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-solution-nav title: "@kbn/shared-ux-page-solution-nav" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-page-solution-nav plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-solution-nav'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx index 33bdc86c3369b6..db3de8365005f8 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views title: "@kbn/shared-ux-prompt-no-data-views" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-prompt-no-data-views plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx index 1031ce8114d456..8039d8d0583f7f 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views-mocks title: "@kbn/shared-ux-prompt-no-data-views-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-prompt-no-data-views-mocks plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_services.mdx b/api_docs/kbn_shared_ux_services.mdx index ba3f2032fe443f..a13e7dc614f3e5 100644 --- a/api_docs/kbn_shared_ux_services.mdx +++ b/api_docs/kbn_shared_ux_services.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-services title: "@kbn/shared-ux-services" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-services plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-services'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_storybook.mdx b/api_docs/kbn_shared_ux_storybook.mdx index 165518993f48a6..1844546f9868bc 100644 --- a/api_docs/kbn_shared_ux_storybook.mdx +++ b/api_docs/kbn_shared_ux_storybook.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook title: "@kbn/shared-ux-storybook" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-storybook plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_storybook_mock.mdx b/api_docs/kbn_shared_ux_storybook_mock.mdx index 8d05bfa2b02b29..3e48bf3cfda7d4 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.mdx +++ b/api_docs/kbn_shared_ux_storybook_mock.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-mock title: "@kbn/shared-ux-storybook-mock" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-storybook-mock plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-mock'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_utility.mdx b/api_docs/kbn_shared_ux_utility.mdx index 6ac8ad3a5c50ab..647d68da04c539 100644 --- a/api_docs/kbn_shared_ux_utility.mdx +++ b/api_docs/kbn_shared_ux_utility.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-utility title: "@kbn/shared-ux-utility" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-utility plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-utility'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_some_dev_log.mdx b/api_docs/kbn_some_dev_log.mdx index 30cd9c643fafab..c775062108359c 100644 --- a/api_docs/kbn_some_dev_log.mdx +++ b/api_docs/kbn_some_dev_log.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-some-dev-log title: "@kbn/some-dev-log" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/some-dev-log plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/some-dev-log'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_sort_package_json.mdx b/api_docs/kbn_sort_package_json.mdx index 3d1850288f12ca..c1fda72f450d88 100644 --- a/api_docs/kbn_sort_package_json.mdx +++ b/api_docs/kbn_sort_package_json.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-sort-package-json title: "@kbn/sort-package-json" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/sort-package-json plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sort-package-json'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx index abc14eb3c716fb..8d2d227d3ba9aa 100644 --- a/api_docs/kbn_std.mdx +++ b/api_docs/kbn_std.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-std title: "@kbn/std" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/std plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/std'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_stdio_dev_helpers.mdx b/api_docs/kbn_stdio_dev_helpers.mdx index d6062f94f4c703..01ba369bac86cc 100644 --- a/api_docs/kbn_stdio_dev_helpers.mdx +++ b/api_docs/kbn_stdio_dev_helpers.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-stdio-dev-helpers title: "@kbn/stdio-dev-helpers" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/stdio-dev-helpers plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/stdio-dev-helpers'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx index f7f0411039e3cf..9d12dfaa388b37 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-storybook title: "@kbn/storybook" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/storybook plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_telemetry_tools.mdx b/api_docs/kbn_telemetry_tools.mdx index cba1d4bcf98bf0..9ecb1446a64183 100644 --- a/api_docs/kbn_telemetry_tools.mdx +++ b/api_docs/kbn_telemetry_tools.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-telemetry-tools title: "@kbn/telemetry-tools" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/telemetry-tools plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx index 6bab0bf8e7fc36..ce6d20c26ca359 100644 --- a/api_docs/kbn_test.mdx +++ b/api_docs/kbn_test.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-test title: "@kbn/test" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/test plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_test_jest_helpers.mdx b/api_docs/kbn_test_jest_helpers.mdx index d751c9b2c1399d..14ec6e3f5cfaeb 100644 --- a/api_docs/kbn_test_jest_helpers.mdx +++ b/api_docs/kbn_test_jest_helpers.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-test-jest-helpers title: "@kbn/test-jest-helpers" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/test-jest-helpers plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-jest-helpers'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_tooling_log.mdx b/api_docs/kbn_tooling_log.mdx index ee079f6a2db0ed..f7aeabdc4dc26e 100644 --- a/api_docs/kbn_tooling_log.mdx +++ b/api_docs/kbn_tooling_log.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-tooling-log title: "@kbn/tooling-log" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/tooling-log plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_type_summarizer.mdx b/api_docs/kbn_type_summarizer.mdx index bc9c0ac5c62d12..22e342669e89ce 100644 --- a/api_docs/kbn_type_summarizer.mdx +++ b/api_docs/kbn_type_summarizer.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer title: "@kbn/type-summarizer" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/type-summarizer plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_type_summarizer_core.mdx b/api_docs/kbn_type_summarizer_core.mdx index 5ab89e3d84ffa4..c3ff3c79cd9345 100644 --- a/api_docs/kbn_type_summarizer_core.mdx +++ b/api_docs/kbn_type_summarizer_core.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer-core title: "@kbn/type-summarizer-core" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/type-summarizer-core plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer-core'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_typed_react_router_config.mdx b/api_docs/kbn_typed_react_router_config.mdx index 1a8b5639efbeaf..a5311ec53ba86a 100644 --- a/api_docs/kbn_typed_react_router_config.mdx +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-typed-react-router-config title: "@kbn/typed-react-router-config" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/typed-react-router-config plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/typed-react-router-config'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ui_theme.mdx b/api_docs/kbn_ui_theme.mdx index 1f1c67237b75b9..a4211ebd002c6c 100644 --- a/api_docs/kbn_ui_theme.mdx +++ b/api_docs/kbn_ui_theme.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ui-theme title: "@kbn/ui-theme" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ui-theme plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_utility_types.mdx b/api_docs/kbn_utility_types.mdx index f12dd6ac13378b..b7f57e3b2a3dc7 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types title: "@kbn/utility-types" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/utility-types plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_utility_types_jest.mdx b/api_docs/kbn_utility_types_jest.mdx index d6ac3c085bd347..1534c7d46b08bc 100644 --- a/api_docs/kbn_utility_types_jest.mdx +++ b/api_docs/kbn_utility_types_jest.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types-jest title: "@kbn/utility-types-jest" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/utility-types-jest plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types-jest'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_utils.mdx b/api_docs/kbn_utils.mdx index dfd02adcaf545b..9174ac4959b58f 100644 --- a/api_docs/kbn_utils.mdx +++ b/api_docs/kbn_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-utils title: "@kbn/utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/utils plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_yarn_lock_validator.mdx b/api_docs/kbn_yarn_lock_validator.mdx index f442da306b5bad..4e0c5d3698d602 100644 --- a/api_docs/kbn_yarn_lock_validator.mdx +++ b/api_docs/kbn_yarn_lock_validator.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-yarn-lock-validator title: "@kbn/yarn-lock-validator" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/yarn-lock-validator plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/yarn-lock-validator'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index c7a9451b439801..8761dac3b64ede 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kibanaOverview title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github summary: API docs for the kibanaOverview plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kibana_react.devdocs.json b/api_docs/kibana_react.devdocs.json index 81ed6c5b9a735c..b898545971f4ae 100644 --- a/api_docs/kibana_react.devdocs.json +++ b/api_docs/kibana_react.devdocs.json @@ -2162,13 +2162,7 @@ "text": "ToMountPointOptions" }, ") => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", "" ], "path": "src/plugins/kibana_react/public/util/to_mount_point.tsx", @@ -2979,21 +2973,9 @@ "description": [], "signature": [ "(node: React.ReactNode, options?: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayFlyoutOpenOptions", - "text": "OverlayFlyoutOpenOptions" - }, + "OverlayFlyoutOpenOptions", " | undefined) => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayRef", - "text": "OverlayRef" - } + "OverlayRef" ], "path": "src/plugins/kibana_react/public/overlays/types.ts", "deprecated": false, @@ -3020,13 +3002,7 @@ "label": "options", "description": [], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayFlyoutOpenOptions", - "text": "OverlayFlyoutOpenOptions" - }, + "OverlayFlyoutOpenOptions", " | undefined" ], "path": "src/plugins/kibana_react/public/overlays/types.ts", @@ -3045,21 +3021,9 @@ "description": [], "signature": [ "(node: React.ReactNode, options?: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayModalOpenOptions", - "text": "OverlayModalOpenOptions" - }, + "OverlayModalOpenOptions", " | undefined) => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayRef", - "text": "OverlayRef" - } + "OverlayRef" ], "path": "src/plugins/kibana_react/public/overlays/types.ts", "deprecated": false, @@ -3086,13 +3050,7 @@ "label": "options", "description": [], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayModalOpenOptions", - "text": "OverlayModalOpenOptions" - }, + "OverlayModalOpenOptions", " | undefined" ], "path": "src/plugins/kibana_react/public/overlays/types.ts", @@ -4321,13 +4279,7 @@ "text": "NotificationsStart" }, " | undefined; overlays?: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayStart", - "text": "OverlayStart" - }, + "OverlayStart", " | undefined; uiSettings?: ", "IUiSettingsClient", " | undefined; fatalErrors?: ", diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index 8bef0d0193e41c..83600808e62e4b 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kibanaReact title: "kibanaReact" image: https://source.unsplash.com/400x175/?github summary: API docs for the kibanaReact plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaReact'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kibana_utils.mdx b/api_docs/kibana_utils.mdx index 5b39123bf64f1e..9f3e9f45344a3d 100644 --- a/api_docs/kibana_utils.mdx +++ b/api_docs/kibana_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kibanaUtils title: "kibanaUtils" image: https://source.unsplash.com/400x175/?github summary: API docs for the kibanaUtils plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaUtils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kubernetes_security.mdx b/api_docs/kubernetes_security.mdx index bed605f96de5f6..7ec865b831b09e 100644 --- a/api_docs/kubernetes_security.mdx +++ b/api_docs/kubernetes_security.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kubernetesSecurity title: "kubernetesSecurity" image: https://source.unsplash.com/400x175/?github summary: API docs for the kubernetesSecurity plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 51f051ee378077..21273a1f0b868e 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/lens title: "lens" image: https://source.unsplash.com/400x175/?github summary: API docs for the lens plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lens'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/license_api_guard.mdx b/api_docs/license_api_guard.mdx index c4599861096046..ec60c057bcfd03 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/licenseApiGuard title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github summary: API docs for the licenseApiGuard plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseApiGuard'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/license_management.mdx b/api_docs/license_management.mdx index 94cdecefa2d240..ef1e2b30703ed8 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/licenseManagement title: "licenseManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the licenseManagement plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseManagement'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index 05d25283e076b6..171bd9269d9cb6 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/licensing title: "licensing" image: https://source.unsplash.com/400x175/?github summary: API docs for the licensing plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index 4959a338e092c9..4089af095998dc 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/lists title: "lists" image: https://source.unsplash.com/400x175/?github summary: API docs for the lists plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/management.mdx b/api_docs/management.mdx index c8e34733f47ba0..af7e61b50eaa77 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/management title: "management" image: https://source.unsplash.com/400x175/?github summary: API docs for the management plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'management'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index 728ed55a5fbc29..2b0d0aba3a29cf 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/maps title: "maps" image: https://source.unsplash.com/400x175/?github summary: API docs for the maps plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'maps'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index 7922fc89742e34..85ff930291c0c2 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/mapsEms title: "mapsEms" image: https://source.unsplash.com/400x175/?github summary: API docs for the mapsEms plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 4b41702538e1fa..69c966eed4e3ed 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/ml title: "ml" image: https://source.unsplash.com/400x175/?github summary: API docs for the ml plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ml'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index 939fbd74fd629a..385f23f5aeffb5 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/monitoring title: "monitoring" image: https://source.unsplash.com/400x175/?github summary: API docs for the monitoring plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoring'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/monitoring_collection.mdx b/api_docs/monitoring_collection.mdx index 7a3a04bedca39e..0c3485b24b3759 100644 --- a/api_docs/monitoring_collection.mdx +++ b/api_docs/monitoring_collection.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/monitoringCollection title: "monitoringCollection" image: https://source.unsplash.com/400x175/?github summary: API docs for the monitoringCollection plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoringCollection'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/navigation.devdocs.json b/api_docs/navigation.devdocs.json index ef0f393abbb0d8..5e8590af0ad154 100644 --- a/api_docs/navigation.devdocs.json +++ b/api_docs/navigation.devdocs.json @@ -681,13 +681,7 @@ "text": "UnifiedSearchPublicPluginStart" }, " | undefined; className?: string | undefined; visible?: boolean | undefined; setMenuMountPoint?: ((menuMount: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, + "MountPoint", " | undefined) => void) | undefined; }" ], "path": "src/plugins/navigation/public/top_nav_menu/top_nav_menu.tsx", diff --git a/api_docs/navigation.mdx b/api_docs/navigation.mdx index aae9b72af4c519..0add21c4908d0d 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/navigation title: "navigation" image: https://source.unsplash.com/400x175/?github summary: API docs for the navigation plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'navigation'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/newsfeed.mdx b/api_docs/newsfeed.mdx index 9fc5bb59228621..70c11a853fe25c 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/newsfeed title: "newsfeed" image: https://source.unsplash.com/400x175/?github summary: API docs for the newsfeed plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'newsfeed'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index c984f380b03d6b..92a238c9d58469 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/observability title: "observability" image: https://source.unsplash.com/400x175/?github summary: API docs for the observability plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index 0ee6146a32c09f..1bf7c7611a7c28 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/osquery title: "osquery" image: https://source.unsplash.com/400x175/?github summary: API docs for the osquery plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index 7c8f2e4cc6ae58..0f6698b844e7d3 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -3,7 +3,7 @@ id: kibDevDocsPluginDirectory slug: /kibana-dev-docs/api-meta/plugin-api-directory title: Directory summary: Directory of public APIs available through plugins or packages. -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- @@ -12,13 +12,13 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Count | Plugins or Packages with a
public API | Number of teams | |--------------|----------|------------------------| -| 383 | 319 | 37 | +| 388 | 324 | 37 | ### Public API health stats | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 28554 | 171 | 19492 | 904 | +| 28647 | 171 | 19504 | 906 | ## Plugin Directory @@ -37,8 +37,8 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 29 | 0 | 24 | 0 | | | [Cloud Security Posture](https://github.com/orgs/elastic/teams/cloud-posture-security) | The cloud security posture plugin | 18 | 0 | 2 | 3 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 13 | 0 | 13 | 1 | -| | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | The Controls Plugin contains embeddable components intended to create a simple query interface for end users, and a powerful editing suite that allows dashboard authors to build controls | 206 | 0 | 198 | 7 | -| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 2504 | 2 | 342 | 6 | +| | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | The Controls Plugin contains embeddable components intended to create a simple query interface for end users, and a powerful editing suite that allows dashboard authors to build controls | 207 | 0 | 199 | 7 | +| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 2504 | 2 | 303 | 6 | | crossClusterReplication | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | | | [Fleet](https://github.com/orgs/elastic/teams/fleet) | Add custom data integrations so they can be displayed in the Fleet integrations app | 102 | 0 | 83 | 1 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds the Dashboard app to Kibana | 143 | 0 | 141 | 12 | @@ -112,7 +112,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [Observability UI](https://github.com/orgs/elastic/teams/observability-ui) | - | 391 | 2 | 388 | 31 | | | [Security asset management](https://github.com/orgs/elastic/teams/security-asset-management) | - | 13 | 0 | 13 | 0 | | painlessLab | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | -| | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | The Presentation Utility Plugin is a set of common, shared components and toolkits for solutions within the Presentation space, (e.g. Dashboards, Canvas). | 231 | 2 | 180 | 11 | +| | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | The Presentation Utility Plugin is a set of common, shared components and toolkits for solutions within the Presentation space, (e.g. Dashboards, Canvas). | 243 | 2 | 187 | 12 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 4 | 0 | 4 | 0 | | | [Kibana Reporting Services](https://github.com/orgs/elastic/teams/kibana-reporting-services) | Reporting Services enables applications to feature reports that the user can automate with Watcher and download later. | 36 | 0 | 16 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 21 | 0 | 21 | 0 | @@ -120,8 +120,8 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 24 | 0 | 19 | 2 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 192 | 2 | 151 | 5 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 125 | 0 | 112 | 0 | -| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 76 | 0 | 70 | 3 | -| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 90 | 0 | 45 | 0 | +| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 78 | 0 | 72 | 3 | +| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 91 | 0 | 46 | 1 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 32 | 0 | 13 | 0 | | | [Kibana Reporting Services](https://github.com/orgs/elastic/teams/kibana-reporting-services) | Kibana Screenshotting Plugin | 27 | 0 | 8 | 4 | | searchprofiler | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | @@ -257,9 +257,14 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [Owner missing] | - | 48 | 0 | 8 | 0 | | | [Owner missing] | - | 5 | 0 | 5 | 0 | | | [Owner missing] | - | 7 | 0 | 7 | 0 | +| | [Owner missing] | - | 6 | 0 | 0 | 0 | +| | [Owner missing] | - | 4 | 0 | 1 | 0 | | | [Owner missing] | - | 5 | 0 | 0 | 0 | | | [Owner missing] | - | 3 | 0 | 3 | 0 | | | [Owner missing] | - | 3 | 0 | 3 | 0 | +| | [Owner missing] | - | 63 | 0 | 35 | 0 | +| | [Owner missing] | - | 1 | 0 | 1 | 0 | +| | [Owner missing] | - | 3 | 0 | 3 | 0 | | | [Owner missing] | - | 5 | 0 | 0 | 0 | | | [Owner missing] | - | 6 | 0 | 6 | 0 | | | [Owner missing] | - | 94 | 1 | 66 | 0 | diff --git a/api_docs/presentation_util.devdocs.json b/api_docs/presentation_util.devdocs.json index 667d6c5bc7c5b6..07de3fd6995759 100644 --- a/api_docs/presentation_util.devdocs.json +++ b/api_docs/presentation_util.devdocs.json @@ -1060,57 +1060,26 @@ }, { "parentPluginId": "presentationUtil", - "id": "def-public.LazyReduxEmbeddableWrapper", + "id": "def-public.lazyLoadReduxEmbeddablePackage", "type": "Function", "tags": [], - "label": "LazyReduxEmbeddableWrapper", + "label": "lazyLoadReduxEmbeddablePackage", "description": [], "signature": [ - "(props: ", + "() => Promise<", { "pluginId": "presentationUtil", "scope": "public", "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ReduxEmbeddableWrapperPropsWithChildren", - "text": "ReduxEmbeddableWrapperPropsWithChildren" + "section": "def-public.ReduxEmbeddablePackage", + "text": "ReduxEmbeddablePackage" }, - ") => JSX.Element" + ">" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/plugins/presentation_util/public/redux_embeddables/index.ts", "deprecated": false, + "children": [], "returnComment": [], - "children": [ - { - "parentPluginId": "presentationUtil", - "id": "def-public.LazyReduxEmbeddableWrapper.$1", - "type": "CompoundType", - "tags": [], - "label": "props", - "description": [], - "signature": [ - "ReduxEmbeddableWrapperProps", - " & { children?: React.ReactNode; }" - ], - "path": "src/plugins/presentation_util/public/components/redux_embeddables/redux_embeddable_wrapper.tsx", - "deprecated": false - } - ], "initialIsOpen": false }, { @@ -1577,37 +1546,63 @@ "\nA typed use context hook for embeddable containers. it @returns an\nReduxContainerContextServices object typed to the generic inputTypes and ReducerTypes you pass in.\nNote that the reducer type is optional, but will be required to correctly infer the keys and payload\ntypes of your reducers. use `typeof MyReducers` here to retain them. It also includes a containerActions\nkey which contains most of the commonly used container operations" ], "signature": [ - " = ", + ", ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" }, - "<{}>, ReducerType extends ", - "GenericEmbeddableReducers", - " = ", - "GenericEmbeddableReducers", - ">() => ", + ", unknown> = ", { "pluginId": "presentationUtil", "scope": "public", "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ReduxContainerContextServices", - "text": "ReduxContainerContextServices" + "section": "def-public.ReduxEmbeddableState", + "text": "ReduxEmbeddableState" }, - "" - ], - "path": "src/plugins/presentation_util/public/components/redux_embeddables/redux_embeddable_context.ts", + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + }, + ", unknown>, ReducerType extends ", + "EmbeddableReducers", + " = ", + "EmbeddableReducers", + ">() => ", + "ReduxContainerContext", + "" + ], + "path": "src/plugins/presentation_util/public/redux_embeddables/use_redux_embeddable_context.ts", "deprecated": false, "children": [], "returnComment": [], @@ -1623,7 +1618,15 @@ "\nA typed use context hook for embeddables that are not containers. it @returns an\nReduxEmbeddableContextServices object typed to the generic inputTypes and ReducerTypes you pass in.\nNote that the reducer type is optional, but will be required to correctly infer the keys and payload\ntypes of your reducers. use `typeof MyReducers` here to retain them." ], "signature": [ - " = ", + { + "pluginId": "presentationUtil", + "scope": "public", + "docId": "kibPresentationUtilPluginApi", + "section": "def-public.ReduxEmbeddableState", + "text": "ReduxEmbeddableState" + }, + "<", { "pluginId": "embeddable", "scope": "common", @@ -1639,15 +1658,23 @@ "section": "def-common.EmbeddableInput", "text": "EmbeddableInput" }, - ", ReducerType extends ", - "GenericEmbeddableReducers", - " = ", - "GenericEmbeddableReducers", - ">() => ", - "ReduxEmbeddableContextServices", - "" - ], - "path": "src/plugins/presentation_util/public/components/redux_embeddables/redux_embeddable_context.ts", + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + }, + ", unknown>, ReducerType extends ", + "EmbeddableReducers", + " = ", + "EmbeddableReducers", + ">() => ", + "ReduxEmbeddableContext", + "" + ], + "path": "src/plugins/presentation_util/public/redux_embeddables/use_redux_embeddable_context.ts", "deprecated": false, "children": [], "returnComment": [], @@ -2393,6 +2420,390 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddablePackage", + "type": "Interface", + "tags": [], + "label": "ReduxEmbeddablePackage", + "description": [ + "\nThe package type is lazily exported from presentation_util and should contain all methods needed to use the redux embeddable tools." + ], + "path": "src/plugins/presentation_util/public/redux_embeddables/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddablePackage.createTools", + "type": "Function", + "tags": [], + "label": "createTools", + "description": [], + "signature": [ + " = ", + { + "pluginId": "presentationUtil", + "scope": "public", + "docId": "kibPresentationUtilPluginApi", + "section": "def-public.ReduxEmbeddableState", + "text": "ReduxEmbeddableState" + }, + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + }, + ", unknown>, ReducerType extends ", + "EmbeddableReducers", + " = ", + "EmbeddableReducers", + ">({ reducers, embeddable, syncSettings, initialComponentState, }: { embeddable: ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" + }, + "; initialComponentState?: ReduxEmbeddableStateType[\"componentState\"] | undefined; syncSettings?: ", + "ReduxEmbeddableSyncSettings", + "<", + { + "pluginId": "presentationUtil", + "scope": "public", + "docId": "kibPresentationUtilPluginApi", + "section": "def-public.ReduxEmbeddableState", + "text": "ReduxEmbeddableState" + }, + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + }, + ", unknown>> | undefined; reducers: ReducerType; }) => ", + { + "pluginId": "presentationUtil", + "scope": "public", + "docId": "kibPresentationUtilPluginApi", + "section": "def-public.ReduxEmbeddableTools", + "text": "ReduxEmbeddableTools" + }, + "" + ], + "path": "src/plugins/presentation_util/public/redux_embeddables/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddablePackage.createTools.$1", + "type": "Object", + "tags": [], + "label": "__0", + "description": [], + "signature": [ + "{ embeddable: ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" + }, + "; initialComponentState?: ReduxEmbeddableStateType[\"componentState\"] | undefined; syncSettings?: ", + "ReduxEmbeddableSyncSettings", + "<", + { + "pluginId": "presentationUtil", + "scope": "public", + "docId": "kibPresentationUtilPluginApi", + "section": "def-public.ReduxEmbeddableState", + "text": "ReduxEmbeddableState" + }, + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + }, + ", unknown>> | undefined; reducers: ReducerType; }" + ], + "path": "src/plugins/presentation_util/public/redux_embeddables/create_redux_embeddable_tools.tsx", + "deprecated": false + } + ] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddableState", + "type": "Interface", + "tags": [], + "label": "ReduxEmbeddableState", + "description": [ + "\nThe Embeddable Redux store should contain Input, Output and State. Input is serialized and used to create the embeddable,\nOutput is used as a communication layer for state that the Embeddable creates, and State is used to store ephemeral state which needs\nto be communicated between an embeddable and its inner React components." + ], + "signature": [ + { + "pluginId": "presentationUtil", + "scope": "public", + "docId": "kibPresentationUtilPluginApi", + "section": "def-public.ReduxEmbeddableState", + "text": "ReduxEmbeddableState" + }, + "" + ], + "path": "src/plugins/presentation_util/public/redux_embeddables/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddableState.explicitInput", + "type": "Uncategorized", + "tags": [], + "label": "explicitInput", + "description": [], + "signature": [ + "InputType" + ], + "path": "src/plugins/presentation_util/public/redux_embeddables/types.ts", + "deprecated": false + }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddableState.output", + "type": "Uncategorized", + "tags": [], + "label": "output", + "description": [], + "signature": [ + "OutputType" + ], + "path": "src/plugins/presentation_util/public/redux_embeddables/types.ts", + "deprecated": false + }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddableState.componentState", + "type": "Uncategorized", + "tags": [], + "label": "componentState", + "description": [], + "signature": [ + "StateType" + ], + "path": "src/plugins/presentation_util/public/redux_embeddables/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddableTools", + "type": "Interface", + "tags": [], + "label": "ReduxEmbeddableTools", + "description": [ + "\nThe return type from setupReduxEmbeddable. Contains a wrapper which comes with the store provider and provides the context to react components,\nbut also returns the context object to allow the embeddable class to interact with the redux store." + ], + "signature": [ + { + "pluginId": "presentationUtil", + "scope": "public", + "docId": "kibPresentationUtilPluginApi", + "section": "def-public.ReduxEmbeddableTools", + "text": "ReduxEmbeddableTools" + }, + "" + ], + "path": "src/plugins/presentation_util/public/redux_embeddables/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddableTools.cleanup", + "type": "Function", + "tags": [], + "label": "cleanup", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/presentation_util/public/redux_embeddables/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddableTools.Wrapper", + "type": "Function", + "tags": [], + "label": "Wrapper", + "description": [], + "signature": [ + "React.FunctionComponent<{ children?: React.ReactNode; }>" + ], + "path": "src/plugins/presentation_util/public/redux_embeddables/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddableTools.Wrapper.$1", + "type": "CompoundType", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P & { children?: React.ReactNode; }" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddableTools.Wrapper.$2", + "type": "Any", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddableTools.dispatch", + "type": "Function", + "tags": [], + "label": "dispatch", + "description": [], + "signature": [ + "Dispatch", + "<", + "AnyAction", + ">" + ], + "path": "src/plugins/presentation_util/public/redux_embeddables/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddableTools.dispatch.$1", + "type": "Uncategorized", + "tags": [], + "label": "action", + "description": [], + "signature": [ + "T" + ], + "path": "node_modules/redux/index.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddableTools.getState", + "type": "Function", + "tags": [], + "label": "getState", + "description": [], + "signature": [ + "() => ReduxEmbeddableStateType" + ], + "path": "src/plugins/presentation_util/public/redux_embeddables/types.ts", + "deprecated": false, + "returnComment": [], + "children": [] + }, + { + "parentPluginId": "presentationUtil", + "id": "def-public.ReduxEmbeddableTools.actions", + "type": "CompoundType", + "tags": [], + "label": "actions", + "description": [], + "signature": [ + "{ [Property in keyof ReducerType]: ", + "ActionCreatorWithPayload", + "[1][\"payload\"], string>; } & { updateEmbeddableReduxInput: ", + "ActionCreatorWithPayload", + ", string>; updateEmbeddableReduxOutput: ", + "ActionCreatorWithPayload", + ", string>; }" + ], + "path": "src/plugins/presentation_util/public/redux_embeddables/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "presentationUtil", "id": "def-public.SaveModalDashboardProps", @@ -2759,60 +3170,6 @@ "path": "src/plugins/presentation_util/common/labs.ts", "deprecated": false, "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ReduxContainerContextServices", - "type": "Type", - "tags": [], - "label": "ReduxContainerContextServices", - "description": [], - "signature": [ - "ReduxEmbeddableContextServices", - " & { containerActions: Pick<", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IContainer", - "text": "IContainer" - }, - "<{}, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" - }, - "<{}>, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - ">, \"untilEmbeddableLoaded\" | \"removeEmbeddable\" | \"addNewEmbeddable\" | \"updateInputForChild\" | \"replaceEmbeddable\">; }" - ], - "path": "src/plugins/presentation_util/public/components/redux_embeddables/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ReduxEmbeddableWrapperPropsWithChildren", - "type": "Type", - "tags": [], - "label": "ReduxEmbeddableWrapperPropsWithChildren", - "description": [], - "signature": [ - "ReduxEmbeddableWrapperProps", - " & { children?: React.ReactNode; }" - ], - "path": "src/plugins/presentation_util/public/components/redux_embeddables/types.ts", - "deprecated": false, - "initialIsOpen": false } ], "objects": [ @@ -2971,68 +3328,6 @@ "path": "src/plugins/presentation_util/common/labs.ts", "deprecated": false, "initialIsOpen": false - }, - { - "parentPluginId": "presentationUtil", - "id": "def-public.ReduxEmbeddableContext", - "type": "Object", - "tags": [], - "label": "ReduxEmbeddableContext", - "description": [ - "\nWhen creating the context, a generic EmbeddableInput as placeholder is used. This will later be cast to\nthe generic type passed in by the useReduxEmbeddableContext or useReduxContainerContext hooks" - ], - "signature": [ - "React.Context<", - "ReduxEmbeddableContextServices", - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - "GenericEmbeddableReducers", - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ">> | ", - { - "pluginId": "presentationUtil", - "scope": "public", - "docId": "kibPresentationUtilPluginApi", - "section": "def-public.ReduxContainerContextServices", - "text": "ReduxContainerContextServices" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - "GenericEmbeddableReducers", - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ">> | null>" - ], - "path": "src/plugins/presentation_util/public/components/redux_embeddables/redux_embeddable_context.ts", - "deprecated": false, - "initialIsOpen": false } ], "setup": { diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index febeff1863550c..5628c464953a37 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/presentationUtil title: "presentationUtil" image: https://source.unsplash.com/400x175/?github summary: API docs for the presentationUtil plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationUtil'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- @@ -18,7 +18,7 @@ Contact [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-prese | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 231 | 2 | 180 | 11 | +| 243 | 2 | 187 | 12 | ## Client diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index cd66b5f456b0ba..e6777cd784be73 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/remoteClusters title: "remoteClusters" image: https://source.unsplash.com/400x175/?github summary: API docs for the remoteClusters plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'remoteClusters'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/reporting.mdx b/api_docs/reporting.mdx index c6284618beca2b..c297d0c37a6f64 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/reporting title: "reporting" image: https://source.unsplash.com/400x175/?github summary: API docs for the reporting plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index 28b14d049af780..9a3122e0853fca 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/rollup title: "rollup" image: https://source.unsplash.com/400x175/?github summary: API docs for the rollup plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'rollup'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index 58951d29430724..13bad06088f5aa 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/ruleRegistry title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github summary: API docs for the ruleRegistry plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ruleRegistry'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/runtime_fields.mdx b/api_docs/runtime_fields.mdx index 4c584dda6028f7..5e77241a0e8a5c 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/runtimeFields title: "runtimeFields" image: https://source.unsplash.com/400x175/?github summary: API docs for the runtimeFields plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'runtimeFields'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/saved_objects.devdocs.json b/api_docs/saved_objects.devdocs.json index 7f5487ebc524a4..8fb992ffe36a1b 100644 --- a/api_docs/saved_objects.devdocs.json +++ b/api_docs/saved_objects.devdocs.json @@ -980,13 +980,7 @@ ", services: { savedObjectsClient: ", "SavedObjectsClientContract", "; overlays: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayStart", - "text": "OverlayStart" - }, + "OverlayStart", "; }) => Promise<", "SimpleSavedObject", "<", @@ -1106,13 +1100,7 @@ "label": "overlays", "description": [], "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayStart", - "text": "OverlayStart" - } + "OverlayStart" ], "path": "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts", "deprecated": false diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index ad8c36fc0e022f..cd9ef22218dc9e 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/savedObjects title: "savedObjects" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjects plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjects'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/saved_objects_management.mdx b/api_docs/saved_objects_management.mdx index 76bfddbaee50a1..07954903d9e32d 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/savedObjectsManagement title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjectsManagement plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsManagement'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/saved_objects_tagging.devdocs.json b/api_docs/saved_objects_tagging.devdocs.json index 475570c07c2763..2cc307c5a8bb8e 100644 --- a/api_docs/saved_objects_tagging.devdocs.json +++ b/api_docs/saved_objects_tagging.devdocs.json @@ -165,7 +165,9 @@ "section": "def-common.TagAttributes", "text": "TagAttributes" }, - ") => Promise<", + ", options?: ", + "CreateTagOptions", + " | undefined) => Promise<", { "pluginId": "savedObjectsTaggingOss", "scope": "common", @@ -197,6 +199,21 @@ "path": "src/plugins/saved_objects_tagging_oss/common/types.ts", "deprecated": false, "isRequired": true + }, + { + "parentPluginId": "savedObjectsTagging", + "id": "def-server.ITagsClient.create.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "CreateTagOptions", + " | undefined" + ], + "path": "src/plugins/saved_objects_tagging_oss/common/types.ts", + "deprecated": false, + "isRequired": false } ], "returnComment": [] @@ -406,7 +423,7 @@ "FindAssignableObjectsOptions", ") => Promise<", "AssignableObject", - "[]>; getAssignableTypes: (types?: string[] | undefined) => Promise; updateTagAssignments: ({ tags, assign, unassign }: ", + "[]>; getAssignableTypes: (types?: string[] | undefined) => Promise; updateTagAssignments: ({ tags, assign, unassign, refresh, }: ", "UpdateTagAssignmentsOptions", ") => Promise; }" ], @@ -701,7 +718,9 @@ "section": "def-common.TagAttributes", "text": "TagAttributes" }, - ") => Promise<", + ", options?: ", + "CreateTagOptions", + " | undefined) => Promise<", { "pluginId": "savedObjectsTaggingOss", "scope": "common", @@ -733,6 +752,21 @@ "path": "src/plugins/saved_objects_tagging_oss/common/types.ts", "deprecated": false, "isRequired": true + }, + { + "parentPluginId": "savedObjectsTagging", + "id": "def-common.ITagsClient.create.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "CreateTagOptions", + " | undefined" + ], + "path": "src/plugins/saved_objects_tagging_oss/common/types.ts", + "deprecated": false, + "isRequired": false } ], "returnComment": [] diff --git a/api_docs/saved_objects_tagging.mdx b/api_docs/saved_objects_tagging.mdx index 580854ce8b989c..f195f725062abc 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/savedObjectsTagging title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjectsTagging plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTagging'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 76 | 0 | 70 | 3 | +| 78 | 0 | 72 | 3 | ## Client diff --git a/api_docs/saved_objects_tagging_oss.devdocs.json b/api_docs/saved_objects_tagging_oss.devdocs.json index 2606fbbae61458..0e4cf227752090 100644 --- a/api_docs/saved_objects_tagging_oss.devdocs.json +++ b/api_docs/saved_objects_tagging_oss.devdocs.json @@ -1295,7 +1295,9 @@ "section": "def-common.TagAttributes", "text": "TagAttributes" }, - ") => Promise<", + ", options?: ", + "CreateTagOptions", + " | undefined) => Promise<", { "pluginId": "savedObjectsTaggingOss", "scope": "common", @@ -1327,6 +1329,21 @@ "path": "src/plugins/saved_objects_tagging_oss/common/types.ts", "deprecated": false, "isRequired": true + }, + { + "parentPluginId": "savedObjectsTaggingOss", + "id": "def-common.ITagsClient.create.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "CreateTagOptions", + " | undefined" + ], + "path": "src/plugins/saved_objects_tagging_oss/common/types.ts", + "deprecated": false, + "isRequired": false } ], "returnComment": [] diff --git a/api_docs/saved_objects_tagging_oss.mdx b/api_docs/saved_objects_tagging_oss.mdx index b07f122ed42882..7637d90fb6e35c 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/savedObjectsTaggingOss title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjectsTaggingOss plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTaggingOss'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 90 | 0 | 45 | 0 | +| 91 | 0 | 46 | 1 | ## Client diff --git a/api_docs/screenshot_mode.mdx b/api_docs/screenshot_mode.mdx index 371b990f9c9f7c..e574924c8c8270 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/screenshotMode title: "screenshotMode" image: https://source.unsplash.com/400x175/?github summary: API docs for the screenshotMode plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotMode'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/screenshotting.mdx b/api_docs/screenshotting.mdx index 0e60d18b143ee2..9d9a417f533311 100644 --- a/api_docs/screenshotting.mdx +++ b/api_docs/screenshotting.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/screenshotting title: "screenshotting" image: https://source.unsplash.com/400x175/?github summary: API docs for the screenshotting plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotting'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/security.devdocs.json b/api_docs/security.devdocs.json index cf8b9e1cfd29e0..bb06aa96cef9b9 100644 --- a/api_docs/security.devdocs.json +++ b/api_docs/security.devdocs.json @@ -2390,8 +2390,8 @@ "path": "x-pack/plugins/ml/server/plugin.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/lib/check_access.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/request_handler_context.ts" }, { "plugin": "enterpriseSearch", @@ -2402,8 +2402,8 @@ "path": "x-pack/plugins/enterprise_search/server/lib/check_access.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/request_handler_context.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/lib/check_access.ts" } ] }, diff --git a/api_docs/security.mdx b/api_docs/security.mdx index 871553eb6b42ad..8c56058c2968d7 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/security title: "security" image: https://source.unsplash.com/400x175/?github summary: API docs for the security plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'security'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index 7f4d0a894002d6..966dda6c2e5b64 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/securitySolution title: "securitySolution" image: https://source.unsplash.com/400x175/?github summary: API docs for the securitySolution plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolution'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/session_view.mdx b/api_docs/session_view.mdx index fa602a268d64a0..ecfe96a279fd56 100644 --- a/api_docs/session_view.mdx +++ b/api_docs/session_view.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/sessionView title: "sessionView" image: https://source.unsplash.com/400x175/?github summary: API docs for the sessionView plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sessionView'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/share.mdx b/api_docs/share.mdx index 5ddaeff4741163..78ce93f1a41534 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/share title: "share" image: https://source.unsplash.com/400x175/?github summary: API docs for the share plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'share'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/shared_u_x.mdx b/api_docs/shared_u_x.mdx index 829486b69eaed8..c30212c9dfd143 100644 --- a/api_docs/shared_u_x.mdx +++ b/api_docs/shared_u_x.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/sharedUX title: "sharedUX" image: https://source.unsplash.com/400x175/?github summary: API docs for the sharedUX plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sharedUX'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/snapshot_restore.mdx b/api_docs/snapshot_restore.mdx index fb3498b3fc3be7..04a712e0b4e01d 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/snapshotRestore title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github summary: API docs for the snapshotRestore plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'snapshotRestore'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/spaces.mdx b/api_docs/spaces.mdx index 625e8818ee0172..d0292c84d94b55 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/spaces title: "spaces" image: https://source.unsplash.com/400x175/?github summary: API docs for the spaces plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'spaces'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index 0142ec67003a64..f4254de40ff1ba 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/stackAlerts title: "stackAlerts" image: https://source.unsplash.com/400x175/?github summary: API docs for the stackAlerts plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackAlerts'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index ca6490aad62f65..bcb0f7b9135719 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/taskManager title: "taskManager" image: https://source.unsplash.com/400x175/?github summary: API docs for the taskManager plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'taskManager'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index 2ce7e5fcf756f8..9f4d66c512ac95 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/telemetry title: "telemetry" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetry plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetry'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index 5a80b5293191c1..f0e50eb8975933 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionManager title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetryCollectionManager plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionManager'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/telemetry_collection_xpack.mdx b/api_docs/telemetry_collection_xpack.mdx index 14173bfb9dff56..d3aee9c7f126fc 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionXpack title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetryCollectionXpack plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionXpack'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/telemetry_management_section.mdx b/api_docs/telemetry_management_section.mdx index 33ee0d150a9488..ea8cd6de96f81e 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/telemetryManagementSection title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetryManagementSection plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryManagementSection'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/threat_intelligence.mdx b/api_docs/threat_intelligence.mdx index 1a10fb594fe7a4..dc5dfea41f5a6e 100644 --- a/api_docs/threat_intelligence.mdx +++ b/api_docs/threat_intelligence.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/threatIntelligence title: "threatIntelligence" image: https://source.unsplash.com/400x175/?github summary: API docs for the threatIntelligence plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'threatIntelligence'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index 7dea5477f33bbf..15d39e2bb2bb92 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/timelines title: "timelines" image: https://source.unsplash.com/400x175/?github summary: API docs for the timelines plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'timelines'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/transform.mdx b/api_docs/transform.mdx index d7d9889f6b3d59..f229fba9926103 100644 --- a/api_docs/transform.mdx +++ b/api_docs/transform.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/transform title: "transform" image: https://source.unsplash.com/400x175/?github summary: API docs for the transform plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'transform'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index 1a4282c6780bf5..04cbb33702771a 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/triggersActionsUi title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github summary: API docs for the triggersActionsUi plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'triggersActionsUi'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/ui_actions.mdx b/api_docs/ui_actions.mdx index 05289657c8d42e..4f0c7504b1b5e7 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/uiActions title: "uiActions" image: https://source.unsplash.com/400x175/?github summary: API docs for the uiActions plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActions'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index dbdb64658703e5..f1cd0594e00473 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/uiActionsEnhanced title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the uiActionsEnhanced plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/unified_search.mdx b/api_docs/unified_search.mdx index 0d3d568fac6aff..0dc7adbd5dbcbb 100644 --- a/api_docs/unified_search.mdx +++ b/api_docs/unified_search.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/unifiedSearch title: "unifiedSearch" image: https://source.unsplash.com/400x175/?github summary: API docs for the unifiedSearch plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/unified_search_autocomplete.mdx b/api_docs/unified_search_autocomplete.mdx index 2e8e0e07f99962..46c2fb64f96580 100644 --- a/api_docs/unified_search_autocomplete.mdx +++ b/api_docs/unified_search_autocomplete.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/unifiedSearch-autocomplete title: "unifiedSearch.autocomplete" image: https://source.unsplash.com/400x175/?github summary: API docs for the unifiedSearch.autocomplete plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch.autocomplete'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index 808e07499ab11a..5c72d15c227364 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/urlForwarding title: "urlForwarding" image: https://source.unsplash.com/400x175/?github summary: API docs for the urlForwarding plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'urlForwarding'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index db51da459d0688..75d7d361cf7c7a 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/usageCollection title: "usageCollection" image: https://source.unsplash.com/400x175/?github summary: API docs for the usageCollection plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'usageCollection'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/ux.mdx b/api_docs/ux.mdx index add668093f3e1e..d6e8ced25aab05 100644 --- a/api_docs/ux.mdx +++ b/api_docs/ux.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/ux title: "ux" image: https://source.unsplash.com/400x175/?github summary: API docs for the ux plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ux'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_default_editor.mdx b/api_docs/vis_default_editor.mdx index ecff75c0507b15..e1a627b8f049b0 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visDefaultEditor title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github summary: API docs for the visDefaultEditor plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visDefaultEditor'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_gauge.mdx b/api_docs/vis_type_gauge.mdx index 752dc1ef360dbf..d752aa09194f8b 100644 --- a/api_docs/vis_type_gauge.mdx +++ b/api_docs/vis_type_gauge.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeGauge title: "visTypeGauge" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeGauge plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeGauge'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_heatmap.mdx b/api_docs/vis_type_heatmap.mdx index dd1e7e4fe901d4..d0291f2a1821b0 100644 --- a/api_docs/vis_type_heatmap.mdx +++ b/api_docs/vis_type_heatmap.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeHeatmap title: "visTypeHeatmap" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeHeatmap plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeHeatmap'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index 4983b07f5a9e07..8736aff8e45c4d 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypePie title: "visTypePie" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypePie plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypePie'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_table.mdx b/api_docs/vis_type_table.mdx index d03ec55f0aff15..a7173861ae56c1 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeTable title: "visTypeTable" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeTable plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTable'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_timelion.mdx b/api_docs/vis_type_timelion.mdx index bf834ac02b212d..575112c6e1bb21 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeTimelion title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeTimelion plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimelion'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_timeseries.mdx b/api_docs/vis_type_timeseries.mdx index efa3620edae040..97430cb5d39075 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeTimeseries title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeTimeseries plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimeseries'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_vega.mdx b/api_docs/vis_type_vega.mdx index 144e4648927e32..93f11e33e31e64 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeVega title: "visTypeVega" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeVega plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVega'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_vislib.mdx b/api_docs/vis_type_vislib.mdx index a03fc7125e5270..548a383d6d4c09 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeVislib title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeVislib plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVislib'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_xy.mdx b/api_docs/vis_type_xy.mdx index 5a7b03eba68b90..98241691eee0d8 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeXy title: "visTypeXy" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeXy plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeXy'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/visualizations.devdocs.json b/api_docs/visualizations.devdocs.json index d25dd72157eb88..62b7651579dc5b 100644 --- a/api_docs/visualizations.devdocs.json +++ b/api_docs/visualizations.devdocs.json @@ -5174,13 +5174,7 @@ "text": "Adapters" }, " | undefined; openInspector: () => ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.OverlayRef", - "text": "OverlayRef" - }, + "OverlayRef", " | undefined; transferCustomizationsToUiState: () => void; hasInspector: () => boolean; onContainerLoading: () => void; onContainerData: () => void; onContainerRender: () => void; onContainerError: (error: ", { "pluginId": "expressions", diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index e7aaa663d46a0d..56cfa80a25c58f 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visualizations title: "visualizations" image: https://source.unsplash.com/400x175/?github summary: API docs for the visualizations plugin -date: 2022-07-29 +date: 2022-07-30 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- From 88e08f63acf7078bd1ff566585771ee3bfd2fb42 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Sun, 31 Jul 2022 00:41:01 -0400 Subject: [PATCH 10/37] [api-docs] Daily api_docs build (#137649) --- api_docs/actions.mdx | 2 +- api_docs/advanced_settings.mdx | 2 +- api_docs/aiops.mdx | 2 +- api_docs/alerting.mdx | 2 +- api_docs/apm.mdx | 2 +- api_docs/banners.mdx | 2 +- api_docs/bfetch.mdx | 2 +- api_docs/canvas.mdx | 2 +- api_docs/cases.mdx | 2 +- api_docs/charts.mdx | 2 +- api_docs/cloud.mdx | 2 +- api_docs/cloud_security_posture.mdx | 2 +- api_docs/console.mdx | 2 +- api_docs/controls.mdx | 2 +- api_docs/core.mdx | 2 +- api_docs/core_application.mdx | 2 +- api_docs/core_chrome.mdx | 2 +- api_docs/core_saved_objects.mdx | 2 +- api_docs/custom_integrations.mdx | 2 +- api_docs/dashboard.mdx | 2 +- api_docs/dashboard_enhanced.mdx | 2 +- api_docs/data.mdx | 2 +- api_docs/data_query.mdx | 2 +- api_docs/data_search.mdx | 2 +- api_docs/data_view_editor.mdx | 2 +- api_docs/data_view_field_editor.mdx | 2 +- api_docs/data_view_management.mdx | 2 +- api_docs/data_views.mdx | 2 +- api_docs/data_visualizer.mdx | 2 +- api_docs/deprecations_by_api.mdx | 2 +- api_docs/deprecations_by_plugin.mdx | 2 +- api_docs/deprecations_by_team.mdx | 2 +- api_docs/dev_tools.mdx | 2 +- api_docs/discover.mdx | 2 +- api_docs/discover_enhanced.mdx | 2 +- api_docs/elastic_apm_synthtrace.mdx | 2 +- api_docs/embeddable.mdx | 2 +- api_docs/embeddable_enhanced.mdx | 2 +- api_docs/encrypted_saved_objects.mdx | 2 +- api_docs/enterprise_search.mdx | 2 +- api_docs/es_ui_shared.mdx | 2 +- api_docs/event_annotation.mdx | 2 +- api_docs/event_log.mdx | 2 +- api_docs/expression_error.mdx | 2 +- api_docs/expression_gauge.mdx | 2 +- api_docs/expression_heatmap.mdx | 2 +- api_docs/expression_image.mdx | 2 +- api_docs/expression_legacy_metric_vis.mdx | 2 +- api_docs/expression_metric.mdx | 2 +- api_docs/expression_metric_vis.mdx | 2 +- api_docs/expression_partition_vis.mdx | 2 +- api_docs/expression_repeat_image.mdx | 2 +- api_docs/expression_reveal_image.mdx | 2 +- api_docs/expression_shape.mdx | 2 +- api_docs/expression_tagcloud.mdx | 2 +- api_docs/expression_x_y.mdx | 2 +- api_docs/expressions.mdx | 2 +- api_docs/features.mdx | 2 +- api_docs/field_formats.mdx | 2 +- api_docs/file_upload.mdx | 2 +- api_docs/fleet.mdx | 2 +- api_docs/global_search.mdx | 2 +- api_docs/home.mdx | 2 +- api_docs/index_lifecycle_management.mdx | 2 +- api_docs/index_management.mdx | 2 +- api_docs/infra.mdx | 2 +- api_docs/inspector.mdx | 2 +- api_docs/interactive_setup.mdx | 2 +- api_docs/kbn_ace.mdx | 2 +- api_docs/kbn_aiops_components.mdx | 2 +- api_docs/kbn_aiops_utils.mdx | 2 +- api_docs/kbn_alerts.mdx | 2 +- api_docs/kbn_analytics.mdx | 2 +- api_docs/kbn_analytics_client.mdx | 2 +- api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx | 2 +- api_docs/kbn_analytics_shippers_elastic_v3_common.mdx | 2 +- api_docs/kbn_analytics_shippers_elastic_v3_server.mdx | 2 +- api_docs/kbn_analytics_shippers_fullstory.mdx | 2 +- api_docs/kbn_apm_config_loader.mdx | 2 +- api_docs/kbn_apm_utils.mdx | 2 +- api_docs/kbn_axe_config.mdx | 2 +- api_docs/kbn_bazel_packages.mdx | 2 +- api_docs/kbn_ci_stats_core.mdx | 2 +- api_docs/kbn_ci_stats_performance_metrics.mdx | 2 +- api_docs/kbn_ci_stats_reporter.mdx | 2 +- api_docs/kbn_cli_dev_mode.mdx | 2 +- api_docs/kbn_coloring.mdx | 2 +- api_docs/kbn_config.mdx | 2 +- api_docs/kbn_config_mocks.mdx | 2 +- api_docs/kbn_config_schema.mdx | 2 +- api_docs/kbn_core_analytics_browser.mdx | 2 +- api_docs/kbn_core_analytics_browser_internal.mdx | 2 +- api_docs/kbn_core_analytics_browser_mocks.mdx | 2 +- api_docs/kbn_core_analytics_server.mdx | 2 +- api_docs/kbn_core_analytics_server_internal.mdx | 2 +- api_docs/kbn_core_analytics_server_mocks.mdx | 2 +- api_docs/kbn_core_base_browser_mocks.mdx | 2 +- api_docs/kbn_core_base_common.mdx | 2 +- api_docs/kbn_core_base_server_internal.mdx | 2 +- api_docs/kbn_core_base_server_mocks.mdx | 2 +- api_docs/kbn_core_capabilities_common.mdx | 2 +- api_docs/kbn_core_capabilities_server.mdx | 2 +- api_docs/kbn_core_capabilities_server_mocks.mdx | 2 +- api_docs/kbn_core_config_server_internal.mdx | 2 +- api_docs/kbn_core_deprecations_browser.mdx | 2 +- api_docs/kbn_core_deprecations_browser_internal.mdx | 2 +- api_docs/kbn_core_deprecations_browser_mocks.mdx | 2 +- api_docs/kbn_core_deprecations_common.mdx | 2 +- api_docs/kbn_core_doc_links_browser.mdx | 2 +- api_docs/kbn_core_doc_links_browser_mocks.mdx | 2 +- api_docs/kbn_core_doc_links_server.mdx | 2 +- api_docs/kbn_core_doc_links_server_mocks.mdx | 2 +- api_docs/kbn_core_elasticsearch_client_server_internal.mdx | 2 +- api_docs/kbn_core_elasticsearch_client_server_mocks.mdx | 2 +- api_docs/kbn_core_elasticsearch_server.mdx | 2 +- api_docs/kbn_core_elasticsearch_server_internal.mdx | 2 +- api_docs/kbn_core_elasticsearch_server_mocks.mdx | 2 +- api_docs/kbn_core_environment_server_internal.mdx | 2 +- api_docs/kbn_core_environment_server_mocks.mdx | 2 +- api_docs/kbn_core_execution_context_browser.mdx | 2 +- api_docs/kbn_core_execution_context_browser_internal.mdx | 2 +- api_docs/kbn_core_execution_context_browser_mocks.mdx | 2 +- api_docs/kbn_core_execution_context_common.mdx | 2 +- api_docs/kbn_core_execution_context_server.mdx | 2 +- api_docs/kbn_core_execution_context_server_internal.mdx | 2 +- api_docs/kbn_core_execution_context_server_mocks.mdx | 2 +- api_docs/kbn_core_fatal_errors_browser.mdx | 2 +- api_docs/kbn_core_fatal_errors_browser_mocks.mdx | 2 +- api_docs/kbn_core_http_browser.mdx | 2 +- api_docs/kbn_core_http_browser_internal.mdx | 2 +- api_docs/kbn_core_http_browser_mocks.mdx | 2 +- api_docs/kbn_core_http_common.mdx | 2 +- api_docs/kbn_core_http_context_server_mocks.mdx | 2 +- api_docs/kbn_core_http_router_server_internal.mdx | 2 +- api_docs/kbn_core_http_router_server_mocks.mdx | 2 +- api_docs/kbn_core_http_server.mdx | 2 +- api_docs/kbn_core_http_server_internal.mdx | 2 +- api_docs/kbn_core_http_server_mocks.mdx | 2 +- api_docs/kbn_core_i18n_browser.mdx | 2 +- api_docs/kbn_core_i18n_browser_mocks.mdx | 2 +- api_docs/kbn_core_injected_metadata_browser.mdx | 2 +- api_docs/kbn_core_injected_metadata_browser_mocks.mdx | 2 +- api_docs/kbn_core_integrations_browser_internal.mdx | 2 +- api_docs/kbn_core_integrations_browser_mocks.mdx | 2 +- api_docs/kbn_core_logging_server.mdx | 2 +- api_docs/kbn_core_logging_server_internal.mdx | 2 +- api_docs/kbn_core_logging_server_mocks.mdx | 2 +- api_docs/kbn_core_metrics_collectors_server_internal.mdx | 2 +- api_docs/kbn_core_metrics_collectors_server_mocks.mdx | 2 +- api_docs/kbn_core_metrics_server.mdx | 2 +- api_docs/kbn_core_metrics_server_internal.mdx | 2 +- api_docs/kbn_core_metrics_server_mocks.mdx | 2 +- api_docs/kbn_core_mount_utils_browser.mdx | 2 +- api_docs/kbn_core_mount_utils_browser_internal.mdx | 2 +- api_docs/kbn_core_node_server.mdx | 2 +- api_docs/kbn_core_node_server_internal.mdx | 2 +- api_docs/kbn_core_node_server_mocks.mdx | 2 +- api_docs/kbn_core_overlays_browser.mdx | 2 +- api_docs/kbn_core_overlays_browser_internal.mdx | 2 +- api_docs/kbn_core_overlays_browser_mocks.mdx | 2 +- api_docs/kbn_core_preboot_server.mdx | 2 +- api_docs/kbn_core_preboot_server_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_api_browser.mdx | 2 +- api_docs/kbn_core_saved_objects_api_server.mdx | 2 +- api_docs/kbn_core_saved_objects_common.mdx | 2 +- api_docs/kbn_core_saved_objects_server.mdx | 2 +- api_docs/kbn_core_test_helpers_http_setup_browser.mdx | 2 +- api_docs/kbn_core_theme_browser.mdx | 2 +- api_docs/kbn_core_theme_browser_internal.mdx | 2 +- api_docs/kbn_core_theme_browser_mocks.mdx | 2 +- api_docs/kbn_core_ui_settings_browser.mdx | 2 +- api_docs/kbn_core_ui_settings_browser_internal.mdx | 2 +- api_docs/kbn_core_ui_settings_browser_mocks.mdx | 2 +- api_docs/kbn_core_ui_settings_common.mdx | 2 +- api_docs/kbn_crypto.mdx | 2 +- api_docs/kbn_crypto_browser.mdx | 2 +- api_docs/kbn_datemath.mdx | 2 +- api_docs/kbn_dev_cli_errors.mdx | 2 +- api_docs/kbn_dev_cli_runner.mdx | 2 +- api_docs/kbn_dev_proc_runner.mdx | 2 +- api_docs/kbn_dev_utils.mdx | 2 +- api_docs/kbn_doc_links.mdx | 2 +- api_docs/kbn_docs_utils.mdx | 2 +- api_docs/kbn_es_archiver.mdx | 2 +- api_docs/kbn_es_errors.mdx | 2 +- api_docs/kbn_es_query.mdx | 2 +- api_docs/kbn_eslint_plugin_imports.mdx | 2 +- api_docs/kbn_field_types.mdx | 2 +- api_docs/kbn_find_used_node_modules.mdx | 2 +- api_docs/kbn_generate.mdx | 2 +- api_docs/kbn_get_repo_files.mdx | 2 +- api_docs/kbn_handlebars.mdx | 2 +- api_docs/kbn_hapi_mocks.mdx | 2 +- api_docs/kbn_home_sample_data_card.mdx | 2 +- api_docs/kbn_home_sample_data_tab.mdx | 2 +- api_docs/kbn_i18n.mdx | 2 +- api_docs/kbn_import_resolver.mdx | 2 +- api_docs/kbn_interpreter.mdx | 2 +- api_docs/kbn_io_ts_utils.mdx | 2 +- api_docs/kbn_jest_serializers.mdx | 2 +- api_docs/kbn_kibana_json_schema.mdx | 2 +- api_docs/kbn_logging.mdx | 2 +- api_docs/kbn_logging_mocks.mdx | 2 +- api_docs/kbn_mapbox_gl.mdx | 2 +- api_docs/kbn_ml_agg_utils.mdx | 2 +- api_docs/kbn_ml_is_populated_object.mdx | 2 +- api_docs/kbn_ml_string_hash.mdx | 2 +- api_docs/kbn_monaco.mdx | 2 +- api_docs/kbn_optimizer.mdx | 2 +- api_docs/kbn_optimizer_webpack_helpers.mdx | 2 +- api_docs/kbn_performance_testing_dataset_extractor.mdx | 2 +- api_docs/kbn_plugin_generator.mdx | 2 +- api_docs/kbn_plugin_helpers.mdx | 2 +- api_docs/kbn_react_field.mdx | 2 +- api_docs/kbn_repo_source_classifier.mdx | 2 +- api_docs/kbn_rule_data_utils.mdx | 2 +- api_docs/kbn_scalability_simulation_generator.mdx | 2 +- api_docs/kbn_securitysolution_autocomplete.mdx | 2 +- api_docs/kbn_securitysolution_es_utils.mdx | 2 +- api_docs/kbn_securitysolution_hook_utils.mdx | 2 +- api_docs/kbn_securitysolution_io_ts_alerting_types.mdx | 2 +- api_docs/kbn_securitysolution_io_ts_list_types.mdx | 2 +- api_docs/kbn_securitysolution_io_ts_types.mdx | 2 +- api_docs/kbn_securitysolution_io_ts_utils.mdx | 2 +- api_docs/kbn_securitysolution_list_api.mdx | 2 +- api_docs/kbn_securitysolution_list_constants.mdx | 2 +- api_docs/kbn_securitysolution_list_hooks.mdx | 2 +- api_docs/kbn_securitysolution_list_utils.mdx | 2 +- api_docs/kbn_securitysolution_rules.mdx | 2 +- api_docs/kbn_securitysolution_t_grid.mdx | 2 +- api_docs/kbn_securitysolution_utils.mdx | 2 +- api_docs/kbn_server_http_tools.mdx | 2 +- api_docs/kbn_server_route_repository.mdx | 2 +- api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx | 2 +- api_docs/kbn_shared_ux_button_toolbar.mdx | 2 +- api_docs/kbn_shared_ux_card_no_data.mdx | 2 +- api_docs/kbn_shared_ux_card_no_data_mocks.mdx | 2 +- api_docs/kbn_shared_ux_components.mdx | 2 +- api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_analytics_no_data.mdx | 2 +- api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_kibana_no_data.mdx | 2 +- api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_solution_nav.mdx | 2 +- api_docs/kbn_shared_ux_prompt_no_data_views.mdx | 2 +- api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx | 2 +- api_docs/kbn_shared_ux_services.mdx | 2 +- api_docs/kbn_shared_ux_storybook.mdx | 2 +- api_docs/kbn_shared_ux_storybook_mock.mdx | 2 +- api_docs/kbn_shared_ux_utility.mdx | 2 +- api_docs/kbn_some_dev_log.mdx | 2 +- api_docs/kbn_sort_package_json.mdx | 2 +- api_docs/kbn_std.mdx | 2 +- api_docs/kbn_stdio_dev_helpers.mdx | 2 +- api_docs/kbn_storybook.mdx | 2 +- api_docs/kbn_telemetry_tools.mdx | 2 +- api_docs/kbn_test.mdx | 2 +- api_docs/kbn_test_jest_helpers.mdx | 2 +- api_docs/kbn_tooling_log.mdx | 2 +- api_docs/kbn_type_summarizer.mdx | 2 +- api_docs/kbn_type_summarizer_core.mdx | 2 +- api_docs/kbn_typed_react_router_config.mdx | 2 +- api_docs/kbn_ui_theme.mdx | 2 +- api_docs/kbn_utility_types.mdx | 2 +- api_docs/kbn_utility_types_jest.mdx | 2 +- api_docs/kbn_utils.mdx | 2 +- api_docs/kbn_yarn_lock_validator.mdx | 2 +- api_docs/kibana_overview.mdx | 2 +- api_docs/kibana_react.mdx | 2 +- api_docs/kibana_utils.mdx | 2 +- api_docs/kubernetes_security.mdx | 2 +- api_docs/lens.mdx | 2 +- api_docs/license_api_guard.mdx | 2 +- api_docs/license_management.mdx | 2 +- api_docs/licensing.mdx | 2 +- api_docs/lists.mdx | 2 +- api_docs/management.mdx | 2 +- api_docs/maps.mdx | 2 +- api_docs/maps_ems.mdx | 2 +- api_docs/ml.mdx | 2 +- api_docs/monitoring.mdx | 2 +- api_docs/monitoring_collection.mdx | 2 +- api_docs/navigation.mdx | 2 +- api_docs/newsfeed.mdx | 2 +- api_docs/observability.mdx | 2 +- api_docs/osquery.mdx | 2 +- api_docs/plugin_directory.mdx | 2 +- api_docs/presentation_util.mdx | 2 +- api_docs/remote_clusters.mdx | 2 +- api_docs/reporting.mdx | 2 +- api_docs/rollup.mdx | 2 +- api_docs/rule_registry.mdx | 2 +- api_docs/runtime_fields.mdx | 2 +- api_docs/saved_objects.mdx | 2 +- api_docs/saved_objects_management.mdx | 2 +- api_docs/saved_objects_tagging.mdx | 2 +- api_docs/saved_objects_tagging_oss.mdx | 2 +- api_docs/screenshot_mode.mdx | 2 +- api_docs/screenshotting.mdx | 2 +- api_docs/security.mdx | 2 +- api_docs/security_solution.mdx | 2 +- api_docs/session_view.mdx | 2 +- api_docs/share.mdx | 2 +- api_docs/shared_u_x.mdx | 2 +- api_docs/snapshot_restore.mdx | 2 +- api_docs/spaces.mdx | 2 +- api_docs/stack_alerts.mdx | 2 +- api_docs/task_manager.mdx | 2 +- api_docs/telemetry.mdx | 2 +- api_docs/telemetry_collection_manager.mdx | 2 +- api_docs/telemetry_collection_xpack.mdx | 2 +- api_docs/telemetry_management_section.mdx | 2 +- api_docs/threat_intelligence.mdx | 2 +- api_docs/timelines.mdx | 2 +- api_docs/transform.mdx | 2 +- api_docs/triggers_actions_ui.mdx | 2 +- api_docs/ui_actions.mdx | 2 +- api_docs/ui_actions_enhanced.mdx | 2 +- api_docs/unified_search.mdx | 2 +- api_docs/unified_search_autocomplete.mdx | 2 +- api_docs/url_forwarding.mdx | 2 +- api_docs/usage_collection.mdx | 2 +- api_docs/ux.mdx | 2 +- api_docs/vis_default_editor.mdx | 2 +- api_docs/vis_type_gauge.mdx | 2 +- api_docs/vis_type_heatmap.mdx | 2 +- api_docs/vis_type_pie.mdx | 2 +- api_docs/vis_type_table.mdx | 2 +- api_docs/vis_type_timelion.mdx | 2 +- api_docs/vis_type_timeseries.mdx | 2 +- api_docs/vis_type_vega.mdx | 2 +- api_docs/vis_type_vislib.mdx | 2 +- api_docs/vis_type_xy.mdx | 2 +- api_docs/visualizations.mdx | 2 +- 334 files changed, 334 insertions(+), 334 deletions(-) diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index 3127d025ac00ef..f7bb01e25d9384 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/actions title: "actions" image: https://source.unsplash.com/400x175/?github summary: API docs for the actions plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/advanced_settings.mdx b/api_docs/advanced_settings.mdx index f493ed3b11eae1..3e732e8e88e6f1 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/advancedSettings title: "advancedSettings" image: https://source.unsplash.com/400x175/?github summary: API docs for the advancedSettings plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index 7388acf37cf60b..e44d59e6dea492 100644 --- a/api_docs/aiops.mdx +++ b/api_docs/aiops.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/aiops title: "aiops" image: https://source.unsplash.com/400x175/?github summary: API docs for the aiops plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index 5a65fdf22abeb9..1a87b84dc9a335 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/alerting title: "alerting" image: https://source.unsplash.com/400x175/?github summary: API docs for the alerting plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index a80eced68cb109..ae0fa6df74ffff 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/apm title: "apm" image: https://source.unsplash.com/400x175/?github summary: API docs for the apm plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index 81951fe13a67cd..3750ca01d583fa 100644 --- a/api_docs/banners.mdx +++ b/api_docs/banners.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/banners title: "banners" image: https://source.unsplash.com/400x175/?github summary: API docs for the banners plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/bfetch.mdx b/api_docs/bfetch.mdx index b73772f7e6a6b1..6a52f8c5a9cece 100644 --- a/api_docs/bfetch.mdx +++ b/api_docs/bfetch.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/bfetch title: "bfetch" image: https://source.unsplash.com/400x175/?github summary: API docs for the bfetch plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index 44fab1f61bb9ca..253da4cefb3dac 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/canvas title: "canvas" image: https://source.unsplash.com/400x175/?github summary: API docs for the canvas plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index 8d1dc5025baa2d..1220d720c08fb2 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/cases title: "cases" image: https://source.unsplash.com/400x175/?github summary: API docs for the cases plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index 23b2802818ea31..fe358c9a3b787a 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/charts title: "charts" image: https://source.unsplash.com/400x175/?github summary: API docs for the charts plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/cloud.mdx b/api_docs/cloud.mdx index 49e09a5e6e0ab5..e12421591cb926 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/cloud title: "cloud" image: https://source.unsplash.com/400x175/?github summary: API docs for the cloud plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/cloud_security_posture.mdx b/api_docs/cloud_security_posture.mdx index b3559c7a890db2..0923baacb5d09b 100644 --- a/api_docs/cloud_security_posture.mdx +++ b/api_docs/cloud_security_posture.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/cloudSecurityPosture title: "cloudSecurityPosture" image: https://source.unsplash.com/400x175/?github summary: API docs for the cloudSecurityPosture plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/console.mdx b/api_docs/console.mdx index 68334e5dc8805f..80f6909d393a12 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/console title: "console" image: https://source.unsplash.com/400x175/?github summary: API docs for the console plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/controls.mdx b/api_docs/controls.mdx index 97210fbb7c8320..b9b1181df60758 100644 --- a/api_docs/controls.mdx +++ b/api_docs/controls.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/controls title: "controls" image: https://source.unsplash.com/400x175/?github summary: API docs for the controls plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/core.mdx b/api_docs/core.mdx index 2586e02a9a62de..ae7478cf27e378 100644 --- a/api_docs/core.mdx +++ b/api_docs/core.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/core title: "core" image: https://source.unsplash.com/400x175/?github summary: API docs for the core plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/core_application.mdx b/api_docs/core_application.mdx index 94207783ff33de..07eda07da62326 100644 --- a/api_docs/core_application.mdx +++ b/api_docs/core_application.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/core-application title: "core.application" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.application plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core.application'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/core_chrome.mdx b/api_docs/core_chrome.mdx index 1b578cc58b012e..2419f0fd53f633 100644 --- a/api_docs/core_chrome.mdx +++ b/api_docs/core_chrome.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/core-chrome title: "core.chrome" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.chrome plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core.chrome'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/core_saved_objects.mdx b/api_docs/core_saved_objects.mdx index 5f60b273425570..ec6e025c46e9a4 100644 --- a/api_docs/core_saved_objects.mdx +++ b/api_docs/core_saved_objects.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/core-savedObjects title: "core.savedObjects" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.savedObjects plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core.savedObjects'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index ca7895e62ba4a2..e46f2a31dfdbba 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/customIntegrations title: "customIntegrations" image: https://source.unsplash.com/400x175/?github summary: API docs for the customIntegrations plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'customIntegrations'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index 7a1d68c7aedcee..926b8b6bc1101d 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dashboard title: "dashboard" image: https://source.unsplash.com/400x175/?github summary: API docs for the dashboard plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboard'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index 5c3f41f966132a..5afcf50324c79c 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dashboardEnhanced title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the dashboardEnhanced plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboardEnhanced'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data.mdx b/api_docs/data.mdx index b6b298435e54af..d9459fcc9e99dc 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/data title: "data" image: https://source.unsplash.com/400x175/?github summary: API docs for the data plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index 7cf5501692bc13..b8f551908a5537 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/data-query title: "data.query" image: https://source.unsplash.com/400x175/?github summary: API docs for the data.query plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index c039bf2fe3bdd7..d9bc75b1d8bd37 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/data-search title: "data.search" image: https://source.unsplash.com/400x175/?github summary: API docs for the data.search plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index 0d21905f2d7956..65724d31f4d673 100644 --- a/api_docs/data_view_editor.mdx +++ b/api_docs/data_view_editor.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dataViewEditor title: "dataViewEditor" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataViewEditor plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewEditor'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_view_field_editor.mdx b/api_docs/data_view_field_editor.mdx index 0973dd16ac748d..0fd50cf73719f6 100644 --- a/api_docs/data_view_field_editor.mdx +++ b/api_docs/data_view_field_editor.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dataViewFieldEditor title: "dataViewFieldEditor" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataViewFieldEditor plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewFieldEditor'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_view_management.mdx b/api_docs/data_view_management.mdx index 27321f447dcf05..5cf1641bf541df 100644 --- a/api_docs/data_view_management.mdx +++ b/api_docs/data_view_management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dataViewManagement title: "dataViewManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataViewManagement plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewManagement'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index b85c26892369f3..01173b285f0843 100644 --- a/api_docs/data_views.mdx +++ b/api_docs/data_views.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dataViews title: "dataViews" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataViews plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index c078303f77db70..11b0e969f046b4 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dataVisualizer title: "dataVisualizer" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataVisualizer plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataVisualizer'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index 1758230ac22217..9b750d9f7b8d39 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -3,7 +3,7 @@ id: kibDevDocsDeprecationsByApi slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API summary: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. --- diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index e3951bac529e1b..4c2f0d8da5b580 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -3,7 +3,7 @@ id: kibDevDocsDeprecationsByPlugin slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin summary: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. --- diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index b013e6bea73c55..73c047b434b878 100644 --- a/api_docs/deprecations_by_team.mdx +++ b/api_docs/deprecations_by_team.mdx @@ -3,7 +3,7 @@ id: kibDevDocsDeprecationsDueByTeam slug: /kibana-dev-docs/api-meta/deprecations-due-by-team title: Deprecated APIs due to be removed, by team summary: Lists the teams that are referencing deprecated APIs with a remove by date. -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. --- diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 7ee0f15f0d05b8..abfe2297c55b17 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/devTools title: "devTools" image: https://source.unsplash.com/400x175/?github summary: API docs for the devTools plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'devTools'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index 56157bfa62c6a6..bebde841bac8c0 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/discover title: "discover" image: https://source.unsplash.com/400x175/?github summary: API docs for the discover plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discover'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index df7337b0cacbbc..3e6a07af2f652a 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/discoverEnhanced title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the discoverEnhanced plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverEnhanced'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/elastic_apm_synthtrace.mdx b/api_docs/elastic_apm_synthtrace.mdx index 461fe7310df9be..6364161110a41a 100644 --- a/api_docs/elastic_apm_synthtrace.mdx +++ b/api_docs/elastic_apm_synthtrace.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/elastic-apm-synthtrace title: "@elastic/apm-synthtrace" image: https://source.unsplash.com/400x175/?github summary: API docs for the @elastic/apm-synthtrace plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@elastic/apm-synthtrace'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index 6ae7afd59ec445..2aeebb8ac57831 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/embeddable title: "embeddable" image: https://source.unsplash.com/400x175/?github summary: API docs for the embeddable plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index 52b49ec4c3e437..448511690897e4 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/embeddableEnhanced title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the embeddableEnhanced plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddableEnhanced'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/encrypted_saved_objects.mdx b/api_docs/encrypted_saved_objects.mdx index b7026c4087f4cf..08d6bf48adafaa 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/encryptedSavedObjects title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github summary: API docs for the encryptedSavedObjects plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'encryptedSavedObjects'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index 20277997c0f695..d7eb9e08baae57 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/enterpriseSearch title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github summary: API docs for the enterpriseSearch plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index ca8eb5b60f93c0..9ba38cc6b398f2 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/esUiShared title: "esUiShared" image: https://source.unsplash.com/400x175/?github summary: API docs for the esUiShared plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/event_annotation.mdx b/api_docs/event_annotation.mdx index a7cdfa9aaf73e9..f632de19a82e3c 100644 --- a/api_docs/event_annotation.mdx +++ b/api_docs/event_annotation.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/eventAnnotation title: "eventAnnotation" image: https://source.unsplash.com/400x175/?github summary: API docs for the eventAnnotation plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotation'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index 68cd822500ac3b..f387ecb0aa8d58 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/eventLog title: "eventLog" image: https://source.unsplash.com/400x175/?github summary: API docs for the eventLog plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventLog'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index 856eb8fdd2403a..7b6d2afbb34ed1 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionError title: "expressionError" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionError plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionError'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_gauge.mdx b/api_docs/expression_gauge.mdx index 33e68076ef95e4..a45e8792d4e5bb 100644 --- a/api_docs/expression_gauge.mdx +++ b/api_docs/expression_gauge.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionGauge title: "expressionGauge" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionGauge plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionGauge'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_heatmap.mdx b/api_docs/expression_heatmap.mdx index bd84713d7e80ae..87c7ed8a12c082 100644 --- a/api_docs/expression_heatmap.mdx +++ b/api_docs/expression_heatmap.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionHeatmap title: "expressionHeatmap" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionHeatmap plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionHeatmap'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index 3186513b49cf4d..a97107c4c88680 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionImage title: "expressionImage" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionImage plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionImage'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_legacy_metric_vis.mdx b/api_docs/expression_legacy_metric_vis.mdx index b1b1fcacbe9fb7..ee0035fb2bfe13 100644 --- a/api_docs/expression_legacy_metric_vis.mdx +++ b/api_docs/expression_legacy_metric_vis.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionLegacyMetricVis title: "expressionLegacyMetricVis" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionLegacyMetricVis plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionLegacyMetricVis'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index 86c8b86944b22b..3b3d3957c6be55 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionMetric title: "expressionMetric" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionMetric plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetric'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_metric_vis.mdx b/api_docs/expression_metric_vis.mdx index eb31d7ccf6d27a..81ee9ba2ecc76b 100644 --- a/api_docs/expression_metric_vis.mdx +++ b/api_docs/expression_metric_vis.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionMetricVis title: "expressionMetricVis" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionMetricVis plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetricVis'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_partition_vis.mdx b/api_docs/expression_partition_vis.mdx index 86de8c461de9e8..b1fe77b3e43fd6 100644 --- a/api_docs/expression_partition_vis.mdx +++ b/api_docs/expression_partition_vis.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionPartitionVis title: "expressionPartitionVis" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionPartitionVis plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPartitionVis'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index d9f6a33eb742e9..01aefe4eec1597 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionRepeatImage title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionRepeatImage plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRepeatImage'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index 791a617344fe03..a16b5567249426 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionRevealImage title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionRevealImage plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRevealImage'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index 833a06f2c70972..b4627eb33a1e75 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionShape title: "expressionShape" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionShape plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionShape'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index 91ee8d80c1f458..d4da7ddf7ef6d8 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionTagcloud title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionTagcloud plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionTagcloud'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_x_y.mdx b/api_docs/expression_x_y.mdx index 12a32ad0013823..92c148cb1f82e6 100644 --- a/api_docs/expression_x_y.mdx +++ b/api_docs/expression_x_y.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionXY title: "expressionXY" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionXY plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionXY'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index 2a412f9c70d3c8..48fc3ea195edce 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressions title: "expressions" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressions plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressions'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/features.mdx b/api_docs/features.mdx index c7260f00f52053..b90983d8db4acc 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/features title: "features" image: https://source.unsplash.com/400x175/?github summary: API docs for the features plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'features'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index 123761b9fcd09f..8311b238cf3f7f 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/fieldFormats title: "fieldFormats" image: https://source.unsplash.com/400x175/?github summary: API docs for the fieldFormats plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldFormats'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index b39411a7fdc919..bc388f968a07d6 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/fileUpload title: "fileUpload" image: https://source.unsplash.com/400x175/?github summary: API docs for the fileUpload plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index dea5e302a5870d..f053e27a1db3b3 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/fleet title: "fleet" image: https://source.unsplash.com/400x175/?github summary: API docs for the fleet plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fleet'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index b2fcc056cc9b96..69e114f3016126 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/globalSearch title: "globalSearch" image: https://source.unsplash.com/400x175/?github summary: API docs for the globalSearch plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'globalSearch'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/home.mdx b/api_docs/home.mdx index eae7eae1c60f87..fa53c63e8a4f7e 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/home title: "home" image: https://source.unsplash.com/400x175/?github summary: API docs for the home plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'home'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index 0d12dfb8c7d659..115412bee2bee7 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/indexLifecycleManagement title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexLifecycleManagement plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexLifecycleManagement'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index 6de5b09520306c..f94d5030209bc3 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/indexManagement title: "indexManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexManagement plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexManagement'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index a03c5d0927ceef..7d3267adea8957 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/infra title: "infra" image: https://source.unsplash.com/400x175/?github summary: API docs for the infra plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'infra'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index d31d956e092edc..055175acb3dc04 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/inspector title: "inspector" image: https://source.unsplash.com/400x175/?github summary: API docs for the inspector plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inspector'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/interactive_setup.mdx b/api_docs/interactive_setup.mdx index 6669cc9c41bea3..8e98d28d5fa9da 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/interactiveSetup title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github summary: API docs for the interactiveSetup plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'interactiveSetup'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ace.mdx b/api_docs/kbn_ace.mdx index d2c233308f515d..f43cd64134e975 100644 --- a/api_docs/kbn_ace.mdx +++ b/api_docs/kbn_ace.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ace title: "@kbn/ace" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ace plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index 1bff8ac3111379..e5363589ee61e1 100644 --- a/api_docs/kbn_aiops_components.mdx +++ b/api_docs/kbn_aiops_components.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-components title: "@kbn/aiops-components" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/aiops-components plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_aiops_utils.mdx b/api_docs/kbn_aiops_utils.mdx index 02ba583591f813..257b36c30031fc 100644 --- a/api_docs/kbn_aiops_utils.mdx +++ b/api_docs/kbn_aiops_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-utils title: "@kbn/aiops-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/aiops-utils plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_alerts.mdx b/api_docs/kbn_alerts.mdx index a536183eb818ab..ebc41042c8641e 100644 --- a/api_docs/kbn_alerts.mdx +++ b/api_docs/kbn_alerts.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-alerts title: "@kbn/alerts" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/alerts plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx index 907fa189276e33..139732cf778d59 100644 --- a/api_docs/kbn_analytics.mdx +++ b/api_docs/kbn_analytics.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics title: "@kbn/analytics" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics_client.mdx b/api_docs/kbn_analytics_client.mdx index 03547dc3dc8b0d..7707a8d5afbf70 100644 --- a/api_docs/kbn_analytics_client.mdx +++ b/api_docs/kbn_analytics_client.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-client title: "@kbn/analytics-client" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics-client plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-client'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx index 2342e896bc23a8..bf07aaeddd450e 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-browser title: "@kbn/analytics-shippers-elastic-v3-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics-shippers-elastic-v3-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx index fc34b94fd223b1..22a04d486aad98 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-common title: "@kbn/analytics-shippers-elastic-v3-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics-shippers-elastic-v3-common plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx index 0eb9ed5cb2dd87..92d18b16984238 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-server title: "@kbn/analytics-shippers-elastic-v3-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics-shippers-elastic-v3-server plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics_shippers_fullstory.mdx b/api_docs/kbn_analytics_shippers_fullstory.mdx index bdf5231f569b72..0533536bce00b3 100644 --- a/api_docs/kbn_analytics_shippers_fullstory.mdx +++ b/api_docs/kbn_analytics_shippers_fullstory.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-fullstory title: "@kbn/analytics-shippers-fullstory" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics-shippers-fullstory plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-fullstory'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx index 03ee436292042d..dfb1e60db82307 100644 --- a/api_docs/kbn_apm_config_loader.mdx +++ b/api_docs/kbn_apm_config_loader.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-apm-config-loader title: "@kbn/apm-config-loader" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/apm-config-loader plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-config-loader'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_apm_utils.mdx b/api_docs/kbn_apm_utils.mdx index d43ab1f456c1f2..4e7455e6e327a8 100644 --- a/api_docs/kbn_apm_utils.mdx +++ b/api_docs/kbn_apm_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-apm-utils title: "@kbn/apm-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/apm-utils plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_axe_config.mdx b/api_docs/kbn_axe_config.mdx index e1e5427e816dd6..73c1598af04773 100644 --- a/api_docs/kbn_axe_config.mdx +++ b/api_docs/kbn_axe_config.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-axe-config title: "@kbn/axe-config" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/axe-config plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_bazel_packages.mdx b/api_docs/kbn_bazel_packages.mdx index 194ab17cb9d019..d675e42fd8cf0c 100644 --- a/api_docs/kbn_bazel_packages.mdx +++ b/api_docs/kbn_bazel_packages.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-bazel-packages title: "@kbn/bazel-packages" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/bazel-packages plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/bazel-packages'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ci_stats_core.mdx b/api_docs/kbn_ci_stats_core.mdx index f3e0a9cf24e15d..4b56a4c5ba7764 100644 --- a/api_docs/kbn_ci_stats_core.mdx +++ b/api_docs/kbn_ci_stats_core.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-core title: "@kbn/ci-stats-core" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ci-stats-core plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-core'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ci_stats_performance_metrics.mdx b/api_docs/kbn_ci_stats_performance_metrics.mdx index 55988a0adc5bb8..97d996d823809d 100644 --- a/api_docs/kbn_ci_stats_performance_metrics.mdx +++ b/api_docs/kbn_ci_stats_performance_metrics.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-performance-metrics title: "@kbn/ci-stats-performance-metrics" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ci-stats-performance-metrics plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-performance-metrics'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ci_stats_reporter.mdx b/api_docs/kbn_ci_stats_reporter.mdx index 3ecbafb8017d1a..ee5a43f33e6bbf 100644 --- a/api_docs/kbn_ci_stats_reporter.mdx +++ b/api_docs/kbn_ci_stats_reporter.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-reporter title: "@kbn/ci-stats-reporter" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ci-stats-reporter plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-reporter'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_cli_dev_mode.mdx b/api_docs/kbn_cli_dev_mode.mdx index eb95895d4f2c98..59cd8153b83a82 100644 --- a/api_docs/kbn_cli_dev_mode.mdx +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-cli-dev-mode title: "@kbn/cli-dev-mode" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/cli-dev-mode plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index 8027003ed54d5c..ba88089df8ffbf 100644 --- a/api_docs/kbn_coloring.mdx +++ b/api_docs/kbn_coloring.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-coloring title: "@kbn/coloring" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/coloring plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/coloring'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_config.mdx b/api_docs/kbn_config.mdx index c60cfae02e1465..a9cfdaed0904bc 100644 --- a/api_docs/kbn_config.mdx +++ b/api_docs/kbn_config.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-config title: "@kbn/config" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/config plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_config_mocks.mdx b/api_docs/kbn_config_mocks.mdx index 8ba01134d6831c..34e73287f5705d 100644 --- a/api_docs/kbn_config_mocks.mdx +++ b/api_docs/kbn_config_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-config-mocks title: "@kbn/config-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/config-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_config_schema.mdx b/api_docs/kbn_config_schema.mdx index 6882993f02b54e..cdbc9faa3369fa 100644 --- a/api_docs/kbn_config_schema.mdx +++ b/api_docs/kbn_config_schema.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-config-schema title: "@kbn/config-schema" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/config-schema plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-schema'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_browser.mdx b/api_docs/kbn_core_analytics_browser.mdx index 92459cf774a587..1108b229b59dda 100644 --- a/api_docs/kbn_core_analytics_browser.mdx +++ b/api_docs/kbn_core_analytics_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser title: "@kbn/core-analytics-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_browser_internal.mdx b/api_docs/kbn_core_analytics_browser_internal.mdx index ecb1c29fc050b9..be4e2913005ea4 100644 --- a/api_docs/kbn_core_analytics_browser_internal.mdx +++ b/api_docs/kbn_core_analytics_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-internal title: "@kbn/core-analytics-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-browser-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_browser_mocks.mdx b/api_docs/kbn_core_analytics_browser_mocks.mdx index e2d3b2204c4b41..c8f3a2658deae1 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.mdx +++ b/api_docs/kbn_core_analytics_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-mocks title: "@kbn/core-analytics-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-browser-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_server.mdx b/api_docs/kbn_core_analytics_server.mdx index f15fc8dbfb0471..7076927e488aa4 100644 --- a/api_docs/kbn_core_analytics_server.mdx +++ b/api_docs/kbn_core_analytics_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server title: "@kbn/core-analytics-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-server plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_server_internal.mdx b/api_docs/kbn_core_analytics_server_internal.mdx index de611d066bbef9..aba28420734823 100644 --- a/api_docs/kbn_core_analytics_server_internal.mdx +++ b/api_docs/kbn_core_analytics_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-internal title: "@kbn/core-analytics-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-server-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_server_mocks.mdx b/api_docs/kbn_core_analytics_server_mocks.mdx index 4ec4fa067f97b8..dac543d8d30847 100644 --- a/api_docs/kbn_core_analytics_server_mocks.mdx +++ b/api_docs/kbn_core_analytics_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-mocks title: "@kbn/core-analytics-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_base_browser_mocks.mdx b/api_docs/kbn_core_base_browser_mocks.mdx index 67420a6d2cc684..60bf6e7be6df94 100644 --- a/api_docs/kbn_core_base_browser_mocks.mdx +++ b/api_docs/kbn_core_base_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-browser-mocks title: "@kbn/core-base-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-base-browser-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_base_common.mdx b/api_docs/kbn_core_base_common.mdx index 1b297a096b776a..ef438055a41fce 100644 --- a/api_docs/kbn_core_base_common.mdx +++ b/api_docs/kbn_core_base_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-common title: "@kbn/core-base-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-base-common plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_base_server_internal.mdx b/api_docs/kbn_core_base_server_internal.mdx index edf776c2dbe882..b1b4ecf35d7d44 100644 --- a/api_docs/kbn_core_base_server_internal.mdx +++ b/api_docs/kbn_core_base_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-internal title: "@kbn/core-base-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-base-server-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_base_server_mocks.mdx b/api_docs/kbn_core_base_server_mocks.mdx index a4009c77a1da27..6e944c2854fc76 100644 --- a/api_docs/kbn_core_base_server_mocks.mdx +++ b/api_docs/kbn_core_base_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-mocks title: "@kbn/core-base-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-base-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_capabilities_common.mdx b/api_docs/kbn_core_capabilities_common.mdx index 8758633c0597ef..41caf389776f66 100644 --- a/api_docs/kbn_core_capabilities_common.mdx +++ b/api_docs/kbn_core_capabilities_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-common title: "@kbn/core-capabilities-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-capabilities-common plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_capabilities_server.mdx b/api_docs/kbn_core_capabilities_server.mdx index 29c2f366e52bb2..9513211902a2b2 100644 --- a/api_docs/kbn_core_capabilities_server.mdx +++ b/api_docs/kbn_core_capabilities_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server title: "@kbn/core-capabilities-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-capabilities-server plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_capabilities_server_mocks.mdx b/api_docs/kbn_core_capabilities_server_mocks.mdx index 8eaf322030b0e2..baf04a967b0497 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.mdx +++ b/api_docs/kbn_core_capabilities_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server-mocks title: "@kbn/core-capabilities-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-capabilities-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_config_server_internal.mdx b/api_docs/kbn_core_config_server_internal.mdx index b5fe302b3be902..6188275bc6d296 100644 --- a/api_docs/kbn_core_config_server_internal.mdx +++ b/api_docs/kbn_core_config_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-config-server-internal title: "@kbn/core-config-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-config-server-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-config-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_deprecations_browser.mdx b/api_docs/kbn_core_deprecations_browser.mdx index 2f6b238c5c4bbb..0bfdb0578a7bb5 100644 --- a/api_docs/kbn_core_deprecations_browser.mdx +++ b/api_docs/kbn_core_deprecations_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser title: "@kbn/core-deprecations-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-deprecations-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_deprecations_browser_internal.mdx b/api_docs/kbn_core_deprecations_browser_internal.mdx index c0f5f9769288c9..58b387cab9d5a5 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.mdx +++ b/api_docs/kbn_core_deprecations_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-internal title: "@kbn/core-deprecations-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-deprecations-browser-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_deprecations_browser_mocks.mdx b/api_docs/kbn_core_deprecations_browser_mocks.mdx index 60ea9a4e4a1203..a83ed2cbc7d850 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.mdx +++ b/api_docs/kbn_core_deprecations_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-mocks title: "@kbn/core-deprecations-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-deprecations-browser-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_deprecations_common.mdx b/api_docs/kbn_core_deprecations_common.mdx index 1dd5717a790f14..222de8ab019fc5 100644 --- a/api_docs/kbn_core_deprecations_common.mdx +++ b/api_docs/kbn_core_deprecations_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-common title: "@kbn/core-deprecations-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-deprecations-common plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_doc_links_browser.mdx b/api_docs/kbn_core_doc_links_browser.mdx index a2bc1dd10207c2..ea74885a3dfdb1 100644 --- a/api_docs/kbn_core_doc_links_browser.mdx +++ b/api_docs/kbn_core_doc_links_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser title: "@kbn/core-doc-links-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-doc-links-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_doc_links_browser_mocks.mdx b/api_docs/kbn_core_doc_links_browser_mocks.mdx index a0763b1afdac08..987b7e88d05900 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.mdx +++ b/api_docs/kbn_core_doc_links_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser-mocks title: "@kbn/core-doc-links-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-doc-links-browser-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_doc_links_server.mdx b/api_docs/kbn_core_doc_links_server.mdx index ffcb53cd45f43a..f2d747d9970b61 100644 --- a/api_docs/kbn_core_doc_links_server.mdx +++ b/api_docs/kbn_core_doc_links_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server title: "@kbn/core-doc-links-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-doc-links-server plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_doc_links_server_mocks.mdx b/api_docs/kbn_core_doc_links_server_mocks.mdx index dc057f9e21c583..683980650de23b 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.mdx +++ b/api_docs/kbn_core_doc_links_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server-mocks title: "@kbn/core-doc-links-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-doc-links-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx index 95d5051e85198d..1f428ecc27c1dd 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-internal title: "@kbn/core-elasticsearch-client-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-elasticsearch-client-server-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx index 574ae96732ba3f..7297da9e0b817d 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-mocks title: "@kbn/core-elasticsearch-client-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-elasticsearch-client-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_elasticsearch_server.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index 69a11e48caefdd..22d8e9c94b4b19 100644 --- a/api_docs/kbn_core_elasticsearch_server.mdx +++ b/api_docs/kbn_core_elasticsearch_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server title: "@kbn/core-elasticsearch-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-elasticsearch-server plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_elasticsearch_server_internal.mdx b/api_docs/kbn_core_elasticsearch_server_internal.mdx index 8d05819b18e87e..6740902a740636 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-internal title: "@kbn/core-elasticsearch-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-elasticsearch-server-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_elasticsearch_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_server_mocks.mdx index 4b7a11c2f6ef7b..4a772c6cf17f44 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-mocks title: "@kbn/core-elasticsearch-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-elasticsearch-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_environment_server_internal.mdx b/api_docs/kbn_core_environment_server_internal.mdx index dee4a5607e6989..81dd9b481ca4e5 100644 --- a/api_docs/kbn_core_environment_server_internal.mdx +++ b/api_docs/kbn_core_environment_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-internal title: "@kbn/core-environment-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-environment-server-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_environment_server_mocks.mdx b/api_docs/kbn_core_environment_server_mocks.mdx index 19f9e11b6b1ffc..8da58b9d4d37fb 100644 --- a/api_docs/kbn_core_environment_server_mocks.mdx +++ b/api_docs/kbn_core_environment_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-mocks title: "@kbn/core-environment-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-environment-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_browser.mdx b/api_docs/kbn_core_execution_context_browser.mdx index 02df456c029b47..f389f48e3ebadb 100644 --- a/api_docs/kbn_core_execution_context_browser.mdx +++ b/api_docs/kbn_core_execution_context_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser title: "@kbn/core-execution-context-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_browser_internal.mdx b/api_docs/kbn_core_execution_context_browser_internal.mdx index 29733859b056d0..87426bd0fcf5ae 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.mdx +++ b/api_docs/kbn_core_execution_context_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-internal title: "@kbn/core-execution-context-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-browser-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_browser_mocks.mdx b/api_docs/kbn_core_execution_context_browser_mocks.mdx index 5ee8fb741b0fcf..af4181bac0d05c 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.mdx +++ b/api_docs/kbn_core_execution_context_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-mocks title: "@kbn/core-execution-context-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-browser-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_common.mdx b/api_docs/kbn_core_execution_context_common.mdx index 49719e92a5401e..505d332e2bf471 100644 --- a/api_docs/kbn_core_execution_context_common.mdx +++ b/api_docs/kbn_core_execution_context_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-common title: "@kbn/core-execution-context-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-common plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_server.mdx b/api_docs/kbn_core_execution_context_server.mdx index 13ca7a214d3a95..0748bfcd69e790 100644 --- a/api_docs/kbn_core_execution_context_server.mdx +++ b/api_docs/kbn_core_execution_context_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server title: "@kbn/core-execution-context-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-server plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_server_internal.mdx b/api_docs/kbn_core_execution_context_server_internal.mdx index 8839871e6ed651..62562a5bc2b86a 100644 --- a/api_docs/kbn_core_execution_context_server_internal.mdx +++ b/api_docs/kbn_core_execution_context_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-internal title: "@kbn/core-execution-context-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-server-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_server_mocks.mdx b/api_docs/kbn_core_execution_context_server_mocks.mdx index 71a07ef2a38e86..b3a503c154f2cd 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.mdx +++ b/api_docs/kbn_core_execution_context_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-mocks title: "@kbn/core-execution-context-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_fatal_errors_browser.mdx b/api_docs/kbn_core_fatal_errors_browser.mdx index fbbcd9ee471316..d28c7051d38c60 100644 --- a/api_docs/kbn_core_fatal_errors_browser.mdx +++ b/api_docs/kbn_core_fatal_errors_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser title: "@kbn/core-fatal-errors-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-fatal-errors-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx index ccceb1e7916797..ff6b8d0856d70b 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser-mocks title: "@kbn/core-fatal-errors-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-fatal-errors-browser-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_browser.mdx b/api_docs/kbn_core_http_browser.mdx index 52cca28c332f73..b5357a956e0e84 100644 --- a/api_docs/kbn_core_http_browser.mdx +++ b/api_docs/kbn_core_http_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser title: "@kbn/core-http-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_browser_internal.mdx b/api_docs/kbn_core_http_browser_internal.mdx index 16916e7d60cc7e..5c3d3a26101ccb 100644 --- a/api_docs/kbn_core_http_browser_internal.mdx +++ b/api_docs/kbn_core_http_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-internal title: "@kbn/core-http-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-browser-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_browser_mocks.mdx b/api_docs/kbn_core_http_browser_mocks.mdx index e2a9a2aabb86a4..09d50941a20826 100644 --- a/api_docs/kbn_core_http_browser_mocks.mdx +++ b/api_docs/kbn_core_http_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-mocks title: "@kbn/core-http-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-browser-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_common.mdx b/api_docs/kbn_core_http_common.mdx index e397cf75e05070..fff3858eb2297e 100644 --- a/api_docs/kbn_core_http_common.mdx +++ b/api_docs/kbn_core_http_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-common title: "@kbn/core-http-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-common plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_context_server_mocks.mdx b/api_docs/kbn_core_http_context_server_mocks.mdx index d651e4149b1730..9e09ec44ff2819 100644 --- a/api_docs/kbn_core_http_context_server_mocks.mdx +++ b/api_docs/kbn_core_http_context_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-context-server-mocks title: "@kbn/core-http-context-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-context-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-context-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_router_server_internal.mdx b/api_docs/kbn_core_http_router_server_internal.mdx index 6773b6153af5b1..bc878091b92308 100644 --- a/api_docs/kbn_core_http_router_server_internal.mdx +++ b/api_docs/kbn_core_http_router_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-internal title: "@kbn/core-http-router-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-router-server-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_router_server_mocks.mdx b/api_docs/kbn_core_http_router_server_mocks.mdx index 0ed787ab1c9977..33ca13f1163997 100644 --- a/api_docs/kbn_core_http_router_server_mocks.mdx +++ b/api_docs/kbn_core_http_router_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-mocks title: "@kbn/core-http-router-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-router-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index 2121eb561db646..f23eeaaf149340 100644 --- a/api_docs/kbn_core_http_server.mdx +++ b/api_docs/kbn_core_http_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server title: "@kbn/core-http-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-server plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_server_internal.mdx b/api_docs/kbn_core_http_server_internal.mdx index 5a808b1b40c93b..ad71a51755383a 100644 --- a/api_docs/kbn_core_http_server_internal.mdx +++ b/api_docs/kbn_core_http_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-internal title: "@kbn/core-http-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-server-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_server_mocks.mdx b/api_docs/kbn_core_http_server_mocks.mdx index 5f9b0c0061a44b..bdf9a0433e30ef 100644 --- a/api_docs/kbn_core_http_server_mocks.mdx +++ b/api_docs/kbn_core_http_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-mocks title: "@kbn/core-http-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_i18n_browser.mdx b/api_docs/kbn_core_i18n_browser.mdx index 2ed81d5fa0af1d..64c2400dc8e688 100644 --- a/api_docs/kbn_core_i18n_browser.mdx +++ b/api_docs/kbn_core_i18n_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser title: "@kbn/core-i18n-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-i18n-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_i18n_browser_mocks.mdx b/api_docs/kbn_core_i18n_browser_mocks.mdx index 32ed6d914c93cf..c20ef8392e4366 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.mdx +++ b/api_docs/kbn_core_i18n_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser-mocks title: "@kbn/core-i18n-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-i18n-browser-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_injected_metadata_browser.mdx b/api_docs/kbn_core_injected_metadata_browser.mdx index fc7226e15c6385..84531503a2b3c6 100644 --- a/api_docs/kbn_core_injected_metadata_browser.mdx +++ b/api_docs/kbn_core_injected_metadata_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser title: "@kbn/core-injected-metadata-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-injected-metadata-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx index e4e14577c019d6..1a8bf3548bc48d 100644 --- a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx +++ b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser-mocks title: "@kbn/core-injected-metadata-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-injected-metadata-browser-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_integrations_browser_internal.mdx b/api_docs/kbn_core_integrations_browser_internal.mdx index 8b7b13a20a175d..0c7531d2b454ea 100644 --- a/api_docs/kbn_core_integrations_browser_internal.mdx +++ b/api_docs/kbn_core_integrations_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-internal title: "@kbn/core-integrations-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-integrations-browser-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_integrations_browser_mocks.mdx b/api_docs/kbn_core_integrations_browser_mocks.mdx index c7a99b56c75994..e69fe66e3bc166 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.mdx +++ b/api_docs/kbn_core_integrations_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-mocks title: "@kbn/core-integrations-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-integrations-browser-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_logging_server.mdx b/api_docs/kbn_core_logging_server.mdx index dad0dbe10d83b1..5d6d593023e6f8 100644 --- a/api_docs/kbn_core_logging_server.mdx +++ b/api_docs/kbn_core_logging_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server title: "@kbn/core-logging-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-logging-server plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_logging_server_internal.mdx b/api_docs/kbn_core_logging_server_internal.mdx index f757ab0bb45fd1..a3adeab5171081 100644 --- a/api_docs/kbn_core_logging_server_internal.mdx +++ b/api_docs/kbn_core_logging_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-internal title: "@kbn/core-logging-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-logging-server-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_logging_server_mocks.mdx b/api_docs/kbn_core_logging_server_mocks.mdx index 7fbff74b228353..f19509d3971788 100644 --- a/api_docs/kbn_core_logging_server_mocks.mdx +++ b/api_docs/kbn_core_logging_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-mocks title: "@kbn/core-logging-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-logging-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_metrics_collectors_server_internal.mdx b/api_docs/kbn_core_metrics_collectors_server_internal.mdx index 3758b848f25708..cc8e0d19f101f5 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-internal title: "@kbn/core-metrics-collectors-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-metrics-collectors-server-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx index 1fd56146003802..6d873369f3963a 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-mocks title: "@kbn/core-metrics-collectors-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-metrics-collectors-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_metrics_server.mdx b/api_docs/kbn_core_metrics_server.mdx index 7cd48be61dd17d..12a245adaf1157 100644 --- a/api_docs/kbn_core_metrics_server.mdx +++ b/api_docs/kbn_core_metrics_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server title: "@kbn/core-metrics-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-metrics-server plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_metrics_server_internal.mdx b/api_docs/kbn_core_metrics_server_internal.mdx index 20a0e20156f2e8..dbfc904b573962 100644 --- a/api_docs/kbn_core_metrics_server_internal.mdx +++ b/api_docs/kbn_core_metrics_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-internal title: "@kbn/core-metrics-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-metrics-server-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_metrics_server_mocks.mdx b/api_docs/kbn_core_metrics_server_mocks.mdx index e68776e760d978..ce3c3a0050b43a 100644 --- a/api_docs/kbn_core_metrics_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-mocks title: "@kbn/core-metrics-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-metrics-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_mount_utils_browser.mdx b/api_docs/kbn_core_mount_utils_browser.mdx index 8efe1445033de7..f6935d743f3180 100644 --- a/api_docs/kbn_core_mount_utils_browser.mdx +++ b/api_docs/kbn_core_mount_utils_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser title: "@kbn/core-mount-utils-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-mount-utils-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-mount-utils-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_mount_utils_browser_internal.mdx b/api_docs/kbn_core_mount_utils_browser_internal.mdx index 01e3c129885a32..c92be56eb9e415 100644 --- a/api_docs/kbn_core_mount_utils_browser_internal.mdx +++ b/api_docs/kbn_core_mount_utils_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser-internal title: "@kbn/core-mount-utils-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-mount-utils-browser-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-mount-utils-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_node_server.mdx b/api_docs/kbn_core_node_server.mdx index b9ae3e6a62a3bb..e0e1dd86832b22 100644 --- a/api_docs/kbn_core_node_server.mdx +++ b/api_docs/kbn_core_node_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server title: "@kbn/core-node-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-node-server plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_node_server_internal.mdx b/api_docs/kbn_core_node_server_internal.mdx index 41520d765f391d..fdae408b3b7ffa 100644 --- a/api_docs/kbn_core_node_server_internal.mdx +++ b/api_docs/kbn_core_node_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-internal title: "@kbn/core-node-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-node-server-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_node_server_mocks.mdx b/api_docs/kbn_core_node_server_mocks.mdx index 3486bbdd7abd3b..5cf908ad17c1b7 100644 --- a/api_docs/kbn_core_node_server_mocks.mdx +++ b/api_docs/kbn_core_node_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-mocks title: "@kbn/core-node-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-node-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_overlays_browser.mdx b/api_docs/kbn_core_overlays_browser.mdx index 6ffe1eb11647f6..6344f3337d8081 100644 --- a/api_docs/kbn_core_overlays_browser.mdx +++ b/api_docs/kbn_core_overlays_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser title: "@kbn/core-overlays-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-overlays-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_overlays_browser_internal.mdx b/api_docs/kbn_core_overlays_browser_internal.mdx index 15b662f861d441..851bec338d5fb4 100644 --- a/api_docs/kbn_core_overlays_browser_internal.mdx +++ b/api_docs/kbn_core_overlays_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-internal title: "@kbn/core-overlays-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-overlays-browser-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_overlays_browser_mocks.mdx b/api_docs/kbn_core_overlays_browser_mocks.mdx index f62f171e63b7d9..28c884c7585fc4 100644 --- a/api_docs/kbn_core_overlays_browser_mocks.mdx +++ b/api_docs/kbn_core_overlays_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-mocks title: "@kbn/core-overlays-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-overlays-browser-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_preboot_server.mdx b/api_docs/kbn_core_preboot_server.mdx index 4b34777fe8cdee..5ba5bf37724d65 100644 --- a/api_docs/kbn_core_preboot_server.mdx +++ b/api_docs/kbn_core_preboot_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server title: "@kbn/core-preboot-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-preboot-server plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_preboot_server_mocks.mdx b/api_docs/kbn_core_preboot_server_mocks.mdx index 9269349bb13462..12733e447b2d7d 100644 --- a/api_docs/kbn_core_preboot_server_mocks.mdx +++ b/api_docs/kbn_core_preboot_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server-mocks title: "@kbn/core-preboot-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-preboot-server-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_saved_objects_api_browser.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index a48d57e195c27b..0b382350cf10de 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.mdx +++ b/api_docs/kbn_core_saved_objects_api_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-browser title: "@kbn/core-saved-objects-api-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-saved-objects-api-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_saved_objects_api_server.mdx b/api_docs/kbn_core_saved_objects_api_server.mdx index 85bcd1f90cc737..9337f37dfaecf8 100644 --- a/api_docs/kbn_core_saved_objects_api_server.mdx +++ b/api_docs/kbn_core_saved_objects_api_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server title: "@kbn/core-saved-objects-api-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-saved-objects-api-server plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index 88506b2e497855..50e963451e833f 100644 --- a/api_docs/kbn_core_saved_objects_common.mdx +++ b/api_docs/kbn_core_saved_objects_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-common title: "@kbn/core-saved-objects-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-saved-objects-common plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index be7c84842d3746..433293fa788881 100644 --- a/api_docs/kbn_core_saved_objects_server.mdx +++ b/api_docs/kbn_core_saved_objects_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server title: "@kbn/core-saved-objects-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-saved-objects-server plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx index bfddb4d84867c1..ae71058c96d07d 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-http-setup-browser title: "@kbn/core-test-helpers-http-setup-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-test-helpers-http-setup-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-http-setup-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_theme_browser.mdx b/api_docs/kbn_core_theme_browser.mdx index 9c7b2a2b71ba94..28a89b79843802 100644 --- a/api_docs/kbn_core_theme_browser.mdx +++ b/api_docs/kbn_core_theme_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser title: "@kbn/core-theme-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-theme-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_theme_browser_internal.mdx b/api_docs/kbn_core_theme_browser_internal.mdx index 90dce8227c6a48..9824caaa721307 100644 --- a/api_docs/kbn_core_theme_browser_internal.mdx +++ b/api_docs/kbn_core_theme_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-internal title: "@kbn/core-theme-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-theme-browser-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_theme_browser_mocks.mdx b/api_docs/kbn_core_theme_browser_mocks.mdx index 81c9c1552e86a1..74d4fac6ba3fc6 100644 --- a/api_docs/kbn_core_theme_browser_mocks.mdx +++ b/api_docs/kbn_core_theme_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-mocks title: "@kbn/core-theme-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-theme-browser-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_ui_settings_browser.mdx b/api_docs/kbn_core_ui_settings_browser.mdx index 1aa24e727fe4d7..26107537aba3b2 100644 --- a/api_docs/kbn_core_ui_settings_browser.mdx +++ b/api_docs/kbn_core_ui_settings_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser title: "@kbn/core-ui-settings-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-ui-settings-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_ui_settings_browser_internal.mdx b/api_docs/kbn_core_ui_settings_browser_internal.mdx index 745380b26192e8..0f158774bed6e4 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.mdx +++ b/api_docs/kbn_core_ui_settings_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-internal title: "@kbn/core-ui-settings-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-ui-settings-browser-internal plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_ui_settings_browser_mocks.mdx b/api_docs/kbn_core_ui_settings_browser_mocks.mdx index 661236840e3926..f6500c70121a83 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-mocks title: "@kbn/core-ui-settings-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-ui-settings-browser-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_ui_settings_common.mdx b/api_docs/kbn_core_ui_settings_common.mdx index 3555cc48f6a1da..5b13548da7063b 100644 --- a/api_docs/kbn_core_ui_settings_common.mdx +++ b/api_docs/kbn_core_ui_settings_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-common title: "@kbn/core-ui-settings-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-ui-settings-common plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_crypto.mdx b/api_docs/kbn_crypto.mdx index b9a13c7e631c83..7b29b6ffdcac4c 100644 --- a/api_docs/kbn_crypto.mdx +++ b/api_docs/kbn_crypto.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-crypto title: "@kbn/crypto" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/crypto plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_crypto_browser.mdx b/api_docs/kbn_crypto_browser.mdx index 2b12f434bdd6cb..fe1ff0c64a95f3 100644 --- a/api_docs/kbn_crypto_browser.mdx +++ b/api_docs/kbn_crypto_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-crypto-browser title: "@kbn/crypto-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/crypto-browser plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_datemath.mdx b/api_docs/kbn_datemath.mdx index 79388148ea6ca1..6f52bfbaf46c85 100644 --- a/api_docs/kbn_datemath.mdx +++ b/api_docs/kbn_datemath.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-datemath title: "@kbn/datemath" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/datemath plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/datemath'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_dev_cli_errors.mdx b/api_docs/kbn_dev_cli_errors.mdx index d9d57ee926b074..dc33061a15e435 100644 --- a/api_docs/kbn_dev_cli_errors.mdx +++ b/api_docs/kbn_dev_cli_errors.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-errors title: "@kbn/dev-cli-errors" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/dev-cli-errors plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-errors'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_dev_cli_runner.mdx b/api_docs/kbn_dev_cli_runner.mdx index 6fbf3ad066a215..229a237fdc84a8 100644 --- a/api_docs/kbn_dev_cli_runner.mdx +++ b/api_docs/kbn_dev_cli_runner.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-runner title: "@kbn/dev-cli-runner" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/dev-cli-runner plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-runner'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_dev_proc_runner.mdx b/api_docs/kbn_dev_proc_runner.mdx index a383890b0e4fd9..f4cd4c5c4e2797 100644 --- a/api_docs/kbn_dev_proc_runner.mdx +++ b/api_docs/kbn_dev_proc_runner.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-dev-proc-runner title: "@kbn/dev-proc-runner" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/dev-proc-runner plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-proc-runner'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_dev_utils.mdx b/api_docs/kbn_dev_utils.mdx index 5f8d316d6a7a22..aec03bba2cae14 100644 --- a/api_docs/kbn_dev_utils.mdx +++ b/api_docs/kbn_dev_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-dev-utils title: "@kbn/dev-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/dev-utils plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index 0f165768e8a4cf..3ff15f81727d2b 100644 --- a/api_docs/kbn_doc_links.mdx +++ b/api_docs/kbn_doc_links.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-doc-links title: "@kbn/doc-links" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/doc-links plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/doc-links'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_docs_utils.mdx b/api_docs/kbn_docs_utils.mdx index 42e95ee18d4597..edddf17dbf5ea7 100644 --- a/api_docs/kbn_docs_utils.mdx +++ b/api_docs/kbn_docs_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-docs-utils title: "@kbn/docs-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/docs-utils plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_es_archiver.mdx b/api_docs/kbn_es_archiver.mdx index b7680b2cdca09b..f774b98e466bed 100644 --- a/api_docs/kbn_es_archiver.mdx +++ b/api_docs/kbn_es_archiver.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-es-archiver title: "@kbn/es-archiver" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/es-archiver plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-archiver'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_es_errors.mdx b/api_docs/kbn_es_errors.mdx index c79f1f4f243965..e7d78260fcb510 100644 --- a/api_docs/kbn_es_errors.mdx +++ b/api_docs/kbn_es_errors.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-es-errors title: "@kbn/es-errors" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/es-errors plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-errors'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx index d845a646d8a815..d3076b1cb90c73 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-es-query title: "@kbn/es-query" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/es-query plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-query'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_eslint_plugin_imports.mdx b/api_docs/kbn_eslint_plugin_imports.mdx index a82c2d1a52e86f..544ace444032ae 100644 --- a/api_docs/kbn_eslint_plugin_imports.mdx +++ b/api_docs/kbn_eslint_plugin_imports.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-eslint-plugin-imports title: "@kbn/eslint-plugin-imports" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/eslint-plugin-imports plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/eslint-plugin-imports'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx index 91ca28f48063a3..e7bfee330977e0 100644 --- a/api_docs/kbn_field_types.mdx +++ b/api_docs/kbn_field_types.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-field-types title: "@kbn/field-types" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/field-types plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_find_used_node_modules.mdx b/api_docs/kbn_find_used_node_modules.mdx index 2745f61d26714e..b0c82d24749615 100644 --- a/api_docs/kbn_find_used_node_modules.mdx +++ b/api_docs/kbn_find_used_node_modules.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-find-used-node-modules title: "@kbn/find-used-node-modules" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/find-used-node-modules plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/find-used-node-modules'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_generate.mdx b/api_docs/kbn_generate.mdx index 1ee4af7e3508a2..149fbc636cc30e 100644 --- a/api_docs/kbn_generate.mdx +++ b/api_docs/kbn_generate.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-generate title: "@kbn/generate" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/generate plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_get_repo_files.mdx b/api_docs/kbn_get_repo_files.mdx index 2bdc938bace3d5..636fe466172ef7 100644 --- a/api_docs/kbn_get_repo_files.mdx +++ b/api_docs/kbn_get_repo_files.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-get-repo-files title: "@kbn/get-repo-files" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/get-repo-files plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/get-repo-files'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_handlebars.mdx b/api_docs/kbn_handlebars.mdx index c9b68fadbc7bb7..f0a728296e4927 100644 --- a/api_docs/kbn_handlebars.mdx +++ b/api_docs/kbn_handlebars.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-handlebars title: "@kbn/handlebars" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/handlebars plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/handlebars'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_hapi_mocks.mdx b/api_docs/kbn_hapi_mocks.mdx index c02a0e2eda5f5d..4299badaee4cd1 100644 --- a/api_docs/kbn_hapi_mocks.mdx +++ b/api_docs/kbn_hapi_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-hapi-mocks title: "@kbn/hapi-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/hapi-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/hapi-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_home_sample_data_card.mdx b/api_docs/kbn_home_sample_data_card.mdx index a092ca9323ca0d..0335a9d1e9cd26 100644 --- a/api_docs/kbn_home_sample_data_card.mdx +++ b/api_docs/kbn_home_sample_data_card.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-card title: "@kbn/home-sample-data-card" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/home-sample-data-card plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-card'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_home_sample_data_tab.mdx b/api_docs/kbn_home_sample_data_tab.mdx index 5220000a11595a..d328ebcb0137cd 100644 --- a/api_docs/kbn_home_sample_data_tab.mdx +++ b/api_docs/kbn_home_sample_data_tab.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-tab title: "@kbn/home-sample-data-tab" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/home-sample-data-tab plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-tab'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_i18n.mdx b/api_docs/kbn_i18n.mdx index 849fc616021b18..a13fc91a7a9fba 100644 --- a/api_docs/kbn_i18n.mdx +++ b/api_docs/kbn_i18n.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-i18n title: "@kbn/i18n" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/i18n plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_import_resolver.mdx b/api_docs/kbn_import_resolver.mdx index b98c8c1eeb940b..efda2e7df1c7e9 100644 --- a/api_docs/kbn_import_resolver.mdx +++ b/api_docs/kbn_import_resolver.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-import-resolver title: "@kbn/import-resolver" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/import-resolver plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_interpreter.mdx b/api_docs/kbn_interpreter.mdx index b48687d5d255fa..d51158d9e7d5c5 100644 --- a/api_docs/kbn_interpreter.mdx +++ b/api_docs/kbn_interpreter.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-interpreter title: "@kbn/interpreter" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/interpreter plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/interpreter'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx index 8596dca1868598..90163c46d99055 100644 --- a/api_docs/kbn_io_ts_utils.mdx +++ b/api_docs/kbn_io_ts_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-io-ts-utils title: "@kbn/io-ts-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/io-ts-utils plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/io-ts-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_jest_serializers.mdx b/api_docs/kbn_jest_serializers.mdx index 7be4a72e3c1355..4aa60a2ad898c5 100644 --- a/api_docs/kbn_jest_serializers.mdx +++ b/api_docs/kbn_jest_serializers.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-jest-serializers title: "@kbn/jest-serializers" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/jest-serializers plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/jest-serializers'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_kibana_json_schema.mdx b/api_docs/kbn_kibana_json_schema.mdx index 1a493ceabcc0cd..003ea5ade35b41 100644 --- a/api_docs/kbn_kibana_json_schema.mdx +++ b/api_docs/kbn_kibana_json_schema.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-kibana-json-schema title: "@kbn/kibana-json-schema" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/kibana-json-schema plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/kibana-json-schema'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx index aed6fa33486d0d..2bc8eff3b4f112 100644 --- a/api_docs/kbn_logging.mdx +++ b/api_docs/kbn_logging.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-logging title: "@kbn/logging" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/logging plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_logging_mocks.mdx b/api_docs/kbn_logging_mocks.mdx index 5b3c49d496cb18..b26ac1194479c5 100644 --- a/api_docs/kbn_logging_mocks.mdx +++ b/api_docs/kbn_logging_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-logging-mocks title: "@kbn/logging-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/logging-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index ca019dc604b59c..dadc481a912db6 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-mapbox-gl title: "@kbn/mapbox-gl" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/mapbox-gl plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ml_agg_utils.mdx b/api_docs/kbn_ml_agg_utils.mdx index c4493805a3e633..b5afd4f48fb18e 100644 --- a/api_docs/kbn_ml_agg_utils.mdx +++ b/api_docs/kbn_ml_agg_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ml-agg-utils title: "@kbn/ml-agg-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ml-agg-utils plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-agg-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index f260e75f98a35d..c6d9ef9b283187 100644 --- a/api_docs/kbn_ml_is_populated_object.mdx +++ b/api_docs/kbn_ml_is_populated_object.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-populated-object title: "@kbn/ml-is-populated-object" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ml-is-populated-object plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-populated-object'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ml_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index 223197a99e289e..13b01c28540a71 100644 --- a/api_docs/kbn_ml_string_hash.mdx +++ b/api_docs/kbn_ml_string_hash.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ml-string-hash title: "@kbn/ml-string-hash" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ml-string-hash plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-string-hash'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index d42937413c0cc3..ad83ae831b42e4 100644 --- a/api_docs/kbn_monaco.mdx +++ b/api_docs/kbn_monaco.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-monaco title: "@kbn/monaco" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/monaco plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index 3744284890f8f7..6770a39a40a51b 100644 --- a/api_docs/kbn_optimizer.mdx +++ b/api_docs/kbn_optimizer.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer title: "@kbn/optimizer" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/optimizer plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_optimizer_webpack_helpers.mdx b/api_docs/kbn_optimizer_webpack_helpers.mdx index bf5e7bd2680551..52d39c5c6d63e5 100644 --- a/api_docs/kbn_optimizer_webpack_helpers.mdx +++ b/api_docs/kbn_optimizer_webpack_helpers.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer-webpack-helpers title: "@kbn/optimizer-webpack-helpers" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/optimizer-webpack-helpers plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer-webpack-helpers'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_performance_testing_dataset_extractor.mdx b/api_docs/kbn_performance_testing_dataset_extractor.mdx index 4feb529b7a9610..ee6b8c1bff0204 100644 --- a/api_docs/kbn_performance_testing_dataset_extractor.mdx +++ b/api_docs/kbn_performance_testing_dataset_extractor.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-performance-testing-dataset-extractor title: "@kbn/performance-testing-dataset-extractor" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/performance-testing-dataset-extractor plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/performance-testing-dataset-extractor'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_plugin_generator.mdx b/api_docs/kbn_plugin_generator.mdx index 2d278c04112d8c..4c112ec2abf020 100644 --- a/api_docs/kbn_plugin_generator.mdx +++ b/api_docs/kbn_plugin_generator.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-generator title: "@kbn/plugin-generator" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/plugin-generator plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-generator'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_plugin_helpers.mdx b/api_docs/kbn_plugin_helpers.mdx index 9a65dd1200f58f..436ee9d1b987ed 100644 --- a/api_docs/kbn_plugin_helpers.mdx +++ b/api_docs/kbn_plugin_helpers.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-helpers title: "@kbn/plugin-helpers" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/plugin-helpers plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_react_field.mdx b/api_docs/kbn_react_field.mdx index 17b1866a517b17..79280a71331b7c 100644 --- a/api_docs/kbn_react_field.mdx +++ b/api_docs/kbn_react_field.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-react-field title: "@kbn/react-field" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/react-field plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_repo_source_classifier.mdx b/api_docs/kbn_repo_source_classifier.mdx index 8bdc2d251635de..70e35fe489a054 100644 --- a/api_docs/kbn_repo_source_classifier.mdx +++ b/api_docs/kbn_repo_source_classifier.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-repo-source-classifier title: "@kbn/repo-source-classifier" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/repo-source-classifier plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-source-classifier'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx index 405f41208a833a..e1abb23929f6cf 100644 --- a/api_docs/kbn_rule_data_utils.mdx +++ b/api_docs/kbn_rule_data_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-rule-data-utils title: "@kbn/rule-data-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/rule-data-utils plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_scalability_simulation_generator.mdx b/api_docs/kbn_scalability_simulation_generator.mdx index 886ac7dc68c24b..d348e5bda600b2 100644 --- a/api_docs/kbn_scalability_simulation_generator.mdx +++ b/api_docs/kbn_scalability_simulation_generator.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-scalability-simulation-generator title: "@kbn/scalability-simulation-generator" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/scalability-simulation-generator plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/scalability-simulation-generator'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx index d39e361ed8c1c8..ad50175f87dbe1 100644 --- a/api_docs/kbn_securitysolution_autocomplete.mdx +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete title: "@kbn/securitysolution-autocomplete" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-autocomplete plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx index 30a97d4c110565..5e5395b5852eaa 100644 --- a/api_docs/kbn_securitysolution_es_utils.mdx +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils title: "@kbn/securitysolution-es-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-es-utils plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-es-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx index ead3884aafb9a3..4173fcd4df1174 100644 --- a/api_docs/kbn_securitysolution_hook_utils.mdx +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils title: "@kbn/securitysolution-hook-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-hook-utils plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-hook-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx index ce5bffe8222dd9..9dec32e3fb247c 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-alerting-types title: "@kbn/securitysolution-io-ts-alerting-types" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-alerting-types'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.mdx b/api_docs/kbn_securitysolution_io_ts_list_types.mdx index d3b55a6c2593e4..33feb64fb5aba8 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-list-types title: "@kbn/securitysolution-io-ts-list-types" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-io-ts-list-types plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-list-types'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_io_ts_types.mdx b/api_docs/kbn_securitysolution_io_ts_types.mdx index 7de3f70c56ce72..9c2a0f4a894520 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types title: "@kbn/securitysolution-io-ts-types" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-io-ts-types plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-types'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_io_ts_utils.mdx b/api_docs/kbn_securitysolution_io_ts_utils.mdx index 7ec88a836c3781..ecf1b712483ecb 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils title: "@kbn/securitysolution-io-ts-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-io-ts-utils plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_list_api.mdx b/api_docs/kbn_securitysolution_list_api.mdx index 0bf4453bcab8c5..3ba07baef6587e 100644 --- a/api_docs/kbn_securitysolution_list_api.mdx +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-api title: "@kbn/securitysolution-list-api" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-list-api plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-api'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_list_constants.mdx b/api_docs/kbn_securitysolution_list_constants.mdx index 35aa709bd9ad5d..1dc2a813b83170 100644 --- a/api_docs/kbn_securitysolution_list_constants.mdx +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants title: "@kbn/securitysolution-list-constants" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-list-constants plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-constants'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_list_hooks.mdx b/api_docs/kbn_securitysolution_list_hooks.mdx index 26618bd0372836..5d168696a79a9e 100644 --- a/api_docs/kbn_securitysolution_list_hooks.mdx +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks title: "@kbn/securitysolution-list-hooks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-list-hooks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-hooks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_list_utils.mdx b/api_docs/kbn_securitysolution_list_utils.mdx index a7e5d35cf04e91..ac296a59930817 100644 --- a/api_docs/kbn_securitysolution_list_utils.mdx +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils title: "@kbn/securitysolution-list-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-list-utils plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_rules.mdx b/api_docs/kbn_securitysolution_rules.mdx index c9ff11033dbbac..4af80093bb2e1a 100644 --- a/api_docs/kbn_securitysolution_rules.mdx +++ b/api_docs/kbn_securitysolution_rules.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-rules title: "@kbn/securitysolution-rules" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-rules plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-rules'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_t_grid.mdx b/api_docs/kbn_securitysolution_t_grid.mdx index 4e23f3704697cc..dbe5661f7817e5 100644 --- a/api_docs/kbn_securitysolution_t_grid.mdx +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid title: "@kbn/securitysolution-t-grid" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-t-grid plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-t-grid'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_utils.mdx b/api_docs/kbn_securitysolution_utils.mdx index f807d6d9abeb18..a7d186e8b850f9 100644 --- a/api_docs/kbn_securitysolution_utils.mdx +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-utils title: "@kbn/securitysolution-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-utils plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_server_http_tools.mdx b/api_docs/kbn_server_http_tools.mdx index 20d270799b076a..609c912cec7e22 100644 --- a/api_docs/kbn_server_http_tools.mdx +++ b/api_docs/kbn_server_http_tools.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-server-http-tools title: "@kbn/server-http-tools" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/server-http-tools plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-http-tools'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_server_route_repository.mdx b/api_docs/kbn_server_route_repository.mdx index 2c1f4d179679b9..40cb50c8b0fef9 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository title: "@kbn/server-route-repository" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/server-route-repository plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx index 67f01aca2c8433..50bae589824a1f 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen-mocks title: "@kbn/shared-ux-button-exit-full-screen-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-button-exit-full-screen-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_button_toolbar.mdx b/api_docs/kbn_shared_ux_button_toolbar.mdx index c2f2477eaccf68..1aabd84e59bc27 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.mdx +++ b/api_docs/kbn_shared_ux_button_toolbar.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-toolbar title: "@kbn/shared-ux-button-toolbar" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-button-toolbar plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-toolbar'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_card_no_data.mdx b/api_docs/kbn_shared_ux_card_no_data.mdx index da47e589abc17d..6681d514114a17 100644 --- a/api_docs/kbn_shared_ux_card_no_data.mdx +++ b/api_docs/kbn_shared_ux_card_no_data.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data title: "@kbn/shared-ux-card-no-data" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-card-no-data plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx index 8306cebe3c7ef0..6b6354e805fdd4 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data-mocks title: "@kbn/shared-ux-card-no-data-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-card-no-data-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_components.mdx b/api_docs/kbn_shared_ux_components.mdx index e098085e00aa7b..73f9c7ac0eeab9 100644 --- a/api_docs/kbn_shared_ux_components.mdx +++ b/api_docs/kbn_shared_ux_components.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-components title: "@kbn/shared-ux-components" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-components plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-components'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx index b6bc39b77f5d4e..05331c03dc783a 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app-mocks title: "@kbn/shared-ux-link-redirect-app-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-link-redirect-app-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx index de64d6f3dee15a..0741f619cc0478 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data title: "@kbn/shared-ux-page-analytics-no-data" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-page-analytics-no-data plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx index 8be971d04f7836..0beb6756725c28 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data-mocks title: "@kbn/shared-ux-page-analytics-no-data-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-page-analytics-no-data-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx index 26287b3ea499b3..8bc367d81180ea 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data title: "@kbn/shared-ux-page-kibana-no-data" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-page-kibana-no-data plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx index 2fec48fb69221a..e3bdb931144014 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data-mocks title: "@kbn/shared-ux-page-kibana-no-data-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-page-kibana-no-data-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_page_solution_nav.mdx b/api_docs/kbn_shared_ux_page_solution_nav.mdx index 30fb99dd4d64d8..6394bdcc403f79 100644 --- a/api_docs/kbn_shared_ux_page_solution_nav.mdx +++ b/api_docs/kbn_shared_ux_page_solution_nav.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-solution-nav title: "@kbn/shared-ux-page-solution-nav" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-page-solution-nav plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-solution-nav'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx index db3de8365005f8..4b00a6d86cc0b1 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views title: "@kbn/shared-ux-prompt-no-data-views" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-prompt-no-data-views plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx index 8039d8d0583f7f..ab4d13ae196ee9 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views-mocks title: "@kbn/shared-ux-prompt-no-data-views-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-prompt-no-data-views-mocks plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_services.mdx b/api_docs/kbn_shared_ux_services.mdx index a13e7dc614f3e5..45eda3c5933a71 100644 --- a/api_docs/kbn_shared_ux_services.mdx +++ b/api_docs/kbn_shared_ux_services.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-services title: "@kbn/shared-ux-services" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-services plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-services'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_storybook.mdx b/api_docs/kbn_shared_ux_storybook.mdx index 1844546f9868bc..b96866271cf987 100644 --- a/api_docs/kbn_shared_ux_storybook.mdx +++ b/api_docs/kbn_shared_ux_storybook.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook title: "@kbn/shared-ux-storybook" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-storybook plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_storybook_mock.mdx b/api_docs/kbn_shared_ux_storybook_mock.mdx index 3e48bf3cfda7d4..81f738a48159f5 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.mdx +++ b/api_docs/kbn_shared_ux_storybook_mock.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-mock title: "@kbn/shared-ux-storybook-mock" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-storybook-mock plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-mock'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_utility.mdx b/api_docs/kbn_shared_ux_utility.mdx index 647d68da04c539..bd4291c04c8ffc 100644 --- a/api_docs/kbn_shared_ux_utility.mdx +++ b/api_docs/kbn_shared_ux_utility.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-utility title: "@kbn/shared-ux-utility" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-utility plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-utility'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_some_dev_log.mdx b/api_docs/kbn_some_dev_log.mdx index c775062108359c..75a8f60937afce 100644 --- a/api_docs/kbn_some_dev_log.mdx +++ b/api_docs/kbn_some_dev_log.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-some-dev-log title: "@kbn/some-dev-log" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/some-dev-log plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/some-dev-log'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_sort_package_json.mdx b/api_docs/kbn_sort_package_json.mdx index c1fda72f450d88..b2cefaf89eb1e9 100644 --- a/api_docs/kbn_sort_package_json.mdx +++ b/api_docs/kbn_sort_package_json.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-sort-package-json title: "@kbn/sort-package-json" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/sort-package-json plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sort-package-json'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx index 8d2d227d3ba9aa..d380858ef88730 100644 --- a/api_docs/kbn_std.mdx +++ b/api_docs/kbn_std.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-std title: "@kbn/std" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/std plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/std'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_stdio_dev_helpers.mdx b/api_docs/kbn_stdio_dev_helpers.mdx index 01ba369bac86cc..a1019d0c774e3a 100644 --- a/api_docs/kbn_stdio_dev_helpers.mdx +++ b/api_docs/kbn_stdio_dev_helpers.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-stdio-dev-helpers title: "@kbn/stdio-dev-helpers" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/stdio-dev-helpers plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/stdio-dev-helpers'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx index 9d12dfaa388b37..d3442b47b84e58 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-storybook title: "@kbn/storybook" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/storybook plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_telemetry_tools.mdx b/api_docs/kbn_telemetry_tools.mdx index 9ecb1446a64183..e56d95722decaf 100644 --- a/api_docs/kbn_telemetry_tools.mdx +++ b/api_docs/kbn_telemetry_tools.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-telemetry-tools title: "@kbn/telemetry-tools" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/telemetry-tools plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx index ce6d20c26ca359..e0e4113e436982 100644 --- a/api_docs/kbn_test.mdx +++ b/api_docs/kbn_test.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-test title: "@kbn/test" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/test plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_test_jest_helpers.mdx b/api_docs/kbn_test_jest_helpers.mdx index 14ec6e3f5cfaeb..b804fc75efac25 100644 --- a/api_docs/kbn_test_jest_helpers.mdx +++ b/api_docs/kbn_test_jest_helpers.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-test-jest-helpers title: "@kbn/test-jest-helpers" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/test-jest-helpers plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-jest-helpers'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_tooling_log.mdx b/api_docs/kbn_tooling_log.mdx index f7aeabdc4dc26e..94967f7ee00055 100644 --- a/api_docs/kbn_tooling_log.mdx +++ b/api_docs/kbn_tooling_log.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-tooling-log title: "@kbn/tooling-log" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/tooling-log plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_type_summarizer.mdx b/api_docs/kbn_type_summarizer.mdx index 22e342669e89ce..5b7f0ceb208d30 100644 --- a/api_docs/kbn_type_summarizer.mdx +++ b/api_docs/kbn_type_summarizer.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer title: "@kbn/type-summarizer" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/type-summarizer plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_type_summarizer_core.mdx b/api_docs/kbn_type_summarizer_core.mdx index c3ff3c79cd9345..f87fc6ed74e3da 100644 --- a/api_docs/kbn_type_summarizer_core.mdx +++ b/api_docs/kbn_type_summarizer_core.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer-core title: "@kbn/type-summarizer-core" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/type-summarizer-core plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer-core'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_typed_react_router_config.mdx b/api_docs/kbn_typed_react_router_config.mdx index a5311ec53ba86a..1127d1684f1d78 100644 --- a/api_docs/kbn_typed_react_router_config.mdx +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-typed-react-router-config title: "@kbn/typed-react-router-config" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/typed-react-router-config plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/typed-react-router-config'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ui_theme.mdx b/api_docs/kbn_ui_theme.mdx index a4211ebd002c6c..c93d6441500b16 100644 --- a/api_docs/kbn_ui_theme.mdx +++ b/api_docs/kbn_ui_theme.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ui-theme title: "@kbn/ui-theme" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ui-theme plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_utility_types.mdx b/api_docs/kbn_utility_types.mdx index b7f57e3b2a3dc7..4ea94d56fec3bc 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types title: "@kbn/utility-types" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/utility-types plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_utility_types_jest.mdx b/api_docs/kbn_utility_types_jest.mdx index 1534c7d46b08bc..1a575a7ee8a87e 100644 --- a/api_docs/kbn_utility_types_jest.mdx +++ b/api_docs/kbn_utility_types_jest.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types-jest title: "@kbn/utility-types-jest" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/utility-types-jest plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types-jest'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_utils.mdx b/api_docs/kbn_utils.mdx index 9174ac4959b58f..0527d3497f4ce9 100644 --- a/api_docs/kbn_utils.mdx +++ b/api_docs/kbn_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-utils title: "@kbn/utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/utils plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_yarn_lock_validator.mdx b/api_docs/kbn_yarn_lock_validator.mdx index 4e0c5d3698d602..25ded7e7d309c2 100644 --- a/api_docs/kbn_yarn_lock_validator.mdx +++ b/api_docs/kbn_yarn_lock_validator.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-yarn-lock-validator title: "@kbn/yarn-lock-validator" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/yarn-lock-validator plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/yarn-lock-validator'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index 8761dac3b64ede..2c458707d383af 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kibanaOverview title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github summary: API docs for the kibanaOverview plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index 83600808e62e4b..5713b38cb451a6 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kibanaReact title: "kibanaReact" image: https://source.unsplash.com/400x175/?github summary: API docs for the kibanaReact plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaReact'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kibana_utils.mdx b/api_docs/kibana_utils.mdx index 9f3e9f45344a3d..ac4ffcd0ffec99 100644 --- a/api_docs/kibana_utils.mdx +++ b/api_docs/kibana_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kibanaUtils title: "kibanaUtils" image: https://source.unsplash.com/400x175/?github summary: API docs for the kibanaUtils plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaUtils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kubernetes_security.mdx b/api_docs/kubernetes_security.mdx index 7ec865b831b09e..6577180ce15705 100644 --- a/api_docs/kubernetes_security.mdx +++ b/api_docs/kubernetes_security.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kubernetesSecurity title: "kubernetesSecurity" image: https://source.unsplash.com/400x175/?github summary: API docs for the kubernetesSecurity plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 21273a1f0b868e..c73137f87a3e36 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/lens title: "lens" image: https://source.unsplash.com/400x175/?github summary: API docs for the lens plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lens'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/license_api_guard.mdx b/api_docs/license_api_guard.mdx index ec60c057bcfd03..ee1255a4c273a3 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/licenseApiGuard title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github summary: API docs for the licenseApiGuard plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseApiGuard'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/license_management.mdx b/api_docs/license_management.mdx index ef1e2b30703ed8..1287aa3ff4c4f3 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/licenseManagement title: "licenseManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the licenseManagement plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseManagement'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index 171bd9269d9cb6..c76eeeb685b6a3 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/licensing title: "licensing" image: https://source.unsplash.com/400x175/?github summary: API docs for the licensing plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index 4089af095998dc..fd95d36a1af602 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/lists title: "lists" image: https://source.unsplash.com/400x175/?github summary: API docs for the lists plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/management.mdx b/api_docs/management.mdx index af7e61b50eaa77..89aa48dbe93114 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/management title: "management" image: https://source.unsplash.com/400x175/?github summary: API docs for the management plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'management'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index 2b0d0aba3a29cf..41df98e8d33e22 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/maps title: "maps" image: https://source.unsplash.com/400x175/?github summary: API docs for the maps plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'maps'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index 85ff930291c0c2..d53bd0f73d5315 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/mapsEms title: "mapsEms" image: https://source.unsplash.com/400x175/?github summary: API docs for the mapsEms plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 69c966eed4e3ed..2379b7892cc3ab 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/ml title: "ml" image: https://source.unsplash.com/400x175/?github summary: API docs for the ml plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ml'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index 385f23f5aeffb5..3ecdee1cc2bedd 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/monitoring title: "monitoring" image: https://source.unsplash.com/400x175/?github summary: API docs for the monitoring plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoring'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/monitoring_collection.mdx b/api_docs/monitoring_collection.mdx index 0c3485b24b3759..ab499cc9c4b98b 100644 --- a/api_docs/monitoring_collection.mdx +++ b/api_docs/monitoring_collection.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/monitoringCollection title: "monitoringCollection" image: https://source.unsplash.com/400x175/?github summary: API docs for the monitoringCollection plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoringCollection'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/navigation.mdx b/api_docs/navigation.mdx index 0add21c4908d0d..2a98e00612c4ba 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/navigation title: "navigation" image: https://source.unsplash.com/400x175/?github summary: API docs for the navigation plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'navigation'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/newsfeed.mdx b/api_docs/newsfeed.mdx index 70c11a853fe25c..105a2f1c242519 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/newsfeed title: "newsfeed" image: https://source.unsplash.com/400x175/?github summary: API docs for the newsfeed plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'newsfeed'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index 92a238c9d58469..9ef116d1f3c9a2 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/observability title: "observability" image: https://source.unsplash.com/400x175/?github summary: API docs for the observability plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index 1bf7c7611a7c28..8726ff7b3c3a27 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/osquery title: "osquery" image: https://source.unsplash.com/400x175/?github summary: API docs for the osquery plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index 0f6698b844e7d3..954732e3e0a79a 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -3,7 +3,7 @@ id: kibDevDocsPluginDirectory slug: /kibana-dev-docs/api-meta/plugin-api-directory title: Directory summary: Directory of public APIs available through plugins or packages. -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index 5628c464953a37..8353adc692177e 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/presentationUtil title: "presentationUtil" image: https://source.unsplash.com/400x175/?github summary: API docs for the presentationUtil plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationUtil'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index e6777cd784be73..d3a1e7c1068154 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/remoteClusters title: "remoteClusters" image: https://source.unsplash.com/400x175/?github summary: API docs for the remoteClusters plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'remoteClusters'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/reporting.mdx b/api_docs/reporting.mdx index c297d0c37a6f64..ec48f1776bcb1a 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/reporting title: "reporting" image: https://source.unsplash.com/400x175/?github summary: API docs for the reporting plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index 9a3122e0853fca..675f15a698697c 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/rollup title: "rollup" image: https://source.unsplash.com/400x175/?github summary: API docs for the rollup plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'rollup'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index 13bad06088f5aa..baae2503914cb5 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/ruleRegistry title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github summary: API docs for the ruleRegistry plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ruleRegistry'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/runtime_fields.mdx b/api_docs/runtime_fields.mdx index 5e77241a0e8a5c..064007e8bb5aa2 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/runtimeFields title: "runtimeFields" image: https://source.unsplash.com/400x175/?github summary: API docs for the runtimeFields plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'runtimeFields'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index cd9ef22218dc9e..b4aa43b46f337d 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/savedObjects title: "savedObjects" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjects plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjects'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/saved_objects_management.mdx b/api_docs/saved_objects_management.mdx index 07954903d9e32d..67c90ac278c5ed 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/savedObjectsManagement title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjectsManagement plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsManagement'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/saved_objects_tagging.mdx b/api_docs/saved_objects_tagging.mdx index f195f725062abc..29f17b06f75711 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/savedObjectsTagging title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjectsTagging plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTagging'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/saved_objects_tagging_oss.mdx b/api_docs/saved_objects_tagging_oss.mdx index 7637d90fb6e35c..f6f64a6ce2ccf4 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/savedObjectsTaggingOss title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjectsTaggingOss plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTaggingOss'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/screenshot_mode.mdx b/api_docs/screenshot_mode.mdx index e574924c8c8270..323c17eb256169 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/screenshotMode title: "screenshotMode" image: https://source.unsplash.com/400x175/?github summary: API docs for the screenshotMode plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotMode'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/screenshotting.mdx b/api_docs/screenshotting.mdx index 9d9a417f533311..2c6f6926223f54 100644 --- a/api_docs/screenshotting.mdx +++ b/api_docs/screenshotting.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/screenshotting title: "screenshotting" image: https://source.unsplash.com/400x175/?github summary: API docs for the screenshotting plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotting'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/security.mdx b/api_docs/security.mdx index 8c56058c2968d7..9cfd886a289434 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/security title: "security" image: https://source.unsplash.com/400x175/?github summary: API docs for the security plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'security'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index 966dda6c2e5b64..0eb9686be825cd 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/securitySolution title: "securitySolution" image: https://source.unsplash.com/400x175/?github summary: API docs for the securitySolution plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolution'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/session_view.mdx b/api_docs/session_view.mdx index ecfe96a279fd56..9c3de145a83002 100644 --- a/api_docs/session_view.mdx +++ b/api_docs/session_view.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/sessionView title: "sessionView" image: https://source.unsplash.com/400x175/?github summary: API docs for the sessionView plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sessionView'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/share.mdx b/api_docs/share.mdx index 78ce93f1a41534..b64ff36c5e611e 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/share title: "share" image: https://source.unsplash.com/400x175/?github summary: API docs for the share plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'share'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/shared_u_x.mdx b/api_docs/shared_u_x.mdx index c30212c9dfd143..c052a702a4d370 100644 --- a/api_docs/shared_u_x.mdx +++ b/api_docs/shared_u_x.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/sharedUX title: "sharedUX" image: https://source.unsplash.com/400x175/?github summary: API docs for the sharedUX plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sharedUX'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/snapshot_restore.mdx b/api_docs/snapshot_restore.mdx index 04a712e0b4e01d..1a67f3255e0e9b 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/snapshotRestore title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github summary: API docs for the snapshotRestore plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'snapshotRestore'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/spaces.mdx b/api_docs/spaces.mdx index d0292c84d94b55..e566e2cf314383 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/spaces title: "spaces" image: https://source.unsplash.com/400x175/?github summary: API docs for the spaces plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'spaces'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index f4254de40ff1ba..49ecf7883657ce 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/stackAlerts title: "stackAlerts" image: https://source.unsplash.com/400x175/?github summary: API docs for the stackAlerts plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackAlerts'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index bcb0f7b9135719..8c55b82aba007f 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/taskManager title: "taskManager" image: https://source.unsplash.com/400x175/?github summary: API docs for the taskManager plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'taskManager'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index 9f4d66c512ac95..0090ded11cb4bb 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/telemetry title: "telemetry" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetry plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetry'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index f0e50eb8975933..a588fa61e5de06 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionManager title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetryCollectionManager plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionManager'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/telemetry_collection_xpack.mdx b/api_docs/telemetry_collection_xpack.mdx index d3aee9c7f126fc..5b1664dcc49e54 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionXpack title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetryCollectionXpack plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionXpack'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/telemetry_management_section.mdx b/api_docs/telemetry_management_section.mdx index ea8cd6de96f81e..208f3b4ea2c3e2 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/telemetryManagementSection title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetryManagementSection plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryManagementSection'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/threat_intelligence.mdx b/api_docs/threat_intelligence.mdx index dc5dfea41f5a6e..fb2d3b15603893 100644 --- a/api_docs/threat_intelligence.mdx +++ b/api_docs/threat_intelligence.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/threatIntelligence title: "threatIntelligence" image: https://source.unsplash.com/400x175/?github summary: API docs for the threatIntelligence plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'threatIntelligence'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index 15d39e2bb2bb92..ea11856d9deac0 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/timelines title: "timelines" image: https://source.unsplash.com/400x175/?github summary: API docs for the timelines plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'timelines'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/transform.mdx b/api_docs/transform.mdx index f229fba9926103..1eb78923a5e2ca 100644 --- a/api_docs/transform.mdx +++ b/api_docs/transform.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/transform title: "transform" image: https://source.unsplash.com/400x175/?github summary: API docs for the transform plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'transform'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index 04cbb33702771a..01b98e50efe485 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/triggersActionsUi title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github summary: API docs for the triggersActionsUi plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'triggersActionsUi'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/ui_actions.mdx b/api_docs/ui_actions.mdx index 4f0c7504b1b5e7..7acb201efba404 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/uiActions title: "uiActions" image: https://source.unsplash.com/400x175/?github summary: API docs for the uiActions plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActions'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index f1cd0594e00473..a5ffed0a51c03a 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/uiActionsEnhanced title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the uiActionsEnhanced plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/unified_search.mdx b/api_docs/unified_search.mdx index 0dc7adbd5dbcbb..b2980feb2da713 100644 --- a/api_docs/unified_search.mdx +++ b/api_docs/unified_search.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/unifiedSearch title: "unifiedSearch" image: https://source.unsplash.com/400x175/?github summary: API docs for the unifiedSearch plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/unified_search_autocomplete.mdx b/api_docs/unified_search_autocomplete.mdx index 46c2fb64f96580..69da5ffce02b90 100644 --- a/api_docs/unified_search_autocomplete.mdx +++ b/api_docs/unified_search_autocomplete.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/unifiedSearch-autocomplete title: "unifiedSearch.autocomplete" image: https://source.unsplash.com/400x175/?github summary: API docs for the unifiedSearch.autocomplete plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch.autocomplete'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index 5c72d15c227364..d5bb484f353934 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/urlForwarding title: "urlForwarding" image: https://source.unsplash.com/400x175/?github summary: API docs for the urlForwarding plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'urlForwarding'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index 75d7d361cf7c7a..bc040a4ac42151 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/usageCollection title: "usageCollection" image: https://source.unsplash.com/400x175/?github summary: API docs for the usageCollection plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'usageCollection'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/ux.mdx b/api_docs/ux.mdx index d6e8ced25aab05..a25e8489219b4e 100644 --- a/api_docs/ux.mdx +++ b/api_docs/ux.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/ux title: "ux" image: https://source.unsplash.com/400x175/?github summary: API docs for the ux plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ux'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_default_editor.mdx b/api_docs/vis_default_editor.mdx index e1a627b8f049b0..88368b50793537 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visDefaultEditor title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github summary: API docs for the visDefaultEditor plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visDefaultEditor'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_gauge.mdx b/api_docs/vis_type_gauge.mdx index d752aa09194f8b..7c6467be479bc4 100644 --- a/api_docs/vis_type_gauge.mdx +++ b/api_docs/vis_type_gauge.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeGauge title: "visTypeGauge" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeGauge plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeGauge'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_heatmap.mdx b/api_docs/vis_type_heatmap.mdx index d0291f2a1821b0..a460c345566a01 100644 --- a/api_docs/vis_type_heatmap.mdx +++ b/api_docs/vis_type_heatmap.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeHeatmap title: "visTypeHeatmap" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeHeatmap plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeHeatmap'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index 8736aff8e45c4d..354d8f2ffcfba5 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypePie title: "visTypePie" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypePie plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypePie'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_table.mdx b/api_docs/vis_type_table.mdx index a7173861ae56c1..20f28721908d8e 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeTable title: "visTypeTable" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeTable plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTable'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_timelion.mdx b/api_docs/vis_type_timelion.mdx index 575112c6e1bb21..2e6b7130ee1cd3 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeTimelion title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeTimelion plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimelion'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_timeseries.mdx b/api_docs/vis_type_timeseries.mdx index 97430cb5d39075..44045d26297b81 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeTimeseries title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeTimeseries plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimeseries'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_vega.mdx b/api_docs/vis_type_vega.mdx index 93f11e33e31e64..6a9327735848ea 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeVega title: "visTypeVega" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeVega plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVega'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_vislib.mdx b/api_docs/vis_type_vislib.mdx index 548a383d6d4c09..b081e1a1f5d741 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeVislib title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeVislib plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVislib'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_xy.mdx b/api_docs/vis_type_xy.mdx index 98241691eee0d8..27a5422bfcfa50 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeXy title: "visTypeXy" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeXy plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeXy'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index 56cfa80a25c58f..13de9e84a853f2 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visualizations title: "visualizations" image: https://source.unsplash.com/400x175/?github summary: API docs for the visualizations plugin -date: 2022-07-30 +date: 2022-07-31 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- From 3f0d32147bb9698fafc7de11693a926ed5177bea Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 1 Aug 2022 00:41:15 -0400 Subject: [PATCH 11/37] [api-docs] Daily api_docs build (#137655) --- api_docs/actions.mdx | 2 +- api_docs/advanced_settings.mdx | 2 +- api_docs/aiops.mdx | 2 +- api_docs/alerting.mdx | 2 +- api_docs/apm.mdx | 2 +- api_docs/banners.mdx | 2 +- api_docs/bfetch.mdx | 2 +- api_docs/canvas.mdx | 2 +- api_docs/cases.mdx | 2 +- api_docs/charts.mdx | 2 +- api_docs/cloud.mdx | 2 +- api_docs/cloud_security_posture.mdx | 2 +- api_docs/console.mdx | 2 +- api_docs/controls.mdx | 2 +- api_docs/core.mdx | 2 +- api_docs/core_application.mdx | 2 +- api_docs/core_chrome.mdx | 2 +- api_docs/core_saved_objects.mdx | 2 +- api_docs/custom_integrations.mdx | 2 +- api_docs/dashboard.mdx | 2 +- api_docs/dashboard_enhanced.mdx | 2 +- api_docs/data.mdx | 2 +- api_docs/data_query.mdx | 2 +- api_docs/data_search.mdx | 2 +- api_docs/data_view_editor.mdx | 2 +- api_docs/data_view_field_editor.mdx | 2 +- api_docs/data_view_management.mdx | 2 +- api_docs/data_views.mdx | 2 +- api_docs/data_visualizer.mdx | 2 +- api_docs/deprecations_by_api.mdx | 2 +- api_docs/deprecations_by_plugin.mdx | 2 +- api_docs/deprecations_by_team.mdx | 2 +- api_docs/dev_tools.mdx | 2 +- api_docs/discover.mdx | 2 +- api_docs/discover_enhanced.mdx | 2 +- api_docs/elastic_apm_synthtrace.mdx | 2 +- api_docs/embeddable.mdx | 2 +- api_docs/embeddable_enhanced.mdx | 2 +- api_docs/encrypted_saved_objects.mdx | 2 +- api_docs/enterprise_search.mdx | 2 +- api_docs/es_ui_shared.mdx | 2 +- api_docs/event_annotation.mdx | 2 +- api_docs/event_log.mdx | 2 +- api_docs/expression_error.mdx | 2 +- api_docs/expression_gauge.mdx | 2 +- api_docs/expression_heatmap.mdx | 2 +- api_docs/expression_image.mdx | 2 +- api_docs/expression_legacy_metric_vis.mdx | 2 +- api_docs/expression_metric.mdx | 2 +- api_docs/expression_metric_vis.mdx | 2 +- api_docs/expression_partition_vis.mdx | 2 +- api_docs/expression_repeat_image.mdx | 2 +- api_docs/expression_reveal_image.mdx | 2 +- api_docs/expression_shape.mdx | 2 +- api_docs/expression_tagcloud.mdx | 2 +- api_docs/expression_x_y.mdx | 2 +- api_docs/expressions.mdx | 2 +- api_docs/features.mdx | 2 +- api_docs/field_formats.mdx | 2 +- api_docs/file_upload.mdx | 2 +- api_docs/fleet.mdx | 2 +- api_docs/global_search.mdx | 2 +- api_docs/home.mdx | 2 +- api_docs/index_lifecycle_management.mdx | 2 +- api_docs/index_management.mdx | 2 +- api_docs/infra.mdx | 2 +- api_docs/inspector.mdx | 2 +- api_docs/interactive_setup.mdx | 2 +- api_docs/kbn_ace.mdx | 2 +- api_docs/kbn_aiops_components.mdx | 2 +- api_docs/kbn_aiops_utils.mdx | 2 +- api_docs/kbn_alerts.mdx | 2 +- api_docs/kbn_analytics.mdx | 2 +- api_docs/kbn_analytics_client.mdx | 2 +- api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx | 2 +- api_docs/kbn_analytics_shippers_elastic_v3_common.mdx | 2 +- api_docs/kbn_analytics_shippers_elastic_v3_server.mdx | 2 +- api_docs/kbn_analytics_shippers_fullstory.mdx | 2 +- api_docs/kbn_apm_config_loader.mdx | 2 +- api_docs/kbn_apm_utils.mdx | 2 +- api_docs/kbn_axe_config.mdx | 2 +- api_docs/kbn_bazel_packages.mdx | 2 +- api_docs/kbn_ci_stats_core.mdx | 2 +- api_docs/kbn_ci_stats_performance_metrics.mdx | 2 +- api_docs/kbn_ci_stats_reporter.mdx | 2 +- api_docs/kbn_cli_dev_mode.mdx | 2 +- api_docs/kbn_coloring.mdx | 2 +- api_docs/kbn_config.mdx | 2 +- api_docs/kbn_config_mocks.mdx | 2 +- api_docs/kbn_config_schema.mdx | 2 +- api_docs/kbn_core_analytics_browser.mdx | 2 +- api_docs/kbn_core_analytics_browser_internal.mdx | 2 +- api_docs/kbn_core_analytics_browser_mocks.mdx | 2 +- api_docs/kbn_core_analytics_server.mdx | 2 +- api_docs/kbn_core_analytics_server_internal.mdx | 2 +- api_docs/kbn_core_analytics_server_mocks.mdx | 2 +- api_docs/kbn_core_base_browser_mocks.mdx | 2 +- api_docs/kbn_core_base_common.mdx | 2 +- api_docs/kbn_core_base_server_internal.mdx | 2 +- api_docs/kbn_core_base_server_mocks.mdx | 2 +- api_docs/kbn_core_capabilities_common.mdx | 2 +- api_docs/kbn_core_capabilities_server.mdx | 2 +- api_docs/kbn_core_capabilities_server_mocks.mdx | 2 +- api_docs/kbn_core_config_server_internal.mdx | 2 +- api_docs/kbn_core_deprecations_browser.mdx | 2 +- api_docs/kbn_core_deprecations_browser_internal.mdx | 2 +- api_docs/kbn_core_deprecations_browser_mocks.mdx | 2 +- api_docs/kbn_core_deprecations_common.mdx | 2 +- api_docs/kbn_core_doc_links_browser.mdx | 2 +- api_docs/kbn_core_doc_links_browser_mocks.mdx | 2 +- api_docs/kbn_core_doc_links_server.mdx | 2 +- api_docs/kbn_core_doc_links_server_mocks.mdx | 2 +- api_docs/kbn_core_elasticsearch_client_server_internal.mdx | 2 +- api_docs/kbn_core_elasticsearch_client_server_mocks.mdx | 2 +- api_docs/kbn_core_elasticsearch_server.mdx | 2 +- api_docs/kbn_core_elasticsearch_server_internal.mdx | 2 +- api_docs/kbn_core_elasticsearch_server_mocks.mdx | 2 +- api_docs/kbn_core_environment_server_internal.mdx | 2 +- api_docs/kbn_core_environment_server_mocks.mdx | 2 +- api_docs/kbn_core_execution_context_browser.mdx | 2 +- api_docs/kbn_core_execution_context_browser_internal.mdx | 2 +- api_docs/kbn_core_execution_context_browser_mocks.mdx | 2 +- api_docs/kbn_core_execution_context_common.mdx | 2 +- api_docs/kbn_core_execution_context_server.mdx | 2 +- api_docs/kbn_core_execution_context_server_internal.mdx | 2 +- api_docs/kbn_core_execution_context_server_mocks.mdx | 2 +- api_docs/kbn_core_fatal_errors_browser.mdx | 2 +- api_docs/kbn_core_fatal_errors_browser_mocks.mdx | 2 +- api_docs/kbn_core_http_browser.mdx | 2 +- api_docs/kbn_core_http_browser_internal.mdx | 2 +- api_docs/kbn_core_http_browser_mocks.mdx | 2 +- api_docs/kbn_core_http_common.mdx | 2 +- api_docs/kbn_core_http_context_server_mocks.mdx | 2 +- api_docs/kbn_core_http_router_server_internal.mdx | 2 +- api_docs/kbn_core_http_router_server_mocks.mdx | 2 +- api_docs/kbn_core_http_server.mdx | 2 +- api_docs/kbn_core_http_server_internal.mdx | 2 +- api_docs/kbn_core_http_server_mocks.mdx | 2 +- api_docs/kbn_core_i18n_browser.mdx | 2 +- api_docs/kbn_core_i18n_browser_mocks.mdx | 2 +- api_docs/kbn_core_injected_metadata_browser.mdx | 2 +- api_docs/kbn_core_injected_metadata_browser_mocks.mdx | 2 +- api_docs/kbn_core_integrations_browser_internal.mdx | 2 +- api_docs/kbn_core_integrations_browser_mocks.mdx | 2 +- api_docs/kbn_core_logging_server.mdx | 2 +- api_docs/kbn_core_logging_server_internal.mdx | 2 +- api_docs/kbn_core_logging_server_mocks.mdx | 2 +- api_docs/kbn_core_metrics_collectors_server_internal.mdx | 2 +- api_docs/kbn_core_metrics_collectors_server_mocks.mdx | 2 +- api_docs/kbn_core_metrics_server.mdx | 2 +- api_docs/kbn_core_metrics_server_internal.mdx | 2 +- api_docs/kbn_core_metrics_server_mocks.mdx | 2 +- api_docs/kbn_core_mount_utils_browser.mdx | 2 +- api_docs/kbn_core_mount_utils_browser_internal.mdx | 2 +- api_docs/kbn_core_node_server.mdx | 2 +- api_docs/kbn_core_node_server_internal.mdx | 2 +- api_docs/kbn_core_node_server_mocks.mdx | 2 +- api_docs/kbn_core_overlays_browser.mdx | 2 +- api_docs/kbn_core_overlays_browser_internal.mdx | 2 +- api_docs/kbn_core_overlays_browser_mocks.mdx | 2 +- api_docs/kbn_core_preboot_server.mdx | 2 +- api_docs/kbn_core_preboot_server_mocks.mdx | 2 +- api_docs/kbn_core_saved_objects_api_browser.mdx | 2 +- api_docs/kbn_core_saved_objects_api_server.mdx | 2 +- api_docs/kbn_core_saved_objects_common.mdx | 2 +- api_docs/kbn_core_saved_objects_server.mdx | 2 +- api_docs/kbn_core_test_helpers_http_setup_browser.mdx | 2 +- api_docs/kbn_core_theme_browser.mdx | 2 +- api_docs/kbn_core_theme_browser_internal.mdx | 2 +- api_docs/kbn_core_theme_browser_mocks.mdx | 2 +- api_docs/kbn_core_ui_settings_browser.mdx | 2 +- api_docs/kbn_core_ui_settings_browser_internal.mdx | 2 +- api_docs/kbn_core_ui_settings_browser_mocks.mdx | 2 +- api_docs/kbn_core_ui_settings_common.mdx | 2 +- api_docs/kbn_crypto.mdx | 2 +- api_docs/kbn_crypto_browser.mdx | 2 +- api_docs/kbn_datemath.mdx | 2 +- api_docs/kbn_dev_cli_errors.mdx | 2 +- api_docs/kbn_dev_cli_runner.mdx | 2 +- api_docs/kbn_dev_proc_runner.mdx | 2 +- api_docs/kbn_dev_utils.mdx | 2 +- api_docs/kbn_doc_links.mdx | 2 +- api_docs/kbn_docs_utils.mdx | 2 +- api_docs/kbn_es_archiver.mdx | 2 +- api_docs/kbn_es_errors.mdx | 2 +- api_docs/kbn_es_query.mdx | 2 +- api_docs/kbn_eslint_plugin_imports.mdx | 2 +- api_docs/kbn_field_types.mdx | 2 +- api_docs/kbn_find_used_node_modules.mdx | 2 +- api_docs/kbn_generate.mdx | 2 +- api_docs/kbn_get_repo_files.mdx | 2 +- api_docs/kbn_handlebars.mdx | 2 +- api_docs/kbn_hapi_mocks.mdx | 2 +- api_docs/kbn_home_sample_data_card.mdx | 2 +- api_docs/kbn_home_sample_data_tab.mdx | 2 +- api_docs/kbn_i18n.mdx | 2 +- api_docs/kbn_import_resolver.mdx | 2 +- api_docs/kbn_interpreter.mdx | 2 +- api_docs/kbn_io_ts_utils.mdx | 2 +- api_docs/kbn_jest_serializers.mdx | 2 +- api_docs/kbn_kibana_json_schema.mdx | 2 +- api_docs/kbn_logging.mdx | 2 +- api_docs/kbn_logging_mocks.mdx | 2 +- api_docs/kbn_mapbox_gl.mdx | 2 +- api_docs/kbn_ml_agg_utils.mdx | 2 +- api_docs/kbn_ml_is_populated_object.mdx | 2 +- api_docs/kbn_ml_string_hash.mdx | 2 +- api_docs/kbn_monaco.mdx | 2 +- api_docs/kbn_optimizer.mdx | 2 +- api_docs/kbn_optimizer_webpack_helpers.mdx | 2 +- api_docs/kbn_performance_testing_dataset_extractor.mdx | 2 +- api_docs/kbn_plugin_generator.mdx | 2 +- api_docs/kbn_plugin_helpers.mdx | 2 +- api_docs/kbn_react_field.mdx | 2 +- api_docs/kbn_repo_source_classifier.mdx | 2 +- api_docs/kbn_rule_data_utils.mdx | 2 +- api_docs/kbn_scalability_simulation_generator.mdx | 2 +- api_docs/kbn_securitysolution_autocomplete.mdx | 2 +- api_docs/kbn_securitysolution_es_utils.mdx | 2 +- api_docs/kbn_securitysolution_hook_utils.mdx | 2 +- api_docs/kbn_securitysolution_io_ts_alerting_types.mdx | 2 +- api_docs/kbn_securitysolution_io_ts_list_types.mdx | 2 +- api_docs/kbn_securitysolution_io_ts_types.mdx | 2 +- api_docs/kbn_securitysolution_io_ts_utils.mdx | 2 +- api_docs/kbn_securitysolution_list_api.mdx | 2 +- api_docs/kbn_securitysolution_list_constants.mdx | 2 +- api_docs/kbn_securitysolution_list_hooks.mdx | 2 +- api_docs/kbn_securitysolution_list_utils.mdx | 2 +- api_docs/kbn_securitysolution_rules.mdx | 2 +- api_docs/kbn_securitysolution_t_grid.mdx | 2 +- api_docs/kbn_securitysolution_utils.mdx | 2 +- api_docs/kbn_server_http_tools.mdx | 2 +- api_docs/kbn_server_route_repository.mdx | 2 +- api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx | 2 +- api_docs/kbn_shared_ux_button_toolbar.mdx | 2 +- api_docs/kbn_shared_ux_card_no_data.mdx | 2 +- api_docs/kbn_shared_ux_card_no_data_mocks.mdx | 2 +- api_docs/kbn_shared_ux_components.mdx | 2 +- api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_analytics_no_data.mdx | 2 +- api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_kibana_no_data.mdx | 2 +- api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx | 2 +- api_docs/kbn_shared_ux_page_solution_nav.mdx | 2 +- api_docs/kbn_shared_ux_prompt_no_data_views.mdx | 2 +- api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx | 2 +- api_docs/kbn_shared_ux_services.mdx | 2 +- api_docs/kbn_shared_ux_storybook.mdx | 2 +- api_docs/kbn_shared_ux_storybook_mock.mdx | 2 +- api_docs/kbn_shared_ux_utility.mdx | 2 +- api_docs/kbn_some_dev_log.mdx | 2 +- api_docs/kbn_sort_package_json.mdx | 2 +- api_docs/kbn_std.mdx | 2 +- api_docs/kbn_stdio_dev_helpers.mdx | 2 +- api_docs/kbn_storybook.mdx | 2 +- api_docs/kbn_telemetry_tools.mdx | 2 +- api_docs/kbn_test.mdx | 2 +- api_docs/kbn_test_jest_helpers.mdx | 2 +- api_docs/kbn_tooling_log.mdx | 2 +- api_docs/kbn_type_summarizer.mdx | 2 +- api_docs/kbn_type_summarizer_core.mdx | 2 +- api_docs/kbn_typed_react_router_config.mdx | 2 +- api_docs/kbn_ui_theme.mdx | 2 +- api_docs/kbn_utility_types.mdx | 2 +- api_docs/kbn_utility_types_jest.mdx | 2 +- api_docs/kbn_utils.mdx | 2 +- api_docs/kbn_yarn_lock_validator.mdx | 2 +- api_docs/kibana_overview.mdx | 2 +- api_docs/kibana_react.mdx | 2 +- api_docs/kibana_utils.mdx | 2 +- api_docs/kubernetes_security.mdx | 2 +- api_docs/lens.mdx | 2 +- api_docs/license_api_guard.mdx | 2 +- api_docs/license_management.mdx | 2 +- api_docs/licensing.mdx | 2 +- api_docs/lists.mdx | 2 +- api_docs/management.mdx | 2 +- api_docs/maps.mdx | 2 +- api_docs/maps_ems.mdx | 2 +- api_docs/ml.mdx | 2 +- api_docs/monitoring.mdx | 2 +- api_docs/monitoring_collection.mdx | 2 +- api_docs/navigation.mdx | 2 +- api_docs/newsfeed.mdx | 2 +- api_docs/observability.mdx | 2 +- api_docs/osquery.mdx | 2 +- api_docs/plugin_directory.mdx | 2 +- api_docs/presentation_util.mdx | 2 +- api_docs/remote_clusters.mdx | 2 +- api_docs/reporting.mdx | 2 +- api_docs/rollup.mdx | 2 +- api_docs/rule_registry.mdx | 2 +- api_docs/runtime_fields.mdx | 2 +- api_docs/saved_objects.mdx | 2 +- api_docs/saved_objects_management.mdx | 2 +- api_docs/saved_objects_tagging.mdx | 2 +- api_docs/saved_objects_tagging_oss.mdx | 2 +- api_docs/screenshot_mode.mdx | 2 +- api_docs/screenshotting.mdx | 2 +- api_docs/security.mdx | 2 +- api_docs/security_solution.mdx | 2 +- api_docs/session_view.mdx | 2 +- api_docs/share.mdx | 2 +- api_docs/shared_u_x.mdx | 2 +- api_docs/snapshot_restore.mdx | 2 +- api_docs/spaces.mdx | 2 +- api_docs/stack_alerts.mdx | 2 +- api_docs/task_manager.mdx | 2 +- api_docs/telemetry.mdx | 2 +- api_docs/telemetry_collection_manager.mdx | 2 +- api_docs/telemetry_collection_xpack.mdx | 2 +- api_docs/telemetry_management_section.mdx | 2 +- api_docs/threat_intelligence.mdx | 2 +- api_docs/timelines.mdx | 2 +- api_docs/transform.mdx | 2 +- api_docs/triggers_actions_ui.mdx | 2 +- api_docs/ui_actions.mdx | 2 +- api_docs/ui_actions_enhanced.mdx | 2 +- api_docs/unified_search.mdx | 2 +- api_docs/unified_search_autocomplete.mdx | 2 +- api_docs/url_forwarding.mdx | 2 +- api_docs/usage_collection.mdx | 2 +- api_docs/ux.mdx | 2 +- api_docs/vis_default_editor.mdx | 2 +- api_docs/vis_type_gauge.mdx | 2 +- api_docs/vis_type_heatmap.mdx | 2 +- api_docs/vis_type_pie.mdx | 2 +- api_docs/vis_type_table.mdx | 2 +- api_docs/vis_type_timelion.mdx | 2 +- api_docs/vis_type_timeseries.mdx | 2 +- api_docs/vis_type_vega.mdx | 2 +- api_docs/vis_type_vislib.mdx | 2 +- api_docs/vis_type_xy.mdx | 2 +- api_docs/visualizations.mdx | 2 +- 334 files changed, 334 insertions(+), 334 deletions(-) diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index f7bb01e25d9384..51060cfa56a347 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/actions title: "actions" image: https://source.unsplash.com/400x175/?github summary: API docs for the actions plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/advanced_settings.mdx b/api_docs/advanced_settings.mdx index 3e732e8e88e6f1..b17623078ceec1 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/advancedSettings title: "advancedSettings" image: https://source.unsplash.com/400x175/?github summary: API docs for the advancedSettings plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index e44d59e6dea492..3955d2f0c72503 100644 --- a/api_docs/aiops.mdx +++ b/api_docs/aiops.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/aiops title: "aiops" image: https://source.unsplash.com/400x175/?github summary: API docs for the aiops plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index 1a87b84dc9a335..9eb7da44afab97 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/alerting title: "alerting" image: https://source.unsplash.com/400x175/?github summary: API docs for the alerting plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index ae0fa6df74ffff..08059b680afba1 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/apm title: "apm" image: https://source.unsplash.com/400x175/?github summary: API docs for the apm plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index 3750ca01d583fa..5b48c672105f28 100644 --- a/api_docs/banners.mdx +++ b/api_docs/banners.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/banners title: "banners" image: https://source.unsplash.com/400x175/?github summary: API docs for the banners plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/bfetch.mdx b/api_docs/bfetch.mdx index 6a52f8c5a9cece..fcb07a6dead60a 100644 --- a/api_docs/bfetch.mdx +++ b/api_docs/bfetch.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/bfetch title: "bfetch" image: https://source.unsplash.com/400x175/?github summary: API docs for the bfetch plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index 253da4cefb3dac..addea499616f56 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/canvas title: "canvas" image: https://source.unsplash.com/400x175/?github summary: API docs for the canvas plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index 1220d720c08fb2..eb4fb278796ad7 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/cases title: "cases" image: https://source.unsplash.com/400x175/?github summary: API docs for the cases plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index fe358c9a3b787a..a3dafa500f8494 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/charts title: "charts" image: https://source.unsplash.com/400x175/?github summary: API docs for the charts plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/cloud.mdx b/api_docs/cloud.mdx index e12421591cb926..df8f8bb213dfd0 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/cloud title: "cloud" image: https://source.unsplash.com/400x175/?github summary: API docs for the cloud plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/cloud_security_posture.mdx b/api_docs/cloud_security_posture.mdx index 0923baacb5d09b..0fa4fcad94b41b 100644 --- a/api_docs/cloud_security_posture.mdx +++ b/api_docs/cloud_security_posture.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/cloudSecurityPosture title: "cloudSecurityPosture" image: https://source.unsplash.com/400x175/?github summary: API docs for the cloudSecurityPosture plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/console.mdx b/api_docs/console.mdx index 80f6909d393a12..e402c7271cc865 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/console title: "console" image: https://source.unsplash.com/400x175/?github summary: API docs for the console plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/controls.mdx b/api_docs/controls.mdx index b9b1181df60758..a2bec1c4a7b322 100644 --- a/api_docs/controls.mdx +++ b/api_docs/controls.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/controls title: "controls" image: https://source.unsplash.com/400x175/?github summary: API docs for the controls plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/core.mdx b/api_docs/core.mdx index ae7478cf27e378..5f6983fb083347 100644 --- a/api_docs/core.mdx +++ b/api_docs/core.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/core title: "core" image: https://source.unsplash.com/400x175/?github summary: API docs for the core plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/core_application.mdx b/api_docs/core_application.mdx index 07eda07da62326..89f154a9523607 100644 --- a/api_docs/core_application.mdx +++ b/api_docs/core_application.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/core-application title: "core.application" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.application plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core.application'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/core_chrome.mdx b/api_docs/core_chrome.mdx index 2419f0fd53f633..09aa1597315cba 100644 --- a/api_docs/core_chrome.mdx +++ b/api_docs/core_chrome.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/core-chrome title: "core.chrome" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.chrome plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core.chrome'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/core_saved_objects.mdx b/api_docs/core_saved_objects.mdx index ec6e025c46e9a4..017298a22e0e11 100644 --- a/api_docs/core_saved_objects.mdx +++ b/api_docs/core_saved_objects.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/core-savedObjects title: "core.savedObjects" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.savedObjects plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'core.savedObjects'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index e46f2a31dfdbba..3c2d003a5e2041 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/customIntegrations title: "customIntegrations" image: https://source.unsplash.com/400x175/?github summary: API docs for the customIntegrations plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'customIntegrations'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index 926b8b6bc1101d..1d5f2f0a73f326 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dashboard title: "dashboard" image: https://source.unsplash.com/400x175/?github summary: API docs for the dashboard plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboard'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index 5afcf50324c79c..18847e2d413a0b 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dashboardEnhanced title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the dashboardEnhanced plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboardEnhanced'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data.mdx b/api_docs/data.mdx index d9459fcc9e99dc..07dfb0822c72cd 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/data title: "data" image: https://source.unsplash.com/400x175/?github summary: API docs for the data plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index b8f551908a5537..8c8cba6ae0215b 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/data-query title: "data.query" image: https://source.unsplash.com/400x175/?github summary: API docs for the data.query plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index d9bc75b1d8bd37..aefeaa99b6cb05 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/data-search title: "data.search" image: https://source.unsplash.com/400x175/?github summary: API docs for the data.search plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index 65724d31f4d673..d7dea2baf99fab 100644 --- a/api_docs/data_view_editor.mdx +++ b/api_docs/data_view_editor.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dataViewEditor title: "dataViewEditor" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataViewEditor plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewEditor'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_view_field_editor.mdx b/api_docs/data_view_field_editor.mdx index 0fd50cf73719f6..45023cdd7197b4 100644 --- a/api_docs/data_view_field_editor.mdx +++ b/api_docs/data_view_field_editor.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dataViewFieldEditor title: "dataViewFieldEditor" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataViewFieldEditor plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewFieldEditor'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_view_management.mdx b/api_docs/data_view_management.mdx index 5cf1641bf541df..ac13b43a400b0a 100644 --- a/api_docs/data_view_management.mdx +++ b/api_docs/data_view_management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dataViewManagement title: "dataViewManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataViewManagement plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewManagement'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index 01173b285f0843..5aa73bbc80a54b 100644 --- a/api_docs/data_views.mdx +++ b/api_docs/data_views.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dataViews title: "dataViews" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataViews plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index 11b0e969f046b4..4a9a3ba062ffde 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/dataVisualizer title: "dataVisualizer" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataVisualizer plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataVisualizer'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index 9b750d9f7b8d39..5e007d00bac7f1 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -3,7 +3,7 @@ id: kibDevDocsDeprecationsByApi slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API summary: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. --- diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index 4c2f0d8da5b580..578ff19356d971 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -3,7 +3,7 @@ id: kibDevDocsDeprecationsByPlugin slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin summary: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. --- diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index 73c047b434b878..61b33563f0d250 100644 --- a/api_docs/deprecations_by_team.mdx +++ b/api_docs/deprecations_by_team.mdx @@ -3,7 +3,7 @@ id: kibDevDocsDeprecationsDueByTeam slug: /kibana-dev-docs/api-meta/deprecations-due-by-team title: Deprecated APIs due to be removed, by team summary: Lists the teams that are referencing deprecated APIs with a remove by date. -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. --- diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index abfe2297c55b17..3e5f08c39e7aa1 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/devTools title: "devTools" image: https://source.unsplash.com/400x175/?github summary: API docs for the devTools plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'devTools'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index bebde841bac8c0..1a5aacaa04f9d7 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/discover title: "discover" image: https://source.unsplash.com/400x175/?github summary: API docs for the discover plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discover'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index 3e6a07af2f652a..e7437fd9ca914a 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/discoverEnhanced title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the discoverEnhanced plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverEnhanced'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/elastic_apm_synthtrace.mdx b/api_docs/elastic_apm_synthtrace.mdx index 6364161110a41a..41053ec3de2d66 100644 --- a/api_docs/elastic_apm_synthtrace.mdx +++ b/api_docs/elastic_apm_synthtrace.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/elastic-apm-synthtrace title: "@elastic/apm-synthtrace" image: https://source.unsplash.com/400x175/?github summary: API docs for the @elastic/apm-synthtrace plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@elastic/apm-synthtrace'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index 2aeebb8ac57831..ab320b80c973f5 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/embeddable title: "embeddable" image: https://source.unsplash.com/400x175/?github summary: API docs for the embeddable plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index 448511690897e4..9efbac34c598f5 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/embeddableEnhanced title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the embeddableEnhanced plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddableEnhanced'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/encrypted_saved_objects.mdx b/api_docs/encrypted_saved_objects.mdx index 08d6bf48adafaa..cee6edb7ff07b4 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/encryptedSavedObjects title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github summary: API docs for the encryptedSavedObjects plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'encryptedSavedObjects'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index d7eb9e08baae57..ce4edbc18ad5af 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/enterpriseSearch title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github summary: API docs for the enterpriseSearch plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index 9ba38cc6b398f2..45aa29eed1284b 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/esUiShared title: "esUiShared" image: https://source.unsplash.com/400x175/?github summary: API docs for the esUiShared plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/event_annotation.mdx b/api_docs/event_annotation.mdx index f632de19a82e3c..c40f82f0c2d4b9 100644 --- a/api_docs/event_annotation.mdx +++ b/api_docs/event_annotation.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/eventAnnotation title: "eventAnnotation" image: https://source.unsplash.com/400x175/?github summary: API docs for the eventAnnotation plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotation'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index f387ecb0aa8d58..3655183052e640 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/eventLog title: "eventLog" image: https://source.unsplash.com/400x175/?github summary: API docs for the eventLog plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventLog'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index 7b6d2afbb34ed1..d301ea08dbb9ac 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionError title: "expressionError" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionError plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionError'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_gauge.mdx b/api_docs/expression_gauge.mdx index a45e8792d4e5bb..90626319ae4608 100644 --- a/api_docs/expression_gauge.mdx +++ b/api_docs/expression_gauge.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionGauge title: "expressionGauge" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionGauge plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionGauge'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_heatmap.mdx b/api_docs/expression_heatmap.mdx index 87c7ed8a12c082..2042d19e61a7d3 100644 --- a/api_docs/expression_heatmap.mdx +++ b/api_docs/expression_heatmap.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionHeatmap title: "expressionHeatmap" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionHeatmap plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionHeatmap'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index a97107c4c88680..d922ca06e84cf8 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionImage title: "expressionImage" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionImage plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionImage'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_legacy_metric_vis.mdx b/api_docs/expression_legacy_metric_vis.mdx index ee0035fb2bfe13..6850fe5c05eed8 100644 --- a/api_docs/expression_legacy_metric_vis.mdx +++ b/api_docs/expression_legacy_metric_vis.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionLegacyMetricVis title: "expressionLegacyMetricVis" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionLegacyMetricVis plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionLegacyMetricVis'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index 3b3d3957c6be55..1c00a001d178a0 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionMetric title: "expressionMetric" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionMetric plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetric'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_metric_vis.mdx b/api_docs/expression_metric_vis.mdx index 81ee9ba2ecc76b..0d4db754982c4e 100644 --- a/api_docs/expression_metric_vis.mdx +++ b/api_docs/expression_metric_vis.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionMetricVis title: "expressionMetricVis" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionMetricVis plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetricVis'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_partition_vis.mdx b/api_docs/expression_partition_vis.mdx index b1fe77b3e43fd6..acc8ebaf61eceb 100644 --- a/api_docs/expression_partition_vis.mdx +++ b/api_docs/expression_partition_vis.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionPartitionVis title: "expressionPartitionVis" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionPartitionVis plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPartitionVis'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index 01aefe4eec1597..47665a2d3f9aa6 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionRepeatImage title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionRepeatImage plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRepeatImage'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index a16b5567249426..8260f1c7986041 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionRevealImage title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionRevealImage plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRevealImage'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index b4627eb33a1e75..6847d101abdea7 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionShape title: "expressionShape" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionShape plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionShape'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index d4da7ddf7ef6d8..124ea2c398cf7f 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionTagcloud title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionTagcloud plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionTagcloud'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expression_x_y.mdx b/api_docs/expression_x_y.mdx index 92c148cb1f82e6..84e42dafcbe2ab 100644 --- a/api_docs/expression_x_y.mdx +++ b/api_docs/expression_x_y.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressionXY title: "expressionXY" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionXY plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionXY'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index 48fc3ea195edce..cf16c5849021fa 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/expressions title: "expressions" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressions plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressions'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/features.mdx b/api_docs/features.mdx index b90983d8db4acc..22926c287c3819 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/features title: "features" image: https://source.unsplash.com/400x175/?github summary: API docs for the features plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'features'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index 8311b238cf3f7f..6ce3814fba5e3c 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/fieldFormats title: "fieldFormats" image: https://source.unsplash.com/400x175/?github summary: API docs for the fieldFormats plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldFormats'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index bc388f968a07d6..16598805c0717f 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/fileUpload title: "fileUpload" image: https://source.unsplash.com/400x175/?github summary: API docs for the fileUpload plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index f053e27a1db3b3..8a974e5519bec3 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/fleet title: "fleet" image: https://source.unsplash.com/400x175/?github summary: API docs for the fleet plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fleet'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index 69e114f3016126..f67ca818b19c77 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/globalSearch title: "globalSearch" image: https://source.unsplash.com/400x175/?github summary: API docs for the globalSearch plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'globalSearch'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/home.mdx b/api_docs/home.mdx index fa53c63e8a4f7e..6f148fdb70e5ff 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/home title: "home" image: https://source.unsplash.com/400x175/?github summary: API docs for the home plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'home'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index 115412bee2bee7..20dcf312b9954d 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/indexLifecycleManagement title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexLifecycleManagement plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexLifecycleManagement'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index f94d5030209bc3..f63895e6a49e59 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/indexManagement title: "indexManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexManagement plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexManagement'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index 7d3267adea8957..1ef063c216be0f 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/infra title: "infra" image: https://source.unsplash.com/400x175/?github summary: API docs for the infra plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'infra'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index 055175acb3dc04..af4a853b99f550 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/inspector title: "inspector" image: https://source.unsplash.com/400x175/?github summary: API docs for the inspector plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inspector'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/interactive_setup.mdx b/api_docs/interactive_setup.mdx index 8e98d28d5fa9da..a07de0e53ea555 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/interactiveSetup title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github summary: API docs for the interactiveSetup plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'interactiveSetup'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ace.mdx b/api_docs/kbn_ace.mdx index f43cd64134e975..4aa5b2d803cf35 100644 --- a/api_docs/kbn_ace.mdx +++ b/api_docs/kbn_ace.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ace title: "@kbn/ace" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ace plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index e5363589ee61e1..69caf2f1c6423f 100644 --- a/api_docs/kbn_aiops_components.mdx +++ b/api_docs/kbn_aiops_components.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-components title: "@kbn/aiops-components" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/aiops-components plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_aiops_utils.mdx b/api_docs/kbn_aiops_utils.mdx index 257b36c30031fc..372823a7f7dbfe 100644 --- a/api_docs/kbn_aiops_utils.mdx +++ b/api_docs/kbn_aiops_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-utils title: "@kbn/aiops-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/aiops-utils plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_alerts.mdx b/api_docs/kbn_alerts.mdx index ebc41042c8641e..b59ad913baeb6c 100644 --- a/api_docs/kbn_alerts.mdx +++ b/api_docs/kbn_alerts.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-alerts title: "@kbn/alerts" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/alerts plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx index 139732cf778d59..4edfd8751a2b65 100644 --- a/api_docs/kbn_analytics.mdx +++ b/api_docs/kbn_analytics.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics title: "@kbn/analytics" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics_client.mdx b/api_docs/kbn_analytics_client.mdx index 7707a8d5afbf70..de3157df6e7347 100644 --- a/api_docs/kbn_analytics_client.mdx +++ b/api_docs/kbn_analytics_client.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-client title: "@kbn/analytics-client" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics-client plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-client'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx index bf07aaeddd450e..787f8529e19622 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-browser title: "@kbn/analytics-shippers-elastic-v3-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics-shippers-elastic-v3-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx index 22a04d486aad98..18a776272b814c 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-common title: "@kbn/analytics-shippers-elastic-v3-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics-shippers-elastic-v3-common plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx index 92d18b16984238..214b8f6dc2f0da 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-server title: "@kbn/analytics-shippers-elastic-v3-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics-shippers-elastic-v3-server plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_analytics_shippers_fullstory.mdx b/api_docs/kbn_analytics_shippers_fullstory.mdx index 0533536bce00b3..465693e0e11b64 100644 --- a/api_docs/kbn_analytics_shippers_fullstory.mdx +++ b/api_docs/kbn_analytics_shippers_fullstory.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-fullstory title: "@kbn/analytics-shippers-fullstory" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/analytics-shippers-fullstory plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-fullstory'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx index dfb1e60db82307..0acdd79bcd325a 100644 --- a/api_docs/kbn_apm_config_loader.mdx +++ b/api_docs/kbn_apm_config_loader.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-apm-config-loader title: "@kbn/apm-config-loader" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/apm-config-loader plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-config-loader'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_apm_utils.mdx b/api_docs/kbn_apm_utils.mdx index 4e7455e6e327a8..188f050a098399 100644 --- a/api_docs/kbn_apm_utils.mdx +++ b/api_docs/kbn_apm_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-apm-utils title: "@kbn/apm-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/apm-utils plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_axe_config.mdx b/api_docs/kbn_axe_config.mdx index 73c1598af04773..ea56098b1d9b01 100644 --- a/api_docs/kbn_axe_config.mdx +++ b/api_docs/kbn_axe_config.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-axe-config title: "@kbn/axe-config" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/axe-config plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_bazel_packages.mdx b/api_docs/kbn_bazel_packages.mdx index d675e42fd8cf0c..e3a037886282b8 100644 --- a/api_docs/kbn_bazel_packages.mdx +++ b/api_docs/kbn_bazel_packages.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-bazel-packages title: "@kbn/bazel-packages" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/bazel-packages plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/bazel-packages'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ci_stats_core.mdx b/api_docs/kbn_ci_stats_core.mdx index 4b56a4c5ba7764..8ec0989689968a 100644 --- a/api_docs/kbn_ci_stats_core.mdx +++ b/api_docs/kbn_ci_stats_core.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-core title: "@kbn/ci-stats-core" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ci-stats-core plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-core'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ci_stats_performance_metrics.mdx b/api_docs/kbn_ci_stats_performance_metrics.mdx index 97d996d823809d..0ff83f5e2e782d 100644 --- a/api_docs/kbn_ci_stats_performance_metrics.mdx +++ b/api_docs/kbn_ci_stats_performance_metrics.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-performance-metrics title: "@kbn/ci-stats-performance-metrics" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ci-stats-performance-metrics plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-performance-metrics'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ci_stats_reporter.mdx b/api_docs/kbn_ci_stats_reporter.mdx index ee5a43f33e6bbf..6d339dcdd922d3 100644 --- a/api_docs/kbn_ci_stats_reporter.mdx +++ b/api_docs/kbn_ci_stats_reporter.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-reporter title: "@kbn/ci-stats-reporter" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ci-stats-reporter plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-reporter'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_cli_dev_mode.mdx b/api_docs/kbn_cli_dev_mode.mdx index 59cd8153b83a82..6894fe8b8f9fb1 100644 --- a/api_docs/kbn_cli_dev_mode.mdx +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-cli-dev-mode title: "@kbn/cli-dev-mode" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/cli-dev-mode plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index ba88089df8ffbf..ba7dc8ddda2678 100644 --- a/api_docs/kbn_coloring.mdx +++ b/api_docs/kbn_coloring.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-coloring title: "@kbn/coloring" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/coloring plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/coloring'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_config.mdx b/api_docs/kbn_config.mdx index a9cfdaed0904bc..a25c2110a48eaa 100644 --- a/api_docs/kbn_config.mdx +++ b/api_docs/kbn_config.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-config title: "@kbn/config" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/config plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_config_mocks.mdx b/api_docs/kbn_config_mocks.mdx index 34e73287f5705d..c2c15b6e4b5613 100644 --- a/api_docs/kbn_config_mocks.mdx +++ b/api_docs/kbn_config_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-config-mocks title: "@kbn/config-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/config-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_config_schema.mdx b/api_docs/kbn_config_schema.mdx index cdbc9faa3369fa..93d4386a73c052 100644 --- a/api_docs/kbn_config_schema.mdx +++ b/api_docs/kbn_config_schema.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-config-schema title: "@kbn/config-schema" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/config-schema plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-schema'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_browser.mdx b/api_docs/kbn_core_analytics_browser.mdx index 1108b229b59dda..98b18c42fdaf92 100644 --- a/api_docs/kbn_core_analytics_browser.mdx +++ b/api_docs/kbn_core_analytics_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser title: "@kbn/core-analytics-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_browser_internal.mdx b/api_docs/kbn_core_analytics_browser_internal.mdx index be4e2913005ea4..700923be5b90c1 100644 --- a/api_docs/kbn_core_analytics_browser_internal.mdx +++ b/api_docs/kbn_core_analytics_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-internal title: "@kbn/core-analytics-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-browser-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_browser_mocks.mdx b/api_docs/kbn_core_analytics_browser_mocks.mdx index c8f3a2658deae1..ba5dc86adc53b0 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.mdx +++ b/api_docs/kbn_core_analytics_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-mocks title: "@kbn/core-analytics-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-browser-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_server.mdx b/api_docs/kbn_core_analytics_server.mdx index 7076927e488aa4..b5861309738927 100644 --- a/api_docs/kbn_core_analytics_server.mdx +++ b/api_docs/kbn_core_analytics_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server title: "@kbn/core-analytics-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-server plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_server_internal.mdx b/api_docs/kbn_core_analytics_server_internal.mdx index aba28420734823..bd0a9a9c083012 100644 --- a/api_docs/kbn_core_analytics_server_internal.mdx +++ b/api_docs/kbn_core_analytics_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-internal title: "@kbn/core-analytics-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-server-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_analytics_server_mocks.mdx b/api_docs/kbn_core_analytics_server_mocks.mdx index dac543d8d30847..9e7cc13d062a36 100644 --- a/api_docs/kbn_core_analytics_server_mocks.mdx +++ b/api_docs/kbn_core_analytics_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-mocks title: "@kbn/core-analytics-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-analytics-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_base_browser_mocks.mdx b/api_docs/kbn_core_base_browser_mocks.mdx index 60bf6e7be6df94..d2cbec7759d3f5 100644 --- a/api_docs/kbn_core_base_browser_mocks.mdx +++ b/api_docs/kbn_core_base_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-browser-mocks title: "@kbn/core-base-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-base-browser-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_base_common.mdx b/api_docs/kbn_core_base_common.mdx index ef438055a41fce..9bf165e2bd9b38 100644 --- a/api_docs/kbn_core_base_common.mdx +++ b/api_docs/kbn_core_base_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-common title: "@kbn/core-base-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-base-common plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_base_server_internal.mdx b/api_docs/kbn_core_base_server_internal.mdx index b1b4ecf35d7d44..15b0413dac4235 100644 --- a/api_docs/kbn_core_base_server_internal.mdx +++ b/api_docs/kbn_core_base_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-internal title: "@kbn/core-base-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-base-server-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_base_server_mocks.mdx b/api_docs/kbn_core_base_server_mocks.mdx index 6e944c2854fc76..65eb3e1dcc00d8 100644 --- a/api_docs/kbn_core_base_server_mocks.mdx +++ b/api_docs/kbn_core_base_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-mocks title: "@kbn/core-base-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-base-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_capabilities_common.mdx b/api_docs/kbn_core_capabilities_common.mdx index 41caf389776f66..c164e2c3ee8008 100644 --- a/api_docs/kbn_core_capabilities_common.mdx +++ b/api_docs/kbn_core_capabilities_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-common title: "@kbn/core-capabilities-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-capabilities-common plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_capabilities_server.mdx b/api_docs/kbn_core_capabilities_server.mdx index 9513211902a2b2..6434a2a8ee0819 100644 --- a/api_docs/kbn_core_capabilities_server.mdx +++ b/api_docs/kbn_core_capabilities_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server title: "@kbn/core-capabilities-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-capabilities-server plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_capabilities_server_mocks.mdx b/api_docs/kbn_core_capabilities_server_mocks.mdx index baf04a967b0497..3b329fbe5a073c 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.mdx +++ b/api_docs/kbn_core_capabilities_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server-mocks title: "@kbn/core-capabilities-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-capabilities-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_config_server_internal.mdx b/api_docs/kbn_core_config_server_internal.mdx index 6188275bc6d296..3f31feb46f68d2 100644 --- a/api_docs/kbn_core_config_server_internal.mdx +++ b/api_docs/kbn_core_config_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-config-server-internal title: "@kbn/core-config-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-config-server-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-config-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_deprecations_browser.mdx b/api_docs/kbn_core_deprecations_browser.mdx index 0bfdb0578a7bb5..1862d16b307744 100644 --- a/api_docs/kbn_core_deprecations_browser.mdx +++ b/api_docs/kbn_core_deprecations_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser title: "@kbn/core-deprecations-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-deprecations-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_deprecations_browser_internal.mdx b/api_docs/kbn_core_deprecations_browser_internal.mdx index 58b387cab9d5a5..3fd073c6b8f80f 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.mdx +++ b/api_docs/kbn_core_deprecations_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-internal title: "@kbn/core-deprecations-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-deprecations-browser-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_deprecations_browser_mocks.mdx b/api_docs/kbn_core_deprecations_browser_mocks.mdx index a83ed2cbc7d850..32308d1901a850 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.mdx +++ b/api_docs/kbn_core_deprecations_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-mocks title: "@kbn/core-deprecations-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-deprecations-browser-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_deprecations_common.mdx b/api_docs/kbn_core_deprecations_common.mdx index 222de8ab019fc5..4d5b3a5988a26f 100644 --- a/api_docs/kbn_core_deprecations_common.mdx +++ b/api_docs/kbn_core_deprecations_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-common title: "@kbn/core-deprecations-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-deprecations-common plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_doc_links_browser.mdx b/api_docs/kbn_core_doc_links_browser.mdx index ea74885a3dfdb1..193aabbbe425c0 100644 --- a/api_docs/kbn_core_doc_links_browser.mdx +++ b/api_docs/kbn_core_doc_links_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser title: "@kbn/core-doc-links-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-doc-links-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_doc_links_browser_mocks.mdx b/api_docs/kbn_core_doc_links_browser_mocks.mdx index 987b7e88d05900..e0cb0e57b41955 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.mdx +++ b/api_docs/kbn_core_doc_links_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser-mocks title: "@kbn/core-doc-links-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-doc-links-browser-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_doc_links_server.mdx b/api_docs/kbn_core_doc_links_server.mdx index f2d747d9970b61..0b36183ec3710d 100644 --- a/api_docs/kbn_core_doc_links_server.mdx +++ b/api_docs/kbn_core_doc_links_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server title: "@kbn/core-doc-links-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-doc-links-server plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_doc_links_server_mocks.mdx b/api_docs/kbn_core_doc_links_server_mocks.mdx index 683980650de23b..bd3ac04f660a57 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.mdx +++ b/api_docs/kbn_core_doc_links_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server-mocks title: "@kbn/core-doc-links-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-doc-links-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx index 1f428ecc27c1dd..6c68208317a3a1 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-internal title: "@kbn/core-elasticsearch-client-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-elasticsearch-client-server-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx index 7297da9e0b817d..738f8c40ffe884 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-mocks title: "@kbn/core-elasticsearch-client-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-elasticsearch-client-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_elasticsearch_server.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index 22d8e9c94b4b19..f368bf20969e32 100644 --- a/api_docs/kbn_core_elasticsearch_server.mdx +++ b/api_docs/kbn_core_elasticsearch_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server title: "@kbn/core-elasticsearch-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-elasticsearch-server plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_elasticsearch_server_internal.mdx b/api_docs/kbn_core_elasticsearch_server_internal.mdx index 6740902a740636..10265ed9dc278d 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-internal title: "@kbn/core-elasticsearch-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-elasticsearch-server-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_elasticsearch_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_server_mocks.mdx index 4a772c6cf17f44..6d1ebec165923d 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-mocks title: "@kbn/core-elasticsearch-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-elasticsearch-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_environment_server_internal.mdx b/api_docs/kbn_core_environment_server_internal.mdx index 81dd9b481ca4e5..45b350cdbc9f8a 100644 --- a/api_docs/kbn_core_environment_server_internal.mdx +++ b/api_docs/kbn_core_environment_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-internal title: "@kbn/core-environment-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-environment-server-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_environment_server_mocks.mdx b/api_docs/kbn_core_environment_server_mocks.mdx index 8da58b9d4d37fb..05d920c3b5d7db 100644 --- a/api_docs/kbn_core_environment_server_mocks.mdx +++ b/api_docs/kbn_core_environment_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-mocks title: "@kbn/core-environment-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-environment-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_browser.mdx b/api_docs/kbn_core_execution_context_browser.mdx index f389f48e3ebadb..727e1f45832848 100644 --- a/api_docs/kbn_core_execution_context_browser.mdx +++ b/api_docs/kbn_core_execution_context_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser title: "@kbn/core-execution-context-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_browser_internal.mdx b/api_docs/kbn_core_execution_context_browser_internal.mdx index 87426bd0fcf5ae..0811f567dbd062 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.mdx +++ b/api_docs/kbn_core_execution_context_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-internal title: "@kbn/core-execution-context-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-browser-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_browser_mocks.mdx b/api_docs/kbn_core_execution_context_browser_mocks.mdx index af4181bac0d05c..ec01e94257bfff 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.mdx +++ b/api_docs/kbn_core_execution_context_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-mocks title: "@kbn/core-execution-context-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-browser-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_common.mdx b/api_docs/kbn_core_execution_context_common.mdx index 505d332e2bf471..7daf58bc398e87 100644 --- a/api_docs/kbn_core_execution_context_common.mdx +++ b/api_docs/kbn_core_execution_context_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-common title: "@kbn/core-execution-context-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-common plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_server.mdx b/api_docs/kbn_core_execution_context_server.mdx index 0748bfcd69e790..1c1ea0eb4016ab 100644 --- a/api_docs/kbn_core_execution_context_server.mdx +++ b/api_docs/kbn_core_execution_context_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server title: "@kbn/core-execution-context-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-server plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_server_internal.mdx b/api_docs/kbn_core_execution_context_server_internal.mdx index 62562a5bc2b86a..ef63b3dc011239 100644 --- a/api_docs/kbn_core_execution_context_server_internal.mdx +++ b/api_docs/kbn_core_execution_context_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-internal title: "@kbn/core-execution-context-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-server-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_execution_context_server_mocks.mdx b/api_docs/kbn_core_execution_context_server_mocks.mdx index b3a503c154f2cd..189d625e41eb15 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.mdx +++ b/api_docs/kbn_core_execution_context_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-mocks title: "@kbn/core-execution-context-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-execution-context-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_fatal_errors_browser.mdx b/api_docs/kbn_core_fatal_errors_browser.mdx index d28c7051d38c60..a25d27d6bf6e2e 100644 --- a/api_docs/kbn_core_fatal_errors_browser.mdx +++ b/api_docs/kbn_core_fatal_errors_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser title: "@kbn/core-fatal-errors-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-fatal-errors-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx index ff6b8d0856d70b..89c75364ab79d4 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser-mocks title: "@kbn/core-fatal-errors-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-fatal-errors-browser-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_browser.mdx b/api_docs/kbn_core_http_browser.mdx index b5357a956e0e84..3b07a896f86064 100644 --- a/api_docs/kbn_core_http_browser.mdx +++ b/api_docs/kbn_core_http_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser title: "@kbn/core-http-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_browser_internal.mdx b/api_docs/kbn_core_http_browser_internal.mdx index 5c3d3a26101ccb..fecf990463ed9f 100644 --- a/api_docs/kbn_core_http_browser_internal.mdx +++ b/api_docs/kbn_core_http_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-internal title: "@kbn/core-http-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-browser-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_browser_mocks.mdx b/api_docs/kbn_core_http_browser_mocks.mdx index 09d50941a20826..aca09e43891d07 100644 --- a/api_docs/kbn_core_http_browser_mocks.mdx +++ b/api_docs/kbn_core_http_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-mocks title: "@kbn/core-http-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-browser-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_common.mdx b/api_docs/kbn_core_http_common.mdx index fff3858eb2297e..88996df514236e 100644 --- a/api_docs/kbn_core_http_common.mdx +++ b/api_docs/kbn_core_http_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-common title: "@kbn/core-http-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-common plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_context_server_mocks.mdx b/api_docs/kbn_core_http_context_server_mocks.mdx index 9e09ec44ff2819..3e12c832fb751b 100644 --- a/api_docs/kbn_core_http_context_server_mocks.mdx +++ b/api_docs/kbn_core_http_context_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-context-server-mocks title: "@kbn/core-http-context-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-context-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-context-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_router_server_internal.mdx b/api_docs/kbn_core_http_router_server_internal.mdx index bc878091b92308..6fb1e687d467a9 100644 --- a/api_docs/kbn_core_http_router_server_internal.mdx +++ b/api_docs/kbn_core_http_router_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-internal title: "@kbn/core-http-router-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-router-server-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_router_server_mocks.mdx b/api_docs/kbn_core_http_router_server_mocks.mdx index 33ca13f1163997..78b18c99e183f6 100644 --- a/api_docs/kbn_core_http_router_server_mocks.mdx +++ b/api_docs/kbn_core_http_router_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-mocks title: "@kbn/core-http-router-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-router-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index f23eeaaf149340..0f81f4c1aa8f61 100644 --- a/api_docs/kbn_core_http_server.mdx +++ b/api_docs/kbn_core_http_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server title: "@kbn/core-http-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-server plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_server_internal.mdx b/api_docs/kbn_core_http_server_internal.mdx index ad71a51755383a..86d8965baa62d8 100644 --- a/api_docs/kbn_core_http_server_internal.mdx +++ b/api_docs/kbn_core_http_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-internal title: "@kbn/core-http-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-server-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_http_server_mocks.mdx b/api_docs/kbn_core_http_server_mocks.mdx index bdf9a0433e30ef..f102e297080f35 100644 --- a/api_docs/kbn_core_http_server_mocks.mdx +++ b/api_docs/kbn_core_http_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-mocks title: "@kbn/core-http-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-http-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_i18n_browser.mdx b/api_docs/kbn_core_i18n_browser.mdx index 64c2400dc8e688..1953770e5948f6 100644 --- a/api_docs/kbn_core_i18n_browser.mdx +++ b/api_docs/kbn_core_i18n_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser title: "@kbn/core-i18n-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-i18n-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_i18n_browser_mocks.mdx b/api_docs/kbn_core_i18n_browser_mocks.mdx index c20ef8392e4366..abf6ab9c5a4375 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.mdx +++ b/api_docs/kbn_core_i18n_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser-mocks title: "@kbn/core-i18n-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-i18n-browser-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_injected_metadata_browser.mdx b/api_docs/kbn_core_injected_metadata_browser.mdx index 84531503a2b3c6..e72c904288607e 100644 --- a/api_docs/kbn_core_injected_metadata_browser.mdx +++ b/api_docs/kbn_core_injected_metadata_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser title: "@kbn/core-injected-metadata-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-injected-metadata-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx index 1a8bf3548bc48d..c33f8421168e72 100644 --- a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx +++ b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser-mocks title: "@kbn/core-injected-metadata-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-injected-metadata-browser-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_integrations_browser_internal.mdx b/api_docs/kbn_core_integrations_browser_internal.mdx index 0c7531d2b454ea..57e2863163e492 100644 --- a/api_docs/kbn_core_integrations_browser_internal.mdx +++ b/api_docs/kbn_core_integrations_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-internal title: "@kbn/core-integrations-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-integrations-browser-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_integrations_browser_mocks.mdx b/api_docs/kbn_core_integrations_browser_mocks.mdx index e69fe66e3bc166..a480c9eec92f09 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.mdx +++ b/api_docs/kbn_core_integrations_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-mocks title: "@kbn/core-integrations-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-integrations-browser-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_logging_server.mdx b/api_docs/kbn_core_logging_server.mdx index 5d6d593023e6f8..9a80dd528175ee 100644 --- a/api_docs/kbn_core_logging_server.mdx +++ b/api_docs/kbn_core_logging_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server title: "@kbn/core-logging-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-logging-server plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_logging_server_internal.mdx b/api_docs/kbn_core_logging_server_internal.mdx index a3adeab5171081..f68bcfa189c109 100644 --- a/api_docs/kbn_core_logging_server_internal.mdx +++ b/api_docs/kbn_core_logging_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-internal title: "@kbn/core-logging-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-logging-server-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_logging_server_mocks.mdx b/api_docs/kbn_core_logging_server_mocks.mdx index f19509d3971788..90996c9fca18dd 100644 --- a/api_docs/kbn_core_logging_server_mocks.mdx +++ b/api_docs/kbn_core_logging_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-mocks title: "@kbn/core-logging-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-logging-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_metrics_collectors_server_internal.mdx b/api_docs/kbn_core_metrics_collectors_server_internal.mdx index cc8e0d19f101f5..10b39e4aa6ada1 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-internal title: "@kbn/core-metrics-collectors-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-metrics-collectors-server-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx index 6d873369f3963a..c23a016876fc36 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-mocks title: "@kbn/core-metrics-collectors-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-metrics-collectors-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_metrics_server.mdx b/api_docs/kbn_core_metrics_server.mdx index 12a245adaf1157..0e6dccb51337c6 100644 --- a/api_docs/kbn_core_metrics_server.mdx +++ b/api_docs/kbn_core_metrics_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server title: "@kbn/core-metrics-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-metrics-server plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_metrics_server_internal.mdx b/api_docs/kbn_core_metrics_server_internal.mdx index dbfc904b573962..da618567be4707 100644 --- a/api_docs/kbn_core_metrics_server_internal.mdx +++ b/api_docs/kbn_core_metrics_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-internal title: "@kbn/core-metrics-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-metrics-server-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_metrics_server_mocks.mdx b/api_docs/kbn_core_metrics_server_mocks.mdx index ce3c3a0050b43a..e3ec448f429405 100644 --- a/api_docs/kbn_core_metrics_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-mocks title: "@kbn/core-metrics-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-metrics-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_mount_utils_browser.mdx b/api_docs/kbn_core_mount_utils_browser.mdx index f6935d743f3180..43de0c58d95c9a 100644 --- a/api_docs/kbn_core_mount_utils_browser.mdx +++ b/api_docs/kbn_core_mount_utils_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser title: "@kbn/core-mount-utils-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-mount-utils-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-mount-utils-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_mount_utils_browser_internal.mdx b/api_docs/kbn_core_mount_utils_browser_internal.mdx index c92be56eb9e415..300a5132bc473e 100644 --- a/api_docs/kbn_core_mount_utils_browser_internal.mdx +++ b/api_docs/kbn_core_mount_utils_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser-internal title: "@kbn/core-mount-utils-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-mount-utils-browser-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-mount-utils-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_node_server.mdx b/api_docs/kbn_core_node_server.mdx index e0e1dd86832b22..ffb95a1343e52f 100644 --- a/api_docs/kbn_core_node_server.mdx +++ b/api_docs/kbn_core_node_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server title: "@kbn/core-node-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-node-server plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_node_server_internal.mdx b/api_docs/kbn_core_node_server_internal.mdx index fdae408b3b7ffa..e5163c197b6e2b 100644 --- a/api_docs/kbn_core_node_server_internal.mdx +++ b/api_docs/kbn_core_node_server_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-internal title: "@kbn/core-node-server-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-node-server-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_node_server_mocks.mdx b/api_docs/kbn_core_node_server_mocks.mdx index 5cf908ad17c1b7..bab1dd0e56eadc 100644 --- a/api_docs/kbn_core_node_server_mocks.mdx +++ b/api_docs/kbn_core_node_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-mocks title: "@kbn/core-node-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-node-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_overlays_browser.mdx b/api_docs/kbn_core_overlays_browser.mdx index 6344f3337d8081..0fc9eb3bf4d683 100644 --- a/api_docs/kbn_core_overlays_browser.mdx +++ b/api_docs/kbn_core_overlays_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser title: "@kbn/core-overlays-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-overlays-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_overlays_browser_internal.mdx b/api_docs/kbn_core_overlays_browser_internal.mdx index 851bec338d5fb4..c5e1919b235e1b 100644 --- a/api_docs/kbn_core_overlays_browser_internal.mdx +++ b/api_docs/kbn_core_overlays_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-internal title: "@kbn/core-overlays-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-overlays-browser-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_overlays_browser_mocks.mdx b/api_docs/kbn_core_overlays_browser_mocks.mdx index 28c884c7585fc4..f195afbef710df 100644 --- a/api_docs/kbn_core_overlays_browser_mocks.mdx +++ b/api_docs/kbn_core_overlays_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-mocks title: "@kbn/core-overlays-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-overlays-browser-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_preboot_server.mdx b/api_docs/kbn_core_preboot_server.mdx index 5ba5bf37724d65..976f1b2810cde7 100644 --- a/api_docs/kbn_core_preboot_server.mdx +++ b/api_docs/kbn_core_preboot_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server title: "@kbn/core-preboot-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-preboot-server plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_preboot_server_mocks.mdx b/api_docs/kbn_core_preboot_server_mocks.mdx index 12733e447b2d7d..db9aa2b1e6bd68 100644 --- a/api_docs/kbn_core_preboot_server_mocks.mdx +++ b/api_docs/kbn_core_preboot_server_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server-mocks title: "@kbn/core-preboot-server-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-preboot-server-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_saved_objects_api_browser.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index 0b382350cf10de..5eb683773bfc8f 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.mdx +++ b/api_docs/kbn_core_saved_objects_api_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-browser title: "@kbn/core-saved-objects-api-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-saved-objects-api-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_saved_objects_api_server.mdx b/api_docs/kbn_core_saved_objects_api_server.mdx index 9337f37dfaecf8..e1f5bb0c6ee324 100644 --- a/api_docs/kbn_core_saved_objects_api_server.mdx +++ b/api_docs/kbn_core_saved_objects_api_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server title: "@kbn/core-saved-objects-api-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-saved-objects-api-server plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index 50e963451e833f..37b7766cfbcf72 100644 --- a/api_docs/kbn_core_saved_objects_common.mdx +++ b/api_docs/kbn_core_saved_objects_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-common title: "@kbn/core-saved-objects-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-saved-objects-common plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index 433293fa788881..07c2ac3c34d0b8 100644 --- a/api_docs/kbn_core_saved_objects_server.mdx +++ b/api_docs/kbn_core_saved_objects_server.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server title: "@kbn/core-saved-objects-server" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-saved-objects-server plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx index ae71058c96d07d..be722ceddbe62d 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-http-setup-browser title: "@kbn/core-test-helpers-http-setup-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-test-helpers-http-setup-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-http-setup-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_theme_browser.mdx b/api_docs/kbn_core_theme_browser.mdx index 28a89b79843802..50149afe5e32ef 100644 --- a/api_docs/kbn_core_theme_browser.mdx +++ b/api_docs/kbn_core_theme_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser title: "@kbn/core-theme-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-theme-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_theme_browser_internal.mdx b/api_docs/kbn_core_theme_browser_internal.mdx index 9824caaa721307..ecd40a16edb4cf 100644 --- a/api_docs/kbn_core_theme_browser_internal.mdx +++ b/api_docs/kbn_core_theme_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-internal title: "@kbn/core-theme-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-theme-browser-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_theme_browser_mocks.mdx b/api_docs/kbn_core_theme_browser_mocks.mdx index 74d4fac6ba3fc6..45047a479760dd 100644 --- a/api_docs/kbn_core_theme_browser_mocks.mdx +++ b/api_docs/kbn_core_theme_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-mocks title: "@kbn/core-theme-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-theme-browser-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_ui_settings_browser.mdx b/api_docs/kbn_core_ui_settings_browser.mdx index 26107537aba3b2..e2c467e0147ac8 100644 --- a/api_docs/kbn_core_ui_settings_browser.mdx +++ b/api_docs/kbn_core_ui_settings_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser title: "@kbn/core-ui-settings-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-ui-settings-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_ui_settings_browser_internal.mdx b/api_docs/kbn_core_ui_settings_browser_internal.mdx index 0f158774bed6e4..e8431425aa6e61 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.mdx +++ b/api_docs/kbn_core_ui_settings_browser_internal.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-internal title: "@kbn/core-ui-settings-browser-internal" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-ui-settings-browser-internal plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-internal'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_ui_settings_browser_mocks.mdx b/api_docs/kbn_core_ui_settings_browser_mocks.mdx index f6500c70121a83..bc82063191432e 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_browser_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-mocks title: "@kbn/core-ui-settings-browser-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-ui-settings-browser-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_core_ui_settings_common.mdx b/api_docs/kbn_core_ui_settings_common.mdx index 5b13548da7063b..b0ecedf6671b13 100644 --- a/api_docs/kbn_core_ui_settings_common.mdx +++ b/api_docs/kbn_core_ui_settings_common.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-common title: "@kbn/core-ui-settings-common" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/core-ui-settings-common plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-common'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_crypto.mdx b/api_docs/kbn_crypto.mdx index 7b29b6ffdcac4c..0646bc93ffba34 100644 --- a/api_docs/kbn_crypto.mdx +++ b/api_docs/kbn_crypto.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-crypto title: "@kbn/crypto" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/crypto plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_crypto_browser.mdx b/api_docs/kbn_crypto_browser.mdx index fe1ff0c64a95f3..1fcba2399f3fa3 100644 --- a/api_docs/kbn_crypto_browser.mdx +++ b/api_docs/kbn_crypto_browser.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-crypto-browser title: "@kbn/crypto-browser" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/crypto-browser plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto-browser'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_datemath.mdx b/api_docs/kbn_datemath.mdx index 6f52bfbaf46c85..bd8a40c27334ca 100644 --- a/api_docs/kbn_datemath.mdx +++ b/api_docs/kbn_datemath.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-datemath title: "@kbn/datemath" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/datemath plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/datemath'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_dev_cli_errors.mdx b/api_docs/kbn_dev_cli_errors.mdx index dc33061a15e435..dabcb21a1cf8c2 100644 --- a/api_docs/kbn_dev_cli_errors.mdx +++ b/api_docs/kbn_dev_cli_errors.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-errors title: "@kbn/dev-cli-errors" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/dev-cli-errors plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-errors'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_dev_cli_runner.mdx b/api_docs/kbn_dev_cli_runner.mdx index 229a237fdc84a8..7f15298e29481e 100644 --- a/api_docs/kbn_dev_cli_runner.mdx +++ b/api_docs/kbn_dev_cli_runner.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-runner title: "@kbn/dev-cli-runner" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/dev-cli-runner plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-runner'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_dev_proc_runner.mdx b/api_docs/kbn_dev_proc_runner.mdx index f4cd4c5c4e2797..2adf0ddb820dd9 100644 --- a/api_docs/kbn_dev_proc_runner.mdx +++ b/api_docs/kbn_dev_proc_runner.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-dev-proc-runner title: "@kbn/dev-proc-runner" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/dev-proc-runner plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-proc-runner'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_dev_utils.mdx b/api_docs/kbn_dev_utils.mdx index aec03bba2cae14..bf539824982c8e 100644 --- a/api_docs/kbn_dev_utils.mdx +++ b/api_docs/kbn_dev_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-dev-utils title: "@kbn/dev-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/dev-utils plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index 3ff15f81727d2b..2fd52514b92302 100644 --- a/api_docs/kbn_doc_links.mdx +++ b/api_docs/kbn_doc_links.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-doc-links title: "@kbn/doc-links" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/doc-links plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/doc-links'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_docs_utils.mdx b/api_docs/kbn_docs_utils.mdx index edddf17dbf5ea7..93cbf8a633a452 100644 --- a/api_docs/kbn_docs_utils.mdx +++ b/api_docs/kbn_docs_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-docs-utils title: "@kbn/docs-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/docs-utils plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_es_archiver.mdx b/api_docs/kbn_es_archiver.mdx index f774b98e466bed..da40e0ba4d8756 100644 --- a/api_docs/kbn_es_archiver.mdx +++ b/api_docs/kbn_es_archiver.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-es-archiver title: "@kbn/es-archiver" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/es-archiver plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-archiver'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_es_errors.mdx b/api_docs/kbn_es_errors.mdx index e7d78260fcb510..5d885a0f14e242 100644 --- a/api_docs/kbn_es_errors.mdx +++ b/api_docs/kbn_es_errors.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-es-errors title: "@kbn/es-errors" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/es-errors plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-errors'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx index d3076b1cb90c73..2d53bf742d7ef2 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-es-query title: "@kbn/es-query" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/es-query plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-query'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_eslint_plugin_imports.mdx b/api_docs/kbn_eslint_plugin_imports.mdx index 544ace444032ae..310959d5d1c23c 100644 --- a/api_docs/kbn_eslint_plugin_imports.mdx +++ b/api_docs/kbn_eslint_plugin_imports.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-eslint-plugin-imports title: "@kbn/eslint-plugin-imports" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/eslint-plugin-imports plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/eslint-plugin-imports'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx index e7bfee330977e0..bcd98df6efe44e 100644 --- a/api_docs/kbn_field_types.mdx +++ b/api_docs/kbn_field_types.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-field-types title: "@kbn/field-types" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/field-types plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_find_used_node_modules.mdx b/api_docs/kbn_find_used_node_modules.mdx index b0c82d24749615..005d8d18a795b5 100644 --- a/api_docs/kbn_find_used_node_modules.mdx +++ b/api_docs/kbn_find_used_node_modules.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-find-used-node-modules title: "@kbn/find-used-node-modules" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/find-used-node-modules plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/find-used-node-modules'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_generate.mdx b/api_docs/kbn_generate.mdx index 149fbc636cc30e..c1df1f7509b406 100644 --- a/api_docs/kbn_generate.mdx +++ b/api_docs/kbn_generate.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-generate title: "@kbn/generate" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/generate plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_get_repo_files.mdx b/api_docs/kbn_get_repo_files.mdx index 636fe466172ef7..0eecae16f008ff 100644 --- a/api_docs/kbn_get_repo_files.mdx +++ b/api_docs/kbn_get_repo_files.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-get-repo-files title: "@kbn/get-repo-files" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/get-repo-files plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/get-repo-files'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_handlebars.mdx b/api_docs/kbn_handlebars.mdx index f0a728296e4927..dc1d97a114e312 100644 --- a/api_docs/kbn_handlebars.mdx +++ b/api_docs/kbn_handlebars.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-handlebars title: "@kbn/handlebars" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/handlebars plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/handlebars'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_hapi_mocks.mdx b/api_docs/kbn_hapi_mocks.mdx index 4299badaee4cd1..bf90e911d43bc0 100644 --- a/api_docs/kbn_hapi_mocks.mdx +++ b/api_docs/kbn_hapi_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-hapi-mocks title: "@kbn/hapi-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/hapi-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/hapi-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_home_sample_data_card.mdx b/api_docs/kbn_home_sample_data_card.mdx index 0335a9d1e9cd26..21324ffa973431 100644 --- a/api_docs/kbn_home_sample_data_card.mdx +++ b/api_docs/kbn_home_sample_data_card.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-card title: "@kbn/home-sample-data-card" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/home-sample-data-card plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-card'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_home_sample_data_tab.mdx b/api_docs/kbn_home_sample_data_tab.mdx index d328ebcb0137cd..d2400b51779a55 100644 --- a/api_docs/kbn_home_sample_data_tab.mdx +++ b/api_docs/kbn_home_sample_data_tab.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-tab title: "@kbn/home-sample-data-tab" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/home-sample-data-tab plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-tab'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_i18n.mdx b/api_docs/kbn_i18n.mdx index a13fc91a7a9fba..acaa7c4c4f6d1b 100644 --- a/api_docs/kbn_i18n.mdx +++ b/api_docs/kbn_i18n.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-i18n title: "@kbn/i18n" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/i18n plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_import_resolver.mdx b/api_docs/kbn_import_resolver.mdx index efda2e7df1c7e9..328ec405bdf190 100644 --- a/api_docs/kbn_import_resolver.mdx +++ b/api_docs/kbn_import_resolver.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-import-resolver title: "@kbn/import-resolver" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/import-resolver plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_interpreter.mdx b/api_docs/kbn_interpreter.mdx index d51158d9e7d5c5..44215429df9904 100644 --- a/api_docs/kbn_interpreter.mdx +++ b/api_docs/kbn_interpreter.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-interpreter title: "@kbn/interpreter" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/interpreter plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/interpreter'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx index 90163c46d99055..906ca58daabb9a 100644 --- a/api_docs/kbn_io_ts_utils.mdx +++ b/api_docs/kbn_io_ts_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-io-ts-utils title: "@kbn/io-ts-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/io-ts-utils plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/io-ts-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_jest_serializers.mdx b/api_docs/kbn_jest_serializers.mdx index 4aa60a2ad898c5..b40f692c4d64a7 100644 --- a/api_docs/kbn_jest_serializers.mdx +++ b/api_docs/kbn_jest_serializers.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-jest-serializers title: "@kbn/jest-serializers" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/jest-serializers plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/jest-serializers'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_kibana_json_schema.mdx b/api_docs/kbn_kibana_json_schema.mdx index 003ea5ade35b41..6c371efaedcd9d 100644 --- a/api_docs/kbn_kibana_json_schema.mdx +++ b/api_docs/kbn_kibana_json_schema.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-kibana-json-schema title: "@kbn/kibana-json-schema" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/kibana-json-schema plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/kibana-json-schema'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx index 2bc8eff3b4f112..004c4dba185a84 100644 --- a/api_docs/kbn_logging.mdx +++ b/api_docs/kbn_logging.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-logging title: "@kbn/logging" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/logging plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_logging_mocks.mdx b/api_docs/kbn_logging_mocks.mdx index b26ac1194479c5..48260404cfebdc 100644 --- a/api_docs/kbn_logging_mocks.mdx +++ b/api_docs/kbn_logging_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-logging-mocks title: "@kbn/logging-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/logging-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index dadc481a912db6..31e74a808a0db8 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-mapbox-gl title: "@kbn/mapbox-gl" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/mapbox-gl plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ml_agg_utils.mdx b/api_docs/kbn_ml_agg_utils.mdx index b5afd4f48fb18e..1cac5cd11d99e0 100644 --- a/api_docs/kbn_ml_agg_utils.mdx +++ b/api_docs/kbn_ml_agg_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ml-agg-utils title: "@kbn/ml-agg-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ml-agg-utils plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-agg-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index c6d9ef9b283187..c8bf113c3b49ef 100644 --- a/api_docs/kbn_ml_is_populated_object.mdx +++ b/api_docs/kbn_ml_is_populated_object.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-populated-object title: "@kbn/ml-is-populated-object" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ml-is-populated-object plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-populated-object'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ml_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index 13b01c28540a71..69a7d3d05f88f0 100644 --- a/api_docs/kbn_ml_string_hash.mdx +++ b/api_docs/kbn_ml_string_hash.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ml-string-hash title: "@kbn/ml-string-hash" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ml-string-hash plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-string-hash'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index ad83ae831b42e4..ff62ac71be9883 100644 --- a/api_docs/kbn_monaco.mdx +++ b/api_docs/kbn_monaco.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-monaco title: "@kbn/monaco" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/monaco plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index 6770a39a40a51b..5c7ebc17e7821a 100644 --- a/api_docs/kbn_optimizer.mdx +++ b/api_docs/kbn_optimizer.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer title: "@kbn/optimizer" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/optimizer plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_optimizer_webpack_helpers.mdx b/api_docs/kbn_optimizer_webpack_helpers.mdx index 52d39c5c6d63e5..c42df5df5b26a4 100644 --- a/api_docs/kbn_optimizer_webpack_helpers.mdx +++ b/api_docs/kbn_optimizer_webpack_helpers.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer-webpack-helpers title: "@kbn/optimizer-webpack-helpers" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/optimizer-webpack-helpers plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer-webpack-helpers'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_performance_testing_dataset_extractor.mdx b/api_docs/kbn_performance_testing_dataset_extractor.mdx index ee6b8c1bff0204..ace1d1514f9387 100644 --- a/api_docs/kbn_performance_testing_dataset_extractor.mdx +++ b/api_docs/kbn_performance_testing_dataset_extractor.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-performance-testing-dataset-extractor title: "@kbn/performance-testing-dataset-extractor" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/performance-testing-dataset-extractor plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/performance-testing-dataset-extractor'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_plugin_generator.mdx b/api_docs/kbn_plugin_generator.mdx index 4c112ec2abf020..35aa8f9895a5ca 100644 --- a/api_docs/kbn_plugin_generator.mdx +++ b/api_docs/kbn_plugin_generator.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-generator title: "@kbn/plugin-generator" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/plugin-generator plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-generator'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_plugin_helpers.mdx b/api_docs/kbn_plugin_helpers.mdx index 436ee9d1b987ed..63fd5ef7ccbcd3 100644 --- a/api_docs/kbn_plugin_helpers.mdx +++ b/api_docs/kbn_plugin_helpers.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-helpers title: "@kbn/plugin-helpers" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/plugin-helpers plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_react_field.mdx b/api_docs/kbn_react_field.mdx index 79280a71331b7c..c192052ca283c6 100644 --- a/api_docs/kbn_react_field.mdx +++ b/api_docs/kbn_react_field.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-react-field title: "@kbn/react-field" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/react-field plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_repo_source_classifier.mdx b/api_docs/kbn_repo_source_classifier.mdx index 70e35fe489a054..83a6160a066a4e 100644 --- a/api_docs/kbn_repo_source_classifier.mdx +++ b/api_docs/kbn_repo_source_classifier.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-repo-source-classifier title: "@kbn/repo-source-classifier" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/repo-source-classifier plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-source-classifier'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx index e1abb23929f6cf..939b237dd7e6de 100644 --- a/api_docs/kbn_rule_data_utils.mdx +++ b/api_docs/kbn_rule_data_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-rule-data-utils title: "@kbn/rule-data-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/rule-data-utils plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_scalability_simulation_generator.mdx b/api_docs/kbn_scalability_simulation_generator.mdx index d348e5bda600b2..50b012a50db266 100644 --- a/api_docs/kbn_scalability_simulation_generator.mdx +++ b/api_docs/kbn_scalability_simulation_generator.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-scalability-simulation-generator title: "@kbn/scalability-simulation-generator" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/scalability-simulation-generator plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/scalability-simulation-generator'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx index ad50175f87dbe1..c3a20ad31a02b5 100644 --- a/api_docs/kbn_securitysolution_autocomplete.mdx +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete title: "@kbn/securitysolution-autocomplete" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-autocomplete plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx index 5e5395b5852eaa..0ea9159b42092c 100644 --- a/api_docs/kbn_securitysolution_es_utils.mdx +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils title: "@kbn/securitysolution-es-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-es-utils plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-es-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx index 4173fcd4df1174..ac802459137875 100644 --- a/api_docs/kbn_securitysolution_hook_utils.mdx +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils title: "@kbn/securitysolution-hook-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-hook-utils plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-hook-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx index 9dec32e3fb247c..786f2660e21828 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-alerting-types title: "@kbn/securitysolution-io-ts-alerting-types" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-alerting-types'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.mdx b/api_docs/kbn_securitysolution_io_ts_list_types.mdx index 33feb64fb5aba8..09bf112ace0dc3 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-list-types title: "@kbn/securitysolution-io-ts-list-types" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-io-ts-list-types plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-list-types'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_io_ts_types.mdx b/api_docs/kbn_securitysolution_io_ts_types.mdx index 9c2a0f4a894520..db1c5c645a7850 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types title: "@kbn/securitysolution-io-ts-types" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-io-ts-types plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-types'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_io_ts_utils.mdx b/api_docs/kbn_securitysolution_io_ts_utils.mdx index ecf1b712483ecb..1f420bf58e6a38 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils title: "@kbn/securitysolution-io-ts-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-io-ts-utils plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_list_api.mdx b/api_docs/kbn_securitysolution_list_api.mdx index 3ba07baef6587e..8feb4dd0c5a565 100644 --- a/api_docs/kbn_securitysolution_list_api.mdx +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-api title: "@kbn/securitysolution-list-api" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-list-api plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-api'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_list_constants.mdx b/api_docs/kbn_securitysolution_list_constants.mdx index 1dc2a813b83170..c399ce82626c90 100644 --- a/api_docs/kbn_securitysolution_list_constants.mdx +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants title: "@kbn/securitysolution-list-constants" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-list-constants plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-constants'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_list_hooks.mdx b/api_docs/kbn_securitysolution_list_hooks.mdx index 5d168696a79a9e..33cacf53731eb3 100644 --- a/api_docs/kbn_securitysolution_list_hooks.mdx +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks title: "@kbn/securitysolution-list-hooks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-list-hooks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-hooks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_list_utils.mdx b/api_docs/kbn_securitysolution_list_utils.mdx index ac296a59930817..6190d4dfdab854 100644 --- a/api_docs/kbn_securitysolution_list_utils.mdx +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils title: "@kbn/securitysolution-list-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-list-utils plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_rules.mdx b/api_docs/kbn_securitysolution_rules.mdx index 4af80093bb2e1a..37fa1da7aaf980 100644 --- a/api_docs/kbn_securitysolution_rules.mdx +++ b/api_docs/kbn_securitysolution_rules.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-rules title: "@kbn/securitysolution-rules" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-rules plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-rules'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_t_grid.mdx b/api_docs/kbn_securitysolution_t_grid.mdx index dbe5661f7817e5..2b669ace558df2 100644 --- a/api_docs/kbn_securitysolution_t_grid.mdx +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid title: "@kbn/securitysolution-t-grid" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-t-grid plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-t-grid'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_securitysolution_utils.mdx b/api_docs/kbn_securitysolution_utils.mdx index a7d186e8b850f9..f9b662e0c75ab6 100644 --- a/api_docs/kbn_securitysolution_utils.mdx +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-utils title: "@kbn/securitysolution-utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/securitysolution-utils plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_server_http_tools.mdx b/api_docs/kbn_server_http_tools.mdx index 609c912cec7e22..faae3c989f4b2e 100644 --- a/api_docs/kbn_server_http_tools.mdx +++ b/api_docs/kbn_server_http_tools.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-server-http-tools title: "@kbn/server-http-tools" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/server-http-tools plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-http-tools'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_server_route_repository.mdx b/api_docs/kbn_server_route_repository.mdx index 40cb50c8b0fef9..7fec40a207626a 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository title: "@kbn/server-route-repository" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/server-route-repository plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx index 50bae589824a1f..42bd03c25a4684 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen-mocks title: "@kbn/shared-ux-button-exit-full-screen-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-button-exit-full-screen-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_button_toolbar.mdx b/api_docs/kbn_shared_ux_button_toolbar.mdx index 1aabd84e59bc27..639a638dbb9af9 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.mdx +++ b/api_docs/kbn_shared_ux_button_toolbar.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-toolbar title: "@kbn/shared-ux-button-toolbar" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-button-toolbar plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-toolbar'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_card_no_data.mdx b/api_docs/kbn_shared_ux_card_no_data.mdx index 6681d514114a17..4bf1eb9ac9978a 100644 --- a/api_docs/kbn_shared_ux_card_no_data.mdx +++ b/api_docs/kbn_shared_ux_card_no_data.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data title: "@kbn/shared-ux-card-no-data" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-card-no-data plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx index 6b6354e805fdd4..b25d9705dc8eb1 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data-mocks title: "@kbn/shared-ux-card-no-data-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-card-no-data-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_components.mdx b/api_docs/kbn_shared_ux_components.mdx index 73f9c7ac0eeab9..901400d915187e 100644 --- a/api_docs/kbn_shared_ux_components.mdx +++ b/api_docs/kbn_shared_ux_components.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-components title: "@kbn/shared-ux-components" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-components plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-components'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx index 05331c03dc783a..a85070981a9488 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app-mocks title: "@kbn/shared-ux-link-redirect-app-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-link-redirect-app-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx index 0741f619cc0478..6e6e5bd2c294a1 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data title: "@kbn/shared-ux-page-analytics-no-data" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-page-analytics-no-data plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx index 0beb6756725c28..1b3036d2307e97 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data-mocks title: "@kbn/shared-ux-page-analytics-no-data-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-page-analytics-no-data-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx index 8bc367d81180ea..031a5fea17fdc8 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data title: "@kbn/shared-ux-page-kibana-no-data" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-page-kibana-no-data plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx index e3bdb931144014..dfaa83f2cc0ad9 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data-mocks title: "@kbn/shared-ux-page-kibana-no-data-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-page-kibana-no-data-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_page_solution_nav.mdx b/api_docs/kbn_shared_ux_page_solution_nav.mdx index 6394bdcc403f79..4f0ddffb3aec04 100644 --- a/api_docs/kbn_shared_ux_page_solution_nav.mdx +++ b/api_docs/kbn_shared_ux_page_solution_nav.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-solution-nav title: "@kbn/shared-ux-page-solution-nav" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-page-solution-nav plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-solution-nav'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx index 4b00a6d86cc0b1..2b66dd3908a4be 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views title: "@kbn/shared-ux-prompt-no-data-views" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-prompt-no-data-views plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx index ab4d13ae196ee9..609a0840787aca 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views-mocks title: "@kbn/shared-ux-prompt-no-data-views-mocks" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-prompt-no-data-views-mocks plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views-mocks'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_services.mdx b/api_docs/kbn_shared_ux_services.mdx index 45eda3c5933a71..55d451889ccf82 100644 --- a/api_docs/kbn_shared_ux_services.mdx +++ b/api_docs/kbn_shared_ux_services.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-services title: "@kbn/shared-ux-services" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-services plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-services'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_storybook.mdx b/api_docs/kbn_shared_ux_storybook.mdx index b96866271cf987..a586cc0ed70a9c 100644 --- a/api_docs/kbn_shared_ux_storybook.mdx +++ b/api_docs/kbn_shared_ux_storybook.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook title: "@kbn/shared-ux-storybook" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-storybook plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_storybook_mock.mdx b/api_docs/kbn_shared_ux_storybook_mock.mdx index 81f738a48159f5..c42a5f5499e114 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.mdx +++ b/api_docs/kbn_shared_ux_storybook_mock.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-mock title: "@kbn/shared-ux-storybook-mock" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-storybook-mock plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-mock'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_shared_ux_utility.mdx b/api_docs/kbn_shared_ux_utility.mdx index bd4291c04c8ffc..ac0d1f1b80c4f1 100644 --- a/api_docs/kbn_shared_ux_utility.mdx +++ b/api_docs/kbn_shared_ux_utility.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-utility title: "@kbn/shared-ux-utility" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/shared-ux-utility plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-utility'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_some_dev_log.mdx b/api_docs/kbn_some_dev_log.mdx index 75a8f60937afce..ac67d802711d79 100644 --- a/api_docs/kbn_some_dev_log.mdx +++ b/api_docs/kbn_some_dev_log.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-some-dev-log title: "@kbn/some-dev-log" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/some-dev-log plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/some-dev-log'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_sort_package_json.mdx b/api_docs/kbn_sort_package_json.mdx index b2cefaf89eb1e9..4e2fef83f9018f 100644 --- a/api_docs/kbn_sort_package_json.mdx +++ b/api_docs/kbn_sort_package_json.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-sort-package-json title: "@kbn/sort-package-json" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/sort-package-json plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sort-package-json'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx index d380858ef88730..1475b212c28d50 100644 --- a/api_docs/kbn_std.mdx +++ b/api_docs/kbn_std.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-std title: "@kbn/std" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/std plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/std'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_stdio_dev_helpers.mdx b/api_docs/kbn_stdio_dev_helpers.mdx index a1019d0c774e3a..b4b43f869cf79b 100644 --- a/api_docs/kbn_stdio_dev_helpers.mdx +++ b/api_docs/kbn_stdio_dev_helpers.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-stdio-dev-helpers title: "@kbn/stdio-dev-helpers" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/stdio-dev-helpers plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/stdio-dev-helpers'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx index d3442b47b84e58..51a1088e390cfe 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-storybook title: "@kbn/storybook" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/storybook plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_telemetry_tools.mdx b/api_docs/kbn_telemetry_tools.mdx index e56d95722decaf..9170241078909c 100644 --- a/api_docs/kbn_telemetry_tools.mdx +++ b/api_docs/kbn_telemetry_tools.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-telemetry-tools title: "@kbn/telemetry-tools" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/telemetry-tools plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx index e0e4113e436982..38585dcb6d7bcd 100644 --- a/api_docs/kbn_test.mdx +++ b/api_docs/kbn_test.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-test title: "@kbn/test" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/test plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_test_jest_helpers.mdx b/api_docs/kbn_test_jest_helpers.mdx index b804fc75efac25..1bf89163f6294c 100644 --- a/api_docs/kbn_test_jest_helpers.mdx +++ b/api_docs/kbn_test_jest_helpers.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-test-jest-helpers title: "@kbn/test-jest-helpers" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/test-jest-helpers plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-jest-helpers'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_tooling_log.mdx b/api_docs/kbn_tooling_log.mdx index 94967f7ee00055..4cae30f0ee335c 100644 --- a/api_docs/kbn_tooling_log.mdx +++ b/api_docs/kbn_tooling_log.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-tooling-log title: "@kbn/tooling-log" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/tooling-log plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_type_summarizer.mdx b/api_docs/kbn_type_summarizer.mdx index 5b7f0ceb208d30..b480fc03d0a41c 100644 --- a/api_docs/kbn_type_summarizer.mdx +++ b/api_docs/kbn_type_summarizer.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer title: "@kbn/type-summarizer" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/type-summarizer plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_type_summarizer_core.mdx b/api_docs/kbn_type_summarizer_core.mdx index f87fc6ed74e3da..afd784d5fcdcfb 100644 --- a/api_docs/kbn_type_summarizer_core.mdx +++ b/api_docs/kbn_type_summarizer_core.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-type-summarizer-core title: "@kbn/type-summarizer-core" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/type-summarizer-core plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/type-summarizer-core'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_typed_react_router_config.mdx b/api_docs/kbn_typed_react_router_config.mdx index 1127d1684f1d78..8b9718543df2f0 100644 --- a/api_docs/kbn_typed_react_router_config.mdx +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-typed-react-router-config title: "@kbn/typed-react-router-config" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/typed-react-router-config plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/typed-react-router-config'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_ui_theme.mdx b/api_docs/kbn_ui_theme.mdx index c93d6441500b16..6e11c1792ef8b0 100644 --- a/api_docs/kbn_ui_theme.mdx +++ b/api_docs/kbn_ui_theme.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-ui-theme title: "@kbn/ui-theme" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/ui-theme plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_utility_types.mdx b/api_docs/kbn_utility_types.mdx index 4ea94d56fec3bc..2c297f4243a460 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types title: "@kbn/utility-types" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/utility-types plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_utility_types_jest.mdx b/api_docs/kbn_utility_types_jest.mdx index 1a575a7ee8a87e..675b0ec0e88012 100644 --- a/api_docs/kbn_utility_types_jest.mdx +++ b/api_docs/kbn_utility_types_jest.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types-jest title: "@kbn/utility-types-jest" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/utility-types-jest plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types-jest'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_utils.mdx b/api_docs/kbn_utils.mdx index 0527d3497f4ce9..8a611b3909d420 100644 --- a/api_docs/kbn_utils.mdx +++ b/api_docs/kbn_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-utils title: "@kbn/utils" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/utils plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kbn_yarn_lock_validator.mdx b/api_docs/kbn_yarn_lock_validator.mdx index 25ded7e7d309c2..9064fb1c7d0364 100644 --- a/api_docs/kbn_yarn_lock_validator.mdx +++ b/api_docs/kbn_yarn_lock_validator.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kbn-yarn-lock-validator title: "@kbn/yarn-lock-validator" image: https://source.unsplash.com/400x175/?github summary: API docs for the @kbn/yarn-lock-validator plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/yarn-lock-validator'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index 2c458707d383af..39af2058966233 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kibanaOverview title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github summary: API docs for the kibanaOverview plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index 5713b38cb451a6..a17b784adcec17 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kibanaReact title: "kibanaReact" image: https://source.unsplash.com/400x175/?github summary: API docs for the kibanaReact plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaReact'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kibana_utils.mdx b/api_docs/kibana_utils.mdx index ac4ffcd0ffec99..f2252261cc9cf5 100644 --- a/api_docs/kibana_utils.mdx +++ b/api_docs/kibana_utils.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kibanaUtils title: "kibanaUtils" image: https://source.unsplash.com/400x175/?github summary: API docs for the kibanaUtils plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaUtils'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/kubernetes_security.mdx b/api_docs/kubernetes_security.mdx index 6577180ce15705..fa87719a9e7e14 100644 --- a/api_docs/kubernetes_security.mdx +++ b/api_docs/kubernetes_security.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/kubernetesSecurity title: "kubernetesSecurity" image: https://source.unsplash.com/400x175/?github summary: API docs for the kubernetesSecurity plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index c73137f87a3e36..2a139499ac8c41 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/lens title: "lens" image: https://source.unsplash.com/400x175/?github summary: API docs for the lens plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lens'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/license_api_guard.mdx b/api_docs/license_api_guard.mdx index ee1255a4c273a3..1979e4c6750776 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/licenseApiGuard title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github summary: API docs for the licenseApiGuard plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseApiGuard'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/license_management.mdx b/api_docs/license_management.mdx index 1287aa3ff4c4f3..d38dd5494fc116 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/licenseManagement title: "licenseManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the licenseManagement plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseManagement'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index c76eeeb685b6a3..50977d9167ff68 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/licensing title: "licensing" image: https://source.unsplash.com/400x175/?github summary: API docs for the licensing plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index fd95d36a1af602..9719efdb8ca301 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/lists title: "lists" image: https://source.unsplash.com/400x175/?github summary: API docs for the lists plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/management.mdx b/api_docs/management.mdx index 89aa48dbe93114..9be9b298ebadd4 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/management title: "management" image: https://source.unsplash.com/400x175/?github summary: API docs for the management plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'management'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index 41df98e8d33e22..3f03fa86dd7fd6 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/maps title: "maps" image: https://source.unsplash.com/400x175/?github summary: API docs for the maps plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'maps'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index d53bd0f73d5315..96165591fda434 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/mapsEms title: "mapsEms" image: https://source.unsplash.com/400x175/?github summary: API docs for the mapsEms plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 2379b7892cc3ab..2bf0d6fc77aa12 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/ml title: "ml" image: https://source.unsplash.com/400x175/?github summary: API docs for the ml plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ml'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index 3ecdee1cc2bedd..62eb7c5aabfdb9 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/monitoring title: "monitoring" image: https://source.unsplash.com/400x175/?github summary: API docs for the monitoring plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoring'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/monitoring_collection.mdx b/api_docs/monitoring_collection.mdx index ab499cc9c4b98b..9db8e4708a8f17 100644 --- a/api_docs/monitoring_collection.mdx +++ b/api_docs/monitoring_collection.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/monitoringCollection title: "monitoringCollection" image: https://source.unsplash.com/400x175/?github summary: API docs for the monitoringCollection plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoringCollection'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/navigation.mdx b/api_docs/navigation.mdx index 2a98e00612c4ba..0baba786cdecbb 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/navigation title: "navigation" image: https://source.unsplash.com/400x175/?github summary: API docs for the navigation plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'navigation'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/newsfeed.mdx b/api_docs/newsfeed.mdx index 105a2f1c242519..428c8f9c2dca32 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/newsfeed title: "newsfeed" image: https://source.unsplash.com/400x175/?github summary: API docs for the newsfeed plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'newsfeed'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index 9ef116d1f3c9a2..4e2057964771dd 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/observability title: "observability" image: https://source.unsplash.com/400x175/?github summary: API docs for the observability plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index 8726ff7b3c3a27..09c914f381b713 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/osquery title: "osquery" image: https://source.unsplash.com/400x175/?github summary: API docs for the osquery plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index 954732e3e0a79a..c1b974b19c6e55 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -3,7 +3,7 @@ id: kibDevDocsPluginDirectory slug: /kibana-dev-docs/api-meta/plugin-api-directory title: Directory summary: Directory of public APIs available through plugins or packages. -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index 8353adc692177e..cb4809b31517b7 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/presentationUtil title: "presentationUtil" image: https://source.unsplash.com/400x175/?github summary: API docs for the presentationUtil plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationUtil'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index d3a1e7c1068154..a0c20ee1a94a32 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/remoteClusters title: "remoteClusters" image: https://source.unsplash.com/400x175/?github summary: API docs for the remoteClusters plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'remoteClusters'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/reporting.mdx b/api_docs/reporting.mdx index ec48f1776bcb1a..1ac6b99893282e 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/reporting title: "reporting" image: https://source.unsplash.com/400x175/?github summary: API docs for the reporting plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index 675f15a698697c..3a15db4fbbeb13 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/rollup title: "rollup" image: https://source.unsplash.com/400x175/?github summary: API docs for the rollup plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'rollup'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index baae2503914cb5..c8c66479018eba 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/ruleRegistry title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github summary: API docs for the ruleRegistry plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ruleRegistry'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/runtime_fields.mdx b/api_docs/runtime_fields.mdx index 064007e8bb5aa2..699cae826f9cb1 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/runtimeFields title: "runtimeFields" image: https://source.unsplash.com/400x175/?github summary: API docs for the runtimeFields plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'runtimeFields'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index b4aa43b46f337d..18f525f0d6240b 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/savedObjects title: "savedObjects" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjects plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjects'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/saved_objects_management.mdx b/api_docs/saved_objects_management.mdx index 67c90ac278c5ed..edae7e21230c45 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/savedObjectsManagement title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjectsManagement plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsManagement'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/saved_objects_tagging.mdx b/api_docs/saved_objects_tagging.mdx index 29f17b06f75711..d1df713bfb5c64 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/savedObjectsTagging title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjectsTagging plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTagging'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/saved_objects_tagging_oss.mdx b/api_docs/saved_objects_tagging_oss.mdx index f6f64a6ce2ccf4..774746a82bb351 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/savedObjectsTaggingOss title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjectsTaggingOss plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTaggingOss'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/screenshot_mode.mdx b/api_docs/screenshot_mode.mdx index 323c17eb256169..ec6746c992b000 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/screenshotMode title: "screenshotMode" image: https://source.unsplash.com/400x175/?github summary: API docs for the screenshotMode plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotMode'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/screenshotting.mdx b/api_docs/screenshotting.mdx index 2c6f6926223f54..2d07c81433c6ef 100644 --- a/api_docs/screenshotting.mdx +++ b/api_docs/screenshotting.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/screenshotting title: "screenshotting" image: https://source.unsplash.com/400x175/?github summary: API docs for the screenshotting plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotting'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/security.mdx b/api_docs/security.mdx index 9cfd886a289434..0b35e12e15248d 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/security title: "security" image: https://source.unsplash.com/400x175/?github summary: API docs for the security plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'security'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index 0eb9686be825cd..1cb268f4d0d45c 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/securitySolution title: "securitySolution" image: https://source.unsplash.com/400x175/?github summary: API docs for the securitySolution plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolution'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/session_view.mdx b/api_docs/session_view.mdx index 9c3de145a83002..d11ca862d03f98 100644 --- a/api_docs/session_view.mdx +++ b/api_docs/session_view.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/sessionView title: "sessionView" image: https://source.unsplash.com/400x175/?github summary: API docs for the sessionView plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sessionView'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/share.mdx b/api_docs/share.mdx index b64ff36c5e611e..de01379d6885a3 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/share title: "share" image: https://source.unsplash.com/400x175/?github summary: API docs for the share plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'share'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/shared_u_x.mdx b/api_docs/shared_u_x.mdx index c052a702a4d370..41e418214f2480 100644 --- a/api_docs/shared_u_x.mdx +++ b/api_docs/shared_u_x.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/sharedUX title: "sharedUX" image: https://source.unsplash.com/400x175/?github summary: API docs for the sharedUX plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sharedUX'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/snapshot_restore.mdx b/api_docs/snapshot_restore.mdx index 1a67f3255e0e9b..f8e9c0ffbfd454 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/snapshotRestore title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github summary: API docs for the snapshotRestore plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'snapshotRestore'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/spaces.mdx b/api_docs/spaces.mdx index e566e2cf314383..fd5e5fefd2425c 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/spaces title: "spaces" image: https://source.unsplash.com/400x175/?github summary: API docs for the spaces plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'spaces'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index 49ecf7883657ce..94800ab38062cc 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/stackAlerts title: "stackAlerts" image: https://source.unsplash.com/400x175/?github summary: API docs for the stackAlerts plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackAlerts'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index 8c55b82aba007f..16e6868dd2067d 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/taskManager title: "taskManager" image: https://source.unsplash.com/400x175/?github summary: API docs for the taskManager plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'taskManager'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index 0090ded11cb4bb..7209dec92deffe 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/telemetry title: "telemetry" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetry plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetry'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index a588fa61e5de06..e0cb6c67ccd3c0 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionManager title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetryCollectionManager plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionManager'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/telemetry_collection_xpack.mdx b/api_docs/telemetry_collection_xpack.mdx index 5b1664dcc49e54..4915719cba2f8d 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionXpack title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetryCollectionXpack plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionXpack'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/telemetry_management_section.mdx b/api_docs/telemetry_management_section.mdx index 208f3b4ea2c3e2..ea18c4b4843612 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/telemetryManagementSection title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetryManagementSection plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryManagementSection'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/threat_intelligence.mdx b/api_docs/threat_intelligence.mdx index fb2d3b15603893..ef4c58e1821c2d 100644 --- a/api_docs/threat_intelligence.mdx +++ b/api_docs/threat_intelligence.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/threatIntelligence title: "threatIntelligence" image: https://source.unsplash.com/400x175/?github summary: API docs for the threatIntelligence plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'threatIntelligence'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index ea11856d9deac0..439fe1f5a88735 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/timelines title: "timelines" image: https://source.unsplash.com/400x175/?github summary: API docs for the timelines plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'timelines'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/transform.mdx b/api_docs/transform.mdx index 1eb78923a5e2ca..237b34d2afd037 100644 --- a/api_docs/transform.mdx +++ b/api_docs/transform.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/transform title: "transform" image: https://source.unsplash.com/400x175/?github summary: API docs for the transform plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'transform'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index 01b98e50efe485..b7a895e6aaf0b9 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/triggersActionsUi title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github summary: API docs for the triggersActionsUi plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'triggersActionsUi'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/ui_actions.mdx b/api_docs/ui_actions.mdx index 7acb201efba404..56860d7d3ed161 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/uiActions title: "uiActions" image: https://source.unsplash.com/400x175/?github summary: API docs for the uiActions plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActions'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index a5ffed0a51c03a..f90ca9588eb0a0 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/uiActionsEnhanced title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the uiActionsEnhanced plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/unified_search.mdx b/api_docs/unified_search.mdx index b2980feb2da713..694f946f990a6a 100644 --- a/api_docs/unified_search.mdx +++ b/api_docs/unified_search.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/unifiedSearch title: "unifiedSearch" image: https://source.unsplash.com/400x175/?github summary: API docs for the unifiedSearch plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/unified_search_autocomplete.mdx b/api_docs/unified_search_autocomplete.mdx index 69da5ffce02b90..b5db54cff6d61a 100644 --- a/api_docs/unified_search_autocomplete.mdx +++ b/api_docs/unified_search_autocomplete.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/unifiedSearch-autocomplete title: "unifiedSearch.autocomplete" image: https://source.unsplash.com/400x175/?github summary: API docs for the unifiedSearch.autocomplete plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch.autocomplete'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index d5bb484f353934..7f4eaa55323ea9 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/urlForwarding title: "urlForwarding" image: https://source.unsplash.com/400x175/?github summary: API docs for the urlForwarding plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'urlForwarding'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index bc040a4ac42151..a8109800b46f25 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/usageCollection title: "usageCollection" image: https://source.unsplash.com/400x175/?github summary: API docs for the usageCollection plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'usageCollection'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/ux.mdx b/api_docs/ux.mdx index a25e8489219b4e..b3085640788f51 100644 --- a/api_docs/ux.mdx +++ b/api_docs/ux.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/ux title: "ux" image: https://source.unsplash.com/400x175/?github summary: API docs for the ux plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ux'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_default_editor.mdx b/api_docs/vis_default_editor.mdx index 88368b50793537..7d742fb32d347f 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visDefaultEditor title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github summary: API docs for the visDefaultEditor plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visDefaultEditor'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_gauge.mdx b/api_docs/vis_type_gauge.mdx index 7c6467be479bc4..190fe6a9c2caa9 100644 --- a/api_docs/vis_type_gauge.mdx +++ b/api_docs/vis_type_gauge.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeGauge title: "visTypeGauge" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeGauge plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeGauge'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_heatmap.mdx b/api_docs/vis_type_heatmap.mdx index a460c345566a01..65d189e2dd1aa0 100644 --- a/api_docs/vis_type_heatmap.mdx +++ b/api_docs/vis_type_heatmap.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeHeatmap title: "visTypeHeatmap" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeHeatmap plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeHeatmap'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index 354d8f2ffcfba5..f7f67227e7357a 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypePie title: "visTypePie" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypePie plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypePie'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_table.mdx b/api_docs/vis_type_table.mdx index 20f28721908d8e..b753d380830471 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeTable title: "visTypeTable" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeTable plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTable'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_timelion.mdx b/api_docs/vis_type_timelion.mdx index 2e6b7130ee1cd3..ea824309f645f7 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeTimelion title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeTimelion plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimelion'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_timeseries.mdx b/api_docs/vis_type_timeseries.mdx index 44045d26297b81..dcb5927061484d 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeTimeseries title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeTimeseries plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimeseries'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_vega.mdx b/api_docs/vis_type_vega.mdx index 6a9327735848ea..e5bb64d51cff93 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeVega title: "visTypeVega" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeVega plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVega'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_vislib.mdx b/api_docs/vis_type_vislib.mdx index b081e1a1f5d741..50377e9a6eea9f 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeVislib title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeVislib plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVislib'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/vis_type_xy.mdx b/api_docs/vis_type_xy.mdx index 27a5422bfcfa50..710574f0dbec83 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visTypeXy title: "visTypeXy" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeXy plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeXy'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index 13de9e84a853f2..251a801a956b17 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -4,7 +4,7 @@ slug: /kibana-dev-docs/api/visualizations title: "visualizations" image: https://source.unsplash.com/400x175/?github summary: API docs for the visualizations plugin -date: 2022-07-31 +date: 2022-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. --- From c26e085c92b84c428258c75247bfd11e16f4149d Mon Sep 17 00:00:00 2001 From: Stratoula Kalafateli Date: Mon, 1 Aug 2022 09:01:21 +0300 Subject: [PATCH 12/37] [Lens] Fixes the styling issue of dropping a geo field (#137510) --- .../geo_field_workspace_panel.tsx | 46 ++++++++++--------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.tsx index 3b5724b6d72f6d..8f32ff75c51f05 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.tsx +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.tsx @@ -46,28 +46,30 @@ export function GeoFieldWorkspacePanel(props: Props) { return ( -

- {getVisualizeGeoFieldMessage(props.fieldType)} -

- - -

- - - -

-
+
+

+ {getVisualizeGeoFieldMessage(props.fieldType)} +

+ + +

+ + + +

+
+
); From b4a212b8dc97ee25af25630c5780fc8ec60d597c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Kopyci=C5=84ski?= Date: Mon, 1 Aug 2022 10:55:19 +0200 Subject: [PATCH 13/37] [Osquery] Fix live packs (#137651) --- .../cypress/integration/all/packs.spec.ts | 1 + .../osquery/public/actions/actions_table.tsx | 16 ++-- .../osquery/public/actions/use_all_actions.ts | 95 ------------------- .../public/actions/use_all_live_queries.ts | 65 +++++++++++++ .../common/hooks/use_logs_data_view.tsx | 48 +++++++--- .../public/live_queries/form/index.tsx | 45 +++++---- .../form/pack_queries_status_table.tsx | 50 ++++++++-- .../form/packs_combobox_field.tsx | 1 + .../packs/pack_queries_status_table.tsx | 4 +- .../osquery/public/packs/packs_table.tsx | 47 ++++++++- .../osquery/public/packs/use_create_pack.ts | 8 +- .../public/packs/use_pack_query_errors.ts | 2 +- .../packs/use_pack_query_last_results.ts | 2 +- .../public/routes/live_queries/index.tsx | 2 +- .../public/routes/saved_queries/edit/tabs.tsx | 3 +- .../routes/asset/update_assets_route.ts | 13 ++- .../live_query/create_live_query_route.ts | 5 +- .../live_query/find_live_query_route.ts | 90 ++++++++++++++++++ .../get_live_query_results_route.ts | 18 ++-- .../osquery/server/routes/live_query/index.ts | 2 + .../server/routes/pack/create_pack_route.ts | 7 +- .../server/routes/pack/update_pack_route.ts | 11 +-- .../saved_query/create_saved_query_route.ts | 7 +- .../saved_query/update_saved_query_route.ts | 8 +- .../translations/translations/fr-FR.json | 1 - .../translations/translations/ja-JP.json | 1 - .../translations/translations/zh-CN.json | 1 - 27 files changed, 374 insertions(+), 179 deletions(-) delete mode 100644 x-pack/plugins/osquery/public/actions/use_all_actions.ts create mode 100644 x-pack/plugins/osquery/public/actions/use_all_live_queries.ts create mode 100644 x-pack/plugins/osquery/server/routes/live_query/find_live_query_route.ts diff --git a/x-pack/plugins/osquery/cypress/integration/all/packs.spec.ts b/x-pack/plugins/osquery/cypress/integration/all/packs.spec.ts index 260408ca428c1b..71a3cf11097c46 100644 --- a/x-pack/plugins/osquery/cypress/integration/all/packs.spec.ts +++ b/x-pack/plugins/osquery/cypress/integration/all/packs.spec.ts @@ -66,6 +66,7 @@ describe('ALL - Packs', () => { cy.contains('Save and deploy changes'); findAndClickButton('Save and deploy changes'); cy.contains(PACK_NAME); + cy.contains(`Successfully created "${PACK_NAME}" pack`); }); it('to click the edit button and edit pack', () => { diff --git a/x-pack/plugins/osquery/public/actions/actions_table.tsx b/x-pack/plugins/osquery/public/actions/actions_table.tsx index 25c35d09e1ba08..9c50bc07c1c34d 100644 --- a/x-pack/plugins/osquery/public/actions/actions_table.tsx +++ b/x-pack/plugins/osquery/public/actions/actions_table.tsx @@ -19,10 +19,13 @@ import { import React, { useState, useCallback, useMemo } from 'react'; import { useHistory } from 'react-router-dom'; -import { useAllActions } from './use_all_actions'; +import { useAllLiveQueries } from './use_all_live_queries'; +import type { SearchHit } from '../../common/search_strategy'; import { Direction } from '../../common/search_strategy'; import { useRouterNavigate, useKibana } from '../common/lib/kibana'; +const EMPTY_ARRAY: SearchHit[] = []; + interface ActionTableResultsButtonProps { actionId: string; } @@ -41,7 +44,7 @@ const ActionsTableComponent = () => { const [pageIndex, setPageIndex] = useState(0); const [pageSize, setPageSize] = useState(20); - const { data: actionsData } = useAllActions({ + const { data: actionsData } = useAllLiveQueries({ activePage: pageIndex, limit: pageSize, direction: Direction.desc, @@ -129,7 +132,7 @@ const ActionsTableComponent = () => { [push] ); const isPlayButtonAvailable = useCallback( - () => permissions.runSavedQueries || permissions.writeLiveQueries, + () => !!(permissions.runSavedQueries || permissions.writeLiveQueries), [permissions.runSavedQueries, permissions.writeLiveQueries] ); @@ -199,16 +202,15 @@ const ActionsTableComponent = () => { () => ({ pageIndex, pageSize, - totalItemCount: actionsData?.total ?? 0, + totalItemCount: actionsData?.data?.total ?? 0, pageSizeOptions: [20, 50, 100], }), - [actionsData?.total, pageIndex, pageSize] + [actionsData, pageIndex, pageSize] ); return ( { - const { data } = useKibana().services; - const setErrorToast = useErrorToast(); - - return useQuery( - ['actions', { activePage, direction, limit, sortField }], - async () => { - const responseData = await lastValueFrom( - data.search.search( - { - factoryQueryType: OsqueryQueries.actions, - filterQuery: createFilter(filterQuery), - pagination: generateTablePaginationOptions(activePage, limit), - sort: { - direction, - field: sortField, - }, - }, - { - strategy: 'osquerySearchStrategy', - } - ) - ); - - return { - ...responseData, - actions: responseData.edges, - inspect: getInspectResponse(responseData, {} as InspectResponse), - }; - }, - { - keepPreviousData: true, - enabled: !skip, - onSuccess: () => setErrorToast(), - onError: (error: Error) => - setErrorToast(error, { - title: i18n.translate('xpack.osquery.all_actions.fetchError', { - defaultMessage: 'Error while fetching actions', - }), - }), - } - ); -}; diff --git a/x-pack/plugins/osquery/public/actions/use_all_live_queries.ts b/x-pack/plugins/osquery/public/actions/use_all_live_queries.ts new file mode 100644 index 00000000000000..f0fb0cd35ead60 --- /dev/null +++ b/x-pack/plugins/osquery/public/actions/use_all_live_queries.ts @@ -0,0 +1,65 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useQuery } from 'react-query'; + +import { i18n } from '@kbn/i18n'; +import { createFilter } from '../common/helpers'; +import { useKibana } from '../common/lib/kibana'; +import type { ActionEdges, ActionsStrategyResponse, Direction } from '../../common/search_strategy'; +import type { ESTermQuery } from '../../common/typed_json'; + +import { useErrorToast } from '../common/hooks/use_error_toast'; + +interface UseAllLiveQueries { + activePage: number; + direction: Direction; + limit: number; + sortField: string; + filterQuery?: ESTermQuery | string; + skip?: boolean; +} + +export const useAllLiveQueries = ({ + activePage, + direction, + limit, + sortField, + filterQuery, + skip = false, +}: UseAllLiveQueries) => { + const { http } = useKibana().services; + const setErrorToast = useErrorToast(); + + return useQuery( + ['actions', { activePage, direction, limit, sortField }], + () => + http.get<{ data: Omit & { items: ActionEdges } }>( + '/api/osquery/live_queries', + { + query: { + filterQuery: createFilter(filterQuery), + page: activePage, + pageSize: limit, + sort: sortField, + sortOrder: direction, + }, + } + ), + { + keepPreviousData: true, + enabled: !skip, + onSuccess: () => setErrorToast(), + onError: (error: Error) => + setErrorToast(error, { + title: i18n.translate('xpack.osquery.live_queries_all.fetchError', { + defaultMessage: 'Error while fetching live queries', + }), + }), + } + ); +}; diff --git a/x-pack/plugins/osquery/public/common/hooks/use_logs_data_view.tsx b/x-pack/plugins/osquery/public/common/hooks/use_logs_data_view.tsx index 8da13f72a077db..ccb3be55d1eea0 100644 --- a/x-pack/plugins/osquery/public/common/hooks/use_logs_data_view.tsx +++ b/x-pack/plugins/osquery/public/common/hooks/use_logs_data_view.tsx @@ -14,18 +14,44 @@ export interface LogsDataView extends DataView { id: string; } -export const useLogsDataView = () => { +interface UseLogsDataView { + skip?: boolean; +} + +export const useLogsDataView = (payload?: UseLogsDataView) => { const dataViews = useKibana().services.data.dataViews; - return useQuery(['logsDataView'], async () => { - let dataView = (await dataViews.find('logs-osquery_manager.result*', 1))[0]; - if (!dataView && dataViews.getCanSaveSync()) { - dataView = await dataViews.createAndSave({ - title: 'logs-osquery_manager.result*', - timeFieldName: '@timestamp', - }); - } + return useQuery( + ['logsDataView'], + async () => { + try { + await dataViews.getFieldsForWildcard({ + pattern: 'logs-osquery_manager.result*', + }); + } catch (e) { + return undefined; + } - return dataView as LogsDataView; - }); + let dataView; + try { + const data = await dataViews.find('logs-osquery_manager.result*', 1); + if (data.length) { + dataView = data[0]; + } + } catch (e) { + if (dataViews.getCanSaveSync()) { + dataView = await dataViews.createAndSave({ + title: 'logs-osquery_manager.result*', + timeFieldName: '@timestamp', + }); + } + } + + return dataView as LogsDataView; + }, + { + enabled: !payload?.skip, + retry: 1, + } + ); }; diff --git a/x-pack/plugins/osquery/public/live_queries/form/index.tsx b/x-pack/plugins/osquery/public/live_queries/form/index.tsx index f7cb1e602dbbb9..89ac00720d6f4b 100644 --- a/x-pack/plugins/osquery/public/live_queries/form/index.tsx +++ b/x-pack/plugins/osquery/public/live_queries/form/index.tsx @@ -17,7 +17,7 @@ import { EuiCard, } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; -import React, { useCallback, useEffect, useLayoutEffect, useMemo, useState } from 'react'; +import React, { useCallback, useEffect, useMemo, useState } from 'react'; import styled from 'styled-components'; import { pickBy, isEmpty, map, find } from 'lodash'; @@ -122,7 +122,14 @@ const LiveQueryFormComponent: React.FC = ({ const handleShowSaveQueryFlyout = useCallback(() => setShowSavedQueryFlyout(true), []); const handleCloseSaveQueryFlyout = useCallback(() => setShowSavedQueryFlyout(false), []); - const { data, isLoading, mutateAsync, isError, isSuccess } = useCreateLiveQuery({ onSuccess }); + const { + data, + isLoading, + mutateAsync, + isError, + isSuccess, + reset: cleanupLiveQuery, + } = useCreateLiveQuery({ onSuccess }); const { data: liveQueryDetails } = useLiveQueryDetails({ actionId: data?.action_id, @@ -271,6 +278,13 @@ const LiveQueryFormComponent: React.FC = ({ [permissions.readSavedQueries, permissions.runSavedQueries] ); + const { data: packsData } = usePacks({}); + + const selectedPackData = useMemo( + () => (packId?.length ? find(packsData?.data, { id: packId[0] }) : null), + [packId, packsData] + ); + const submitButtonContent = useMemo( () => ( @@ -300,7 +314,8 @@ const LiveQueryFormComponent: React.FC = ({ !enabled || !agentSelected || (queryType === 'query' && !queryValueProvided) || - (queryType === 'pack' && !packId) || + (queryType === 'pack' && + (!packId || !selectedPackData?.attributes.queries.length)) || isSubmitting } onClick={submit} @@ -325,6 +340,7 @@ const LiveQueryFormComponent: React.FC = ({ queryType, queryValueProvided, resultsStatus, + selectedPackData, submit, ] ); @@ -426,13 +442,6 @@ const LiveQueryFormComponent: React.FC = ({ } }, [defaultValue, updateFieldValues]); - const { data: packsData } = usePacks({}); - - const selectedPackData = useMemo( - () => (packId?.length ? find(packsData?.data, { id: packId[0] }) : null), - [packId, packsData] - ); - const queryCardSelectable = useMemo( () => ({ onClick: () => setQueryType('query'), @@ -452,11 +461,12 @@ const LiveQueryFormComponent: React.FC = ({ ); const canRunPacks = useMemo( - () => !!(permissions.runSavedQueries && permissions.readPacks), + () => + !!((permissions.runSavedQueries || permissions.writeLiveQueries) && permissions.readPacks), [permissions] ); - useLayoutEffect(() => { + useEffect(() => { if (defaultValue?.packId) { setQueryType('pack'); const selectedPackOption = find(packsData?.data, ['id', defaultValue.packId]); @@ -468,10 +478,12 @@ const LiveQueryFormComponent: React.FC = ({ } }, [defaultValue, packsData, updateFieldValues]); - useLayoutEffect(() => { + useEffect(() => { setIsLive(() => !(liveQueryDetails?.status === 'completed')); }, [liveQueryDetails?.status]); + useEffect(() => cleanupLiveQuery(), [queryType, packId, cleanupLiveQuery]); + return ( <>
@@ -544,18 +556,19 @@ const LiveQueryFormComponent: React.FC = ({ {submitButtonContent} - {(liveQueryDetails?.queries?.length || - selectedPackData?.attributes?.queries?.length) && ( + {liveQueryDetails?.queries?.length || + selectedPackData?.attributes?.queries?.length ? ( <> - )} + ) : null} ) : ( <> diff --git a/x-pack/plugins/osquery/public/live_queries/form/pack_queries_status_table.tsx b/x-pack/plugins/osquery/public/live_queries/form/pack_queries_status_table.tsx index eb687303588eb6..1b49abf2cbdcf9 100644 --- a/x-pack/plugins/osquery/public/live_queries/form/pack_queries_status_table.tsx +++ b/x-pack/plugins/osquery/public/live_queries/form/pack_queries_status_table.tsx @@ -6,7 +6,8 @@ */ import { get } from 'lodash'; -import React, { useCallback, useEffect, useLayoutEffect, useState, useMemo } from 'react'; +import type { ReactElement } from 'react'; +import React, { useCallback, useEffect, useState, useMemo } from 'react'; import { EuiBasicTable, EuiButtonEmpty, @@ -42,6 +43,16 @@ import type { PackItem } from '../../packs/types'; import type { LogsDataView } from '../../common/hooks/use_logs_data_view'; import { useLogsDataView } from '../../common/hooks/use_logs_data_view'; +const TruncateTooltipText = styled.div` + width: 100%; + + > span { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } +`; + const EMPTY_ARRAY: PackQueryStatusItem[] = []; // @ts-expect-error TS2769 @@ -224,7 +235,7 @@ const ViewResultsInLensActionComponent: React.FC { const lensService = useKibana().services.lens; const isLensAvailable = lensService?.canUseEditor(); - const { data: logsDataView } = useLogsDataView(); + const { data: logsDataView } = useLogsDataView({ skip: !actionId }); const handleClick = useCallback( (event) => { @@ -290,7 +301,7 @@ const ViewResultsInDiscoverActionComponent: React.FC(''); @@ -519,16 +530,30 @@ interface PackQueriesStatusTableProps { data?: PackQueryStatusItem[]; startDate?: string; expirationDate?: string; + addToTimeline?: (payload: { query: [string, string]; isIcon?: true }) => ReactElement; } const PackQueriesStatusTableComponent: React.FC = ({ + actionId, agentIds, data, startDate, expirationDate, + addToTimeline, }) => { const [itemIdToExpandedRowMap, setItemIdToExpandedRowMap] = useState>({}); + const renderIDColumn = useCallback( + (id: string) => ( + + + <>{id} + + + ), + [] + ); + const renderQueryColumn = useCallback((query: string, item) => { const singleLine = removeMultilines(query); const content = singleLine.length > 55 ? `${singleLine.substring(0, 55)}...` : singleLine; @@ -588,6 +613,7 @@ const PackQueriesStatusTableComponent: React.FC = ( endDate={expirationDate} agentIds={agentIds} failedAgentsCount={item?.failed ?? 0} + addToTimeline={addToTimeline} /> @@ -597,12 +623,12 @@ const PackQueriesStatusTableComponent: React.FC = ( return itemIdToExpandedRowMapValues; }); }, - [agentIds, expirationDate, startDate] + [agentIds, expirationDate, startDate, addToTimeline] ); const renderToggleResultsAction = useCallback( (item) => - item?.action_id ? ( + item?.action_id && data?.length && data.length > 1 ? ( = ( ) : ( <> ), - [getHandleErrorsToggle, itemIdToExpandedRowMap] + [data, getHandleErrorsToggle, itemIdToExpandedRowMap] ); const getItemId = useCallback((item: PackItem) => get(item, 'id'), []); @@ -624,7 +650,7 @@ const PackQueriesStatusTableComponent: React.FC = ( defaultMessage: 'ID', }), width: '15%', - truncateText: true, + render: renderIDColumn, }, { field: 'query', @@ -638,12 +664,14 @@ const PackQueriesStatusTableComponent: React.FC = ( name: i18n.translate('xpack.osquery.pack.queriesTable.docsResultsColumnTitle', { defaultMessage: 'Docs', }), + width: '80px', render: renderDocsColumn, }, { name: i18n.translate('xpack.osquery.pack.queriesTable.agentsResultsColumnTitle', { defaultMessage: 'Agents', }), + width: '160px', render: renderAgentsColumn, }, { @@ -673,6 +701,7 @@ const PackQueriesStatusTableComponent: React.FC = ( }, ], [ + renderIDColumn, renderQueryColumn, renderDocsColumn, renderAgentsColumn, @@ -692,7 +721,12 @@ const PackQueriesStatusTableComponent: React.FC = ( [] ); - useLayoutEffect(() => { + useEffect(() => { + // reset the expanded row map when the data changes + setItemIdToExpandedRowMap({}); + }, [actionId]); + + useEffect(() => { if ( data?.length === 1 && agentIds?.length && diff --git a/x-pack/plugins/osquery/public/live_queries/form/packs_combobox_field.tsx b/x-pack/plugins/osquery/public/live_queries/form/packs_combobox_field.tsx index 41b0bdc9199937..e9cf7fa6f9e85b 100644 --- a/x-pack/plugins/osquery/public/live_queries/form/packs_combobox_field.tsx +++ b/x-pack/plugins/osquery/public/live_queries/form/packs_combobox_field.tsx @@ -64,6 +64,7 @@ export const PacksComboBoxField = ({ field, euiFieldProps = {}, idAria, ...rest (newSelectedOptions) => { if (!newSelectedOptions.length) { setSelectedOptions(newSelectedOptions); + field.setValue([]); return; } diff --git a/x-pack/plugins/osquery/public/packs/pack_queries_status_table.tsx b/x-pack/plugins/osquery/public/packs/pack_queries_status_table.tsx index c09c5385478c41..c698db405add46 100644 --- a/x-pack/plugins/osquery/public/packs/pack_queries_status_table.tsx +++ b/x-pack/plugins/osquery/public/packs/pack_queries_status_table.tsx @@ -211,7 +211,7 @@ const ViewResultsInLensActionComponent: React.FC { const lensService = useKibana().services.lens; const isLensAvailable = lensService?.canUseEditor(); - const { data: logsDataView } = useLogsDataView(); + const { data: logsDataView } = useLogsDataView({ skip: !actionId }); const handleClick = useCallback( (event) => { @@ -274,7 +274,7 @@ const ViewResultsInDiscoverActionComponent: React.FC(''); diff --git a/x-pack/plugins/osquery/public/packs/packs_table.tsx b/x-pack/plugins/osquery/public/packs/packs_table.tsx index 6a62d0945d5170..77fdf4569e85d4 100644 --- a/x-pack/plugins/osquery/public/packs/packs_table.tsx +++ b/x-pack/plugins/osquery/public/packs/packs_table.tsx @@ -5,7 +5,8 @@ * 2.0. */ -import type { EuiBasicTableColumn } from '@elastic/eui'; +import type { EuiBasicTableColumn, EuiTableActionsColumnType } from '@elastic/eui'; +import { EuiButtonIcon } from '@elastic/eui'; import { EuiButtonEmpty, EuiText, @@ -20,7 +21,8 @@ import React, { useCallback, useMemo, useState } from 'react'; import styled from 'styled-components'; import { i18n } from '@kbn/i18n'; -import { useRouterNavigate } from '../common/lib/kibana'; +import { useHistory } from 'react-router-dom'; +import { useKibana, useRouterNavigate } from '../common/lib/kibana'; import { usePacks } from './use_packs'; import { ActiveStateSwitch } from './active_state_switch'; import { AgentsPolicyLink } from '../agent_policies/agents_policy_link'; @@ -85,6 +87,8 @@ export const AgentPoliciesPopover = ({ agentPolicyIds = [] }: { agentPolicyIds?: }; const PacksTableComponent = () => { + const permissions = useKibana().services.application.capabilities.osquery; + const { push } = useHistory(); const { data, isLoading } = usePacks({}); const renderAgentPolicy = useCallback( @@ -116,6 +120,23 @@ const PacksTableComponent = () => { ); }, []); + const handlePlayClick = useCallback<(item: PackSavedObject) => () => void>( + (item) => () => + push('/live_queries/new', { + form: { + packId: item.id, + }, + }), + [push] + ); + + const renderPlayAction = useCallback( + (item, enabled) => ( + + ), + [handlePlayClick] + ); + const columns: Array> = useMemo( () => [ { @@ -167,8 +188,28 @@ const PacksTableComponent = () => { width: '80px', render: renderActive, }, + { + name: i18n.translate('xpack.osquery.pack.queriesTable.actionsColumnTitle', { + defaultMessage: 'Actions', + }), + width: '80px', + actions: [ + { + render: renderPlayAction, + enabled: () => permissions.writeLiveQueries || permissions.runSavedQueries, + }, + ], + } as EuiTableActionsColumnType, ], - [renderActive, renderAgentPolicy, renderQueries, renderUpdatedAt] + [ + permissions.runSavedQueries, + permissions.writeLiveQueries, + renderActive, + renderAgentPolicy, + renderPlayAction, + renderQueries, + renderUpdatedAt, + ] ); const sorting = useMemo( diff --git a/x-pack/plugins/osquery/public/packs/use_create_pack.ts b/x-pack/plugins/osquery/public/packs/use_create_pack.ts index 3dcd7bfc112019..b536f50075a862 100644 --- a/x-pack/plugins/osquery/public/packs/use_create_pack.ts +++ b/x-pack/plugins/osquery/public/packs/use_create_pack.ts @@ -28,7 +28,11 @@ export const useCreatePack = ({ withRedirect }: UseCreatePackProps) => { } = useKibana().services; const setErrorToast = useErrorToast(); - return useMutation( + return useMutation< + { data: PackSavedObject }, + { body: { error: string; message: string } }, + PackSavedObject + >( (payload) => http.post('/api/osquery/packs', { body: JSON.stringify(payload), @@ -47,7 +51,7 @@ export const useCreatePack = ({ withRedirect }: UseCreatePackProps) => { i18n.translate('xpack.osquery.newPack.successToastMessageText', { defaultMessage: 'Successfully created "{packName}" pack', values: { - packName: payload.attributes?.name ?? '', + packName: payload.data.attributes?.name ?? '', }, }) ); diff --git a/x-pack/plugins/osquery/public/packs/use_pack_query_errors.ts b/x-pack/plugins/osquery/public/packs/use_pack_query_errors.ts index dd31356171aedc..1e57af58c46b46 100644 --- a/x-pack/plugins/osquery/public/packs/use_pack_query_errors.ts +++ b/x-pack/plugins/osquery/public/packs/use_pack_query_errors.ts @@ -26,7 +26,7 @@ export const usePackQueryErrors = ({ skip = false, }: UsePackQueryErrorsProps) => { const data = useKibana().services.data; - const { data: logsDataView } = useLogsDataView(); + const { data: logsDataView } = useLogsDataView({ skip }); return useQuery( ['scheduledQueryErrors', { actionId, interval }], diff --git a/x-pack/plugins/osquery/public/packs/use_pack_query_last_results.ts b/x-pack/plugins/osquery/public/packs/use_pack_query_last_results.ts index 5dd8746898e249..28b474530f4bca 100644 --- a/x-pack/plugins/osquery/public/packs/use_pack_query_last_results.ts +++ b/x-pack/plugins/osquery/public/packs/use_pack_query_last_results.ts @@ -29,7 +29,7 @@ export const usePackQueryLastResults = ({ skip = false, }: UsePackQueryLastResultsProps) => { const data = useKibana().services.data; - const { data: logsDataView } = useLogsDataView(); + const { data: logsDataView } = useLogsDataView({ skip }); return useQuery( ['scheduledQueryLastResults', { actionId }], diff --git a/x-pack/plugins/osquery/public/routes/live_queries/index.tsx b/x-pack/plugins/osquery/public/routes/live_queries/index.tsx index 5096a22e85ba13..9eefba4cb67a27 100644 --- a/x-pack/plugins/osquery/public/routes/live_queries/index.tsx +++ b/x-pack/plugins/osquery/public/routes/live_queries/index.tsx @@ -27,7 +27,7 @@ const LiveQueriesComponent = () => { return ( - {(permissions.runSavedQueries && permissions.readSavedQueries) || + {(permissions.runSavedQueries && (permissions.readSavedQueries || permissions.readPacks)) || permissions.writeLiveQueries ? ( ) : ( diff --git a/x-pack/plugins/osquery/public/routes/saved_queries/edit/tabs.tsx b/x-pack/plugins/osquery/public/routes/saved_queries/edit/tabs.tsx index 094d1380eb30c3..c8e57f4f5db230 100644 --- a/x-pack/plugins/osquery/public/routes/saved_queries/edit/tabs.tsx +++ b/x-pack/plugins/osquery/public/routes/saved_queries/edit/tabs.tsx @@ -7,6 +7,7 @@ import { EuiTabbedContent, EuiNotificationBadge } from '@elastic/eui'; import React, { useMemo } from 'react'; +import type { ReactElement } from 'react'; import { ResultsTable } from '../../../results/results_table'; import { ActionResultsSummary } from '../../../action_results/action_results_summary'; @@ -18,7 +19,7 @@ interface ResultTabsProps { ecsMapping?: Record; failedAgentsCount?: number; endDate?: string; - addToTimeline?: (payload: { query: [string, string]; isIcon?: true }) => React.ReactElement; + addToTimeline?: (payload: { query: [string, string]; isIcon?: true }) => ReactElement; } const ResultTabsComponent: React.FC = ({ diff --git a/x-pack/plugins/osquery/server/routes/asset/update_assets_route.ts b/x-pack/plugins/osquery/server/routes/asset/update_assets_route.ts index 5f63a3f615c9e3..edd32ab645e566 100644 --- a/x-pack/plugins/osquery/server/routes/asset/update_assets_route.ts +++ b/x-pack/plugins/osquery/server/routes/asset/update_assets_route.ts @@ -6,7 +6,7 @@ */ import moment from 'moment-timezone'; -import { filter, omit } from 'lodash'; +import { filter, omit, some } from 'lodash'; import { schema } from '@kbn/config-schema'; import { asyncForEach } from '@kbn/std'; import deepmerge from 'deepmerge'; @@ -102,9 +102,14 @@ export const updateAssetsRoute = (router: IRouter, osqueryContext: OsqueryAppCon filter: `${packSavedObjectType}.attributes.name: "${packAssetSavedObject.attributes.name}"`, }); - const name = conflictingEntries.saved_objects.length - ? `${packAssetSavedObject.attributes.name}-elastic` - : packAssetSavedObject.attributes.name; + const name = + conflictingEntries.saved_objects.length && + some(conflictingEntries.saved_objects, [ + 'attributes.name', + packAssetSavedObject.attributes.name, + ]) + ? `${packAssetSavedObject.attributes.name}-elastic` + : packAssetSavedObject.attributes.name; await savedObjectsClient.create( packSavedObjectType, diff --git a/x-pack/plugins/osquery/server/routes/live_query/create_live_query_route.ts b/x-pack/plugins/osquery/server/routes/live_query/create_live_query_route.ts index 07f9b31270822f..52741eb692b4cf 100644 --- a/x-pack/plugins/osquery/server/routes/live_query/create_live_query_route.ts +++ b/x-pack/plugins/osquery/server/routes/live_query/create_live_query_route.ts @@ -51,7 +51,10 @@ export const createLiveQueryRoute = (router: IRouter, osqueryContext: OsqueryApp osquery: { writeLiveQueries, runSavedQueries }, } = await coreStartServices.capabilities.resolveCapabilities(request); - const isInvalid = !(writeLiveQueries || (runSavedQueries && request.body.saved_query_id)); + const isInvalid = !( + writeLiveQueries || + (runSavedQueries && (request.body.saved_query_id || request.body.pack_id)) + ); if (isInvalid) { return response.forbidden(); diff --git a/x-pack/plugins/osquery/server/routes/live_query/find_live_query_route.ts b/x-pack/plugins/osquery/server/routes/live_query/find_live_query_route.ts new file mode 100644 index 00000000000000..5186de9ce67bee --- /dev/null +++ b/x-pack/plugins/osquery/server/routes/live_query/find_live_query_route.ts @@ -0,0 +1,90 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { schema } from '@kbn/config-schema'; +import type { IRouter } from '@kbn/core/server'; +import { omit } from 'lodash'; +import type { Observable } from 'rxjs'; +import { lastValueFrom } from 'rxjs'; +import type { DataRequestHandlerContext } from '@kbn/data-plugin/server'; +import { PLUGIN_ID } from '../../../common'; + +import type { + ActionsRequestOptions, + ActionsStrategyResponse, + Direction, +} from '../../../common/search_strategy'; +import { OsqueryQueries } from '../../../common/search_strategy'; +import { createFilter, generateTablePaginationOptions } from '../../../common/utils/build_query'; + +export const findLiveQueryRoute = (router: IRouter) => { + router.get( + { + path: '/api/osquery/live_queries', + validate: { + query: schema.object( + { + filterQuery: schema.maybe(schema.string()), + page: schema.maybe(schema.number()), + pageSize: schema.maybe(schema.number()), + sort: schema.maybe(schema.string()), + sortOrder: schema.maybe(schema.oneOf([schema.literal('asc'), schema.literal('desc')])), + }, + { unknowns: 'allow' } + ), + }, + options: { tags: [`access:${PLUGIN_ID}-read`] }, + }, + async (context, request, response) => { + const abortSignal = getRequestAbortedSignal(request.events.aborted$); + + try { + const search = await context.search; + const res = await lastValueFrom( + search.search( + { + factoryQueryType: OsqueryQueries.actions, + filterQuery: createFilter(request.query.filterQuery), + pagination: generateTablePaginationOptions( + request.query.page ?? 0, + request.query.pageSize ?? 100 + ), + sort: { + direction: (request.query.sortOrder ?? 'desc') as Direction, + field: request.query.sort ?? 'created_at', + }, + }, + { abortSignal, strategy: 'osquerySearchStrategy' } + ) + ); + + return response.ok({ + body: { + data: { + ...omit(res, 'edges'), + items: res.edges, + }, + }, + }); + } catch (e) { + return response.customError({ + statusCode: e.statusCode ?? 500, + body: { + message: e.message, + }, + }); + } + } + ); +}; + +function getRequestAbortedSignal(aborted$: Observable): AbortSignal { + const controller = new AbortController(); + aborted$.subscribe(() => controller.abort()); + + return controller.signal; +} diff --git a/x-pack/plugins/osquery/server/routes/live_query/get_live_query_results_route.ts b/x-pack/plugins/osquery/server/routes/live_query/get_live_query_results_route.ts index 7fefcd40e9c680..c47772bbc70392 100644 --- a/x-pack/plugins/osquery/server/routes/live_query/get_live_query_results_route.ts +++ b/x-pack/plugins/osquery/server/routes/live_query/get_live_query_results_route.ts @@ -28,10 +28,10 @@ export const getLiveQueryResultsRoute = (router: IRouter, context: OsqueryAppContext ) => { + findLiveQueryRoute(router); createLiveQueryRoute(router, context); getLiveQueryDetailsRoute(router); getLiveQueryResultsRoute(router); diff --git a/x-pack/plugins/osquery/server/routes/pack/create_pack_route.ts b/x-pack/plugins/osquery/server/routes/pack/create_pack_route.ts index dc13fda223da93..ed1ffbcbccd7af 100644 --- a/x-pack/plugins/osquery/server/routes/pack/create_pack_route.ts +++ b/x-pack/plugins/osquery/server/routes/pack/create_pack_route.ts @@ -6,7 +6,7 @@ */ import moment from 'moment-timezone'; -import { has, mapKeys, set, unset, find } from 'lodash'; +import { has, mapKeys, set, unset, find, some } from 'lodash'; import { schema } from '@kbn/config-schema'; import { produce } from 'immer'; import type { PackagePolicy } from '@kbn/fleet-plugin/common'; @@ -80,7 +80,10 @@ export const createPackRoute = (router: IRouter, osqueryContext: OsqueryAppConte filter: `${packSavedObjectType}.attributes.name: "${name}"`, }); - if (conflictingEntries.saved_objects.length) { + if ( + conflictingEntries.saved_objects.length && + some(conflictingEntries.saved_objects, ['attributes.name', name]) + ) { return response.conflict({ body: `Pack with name "${name}" already exists.` }); } diff --git a/x-pack/plugins/osquery/server/routes/pack/update_pack_route.ts b/x-pack/plugins/osquery/server/routes/pack/update_pack_route.ts index 0da8012eb4fc0b..ea7e22f3ca9aa4 100644 --- a/x-pack/plugins/osquery/server/routes/pack/update_pack_route.ts +++ b/x-pack/plugins/osquery/server/routes/pack/update_pack_route.ts @@ -6,7 +6,7 @@ */ import moment from 'moment-timezone'; -import { set, unset, has, difference, filter, find, map, mapKeys, uniq } from 'lodash'; +import { set, unset, has, difference, filter, find, map, mapKeys, uniq, some } from 'lodash'; import { schema } from '@kbn/config-schema'; import { produce } from 'immer'; import type { PackagePolicy } from '@kbn/fleet-plugin/common'; @@ -95,11 +95,10 @@ export const updatePackRoute = (router: IRouter, osqueryContext: OsqueryAppConte }); if ( - filter( - conflictingEntries.saved_objects, - (packSO) => - packSO.id !== currentPackSO.id && packSO.attributes.name.length === name.length - ).length + some( + filter(conflictingEntries.saved_objects, (packSO) => packSO.id !== currentPackSO.id), + ['attributes.name', name] + ) ) { return response.conflict({ body: `Pack with name "${name}" already exists.` }); } diff --git a/x-pack/plugins/osquery/server/routes/saved_query/create_saved_query_route.ts b/x-pack/plugins/osquery/server/routes/saved_query/create_saved_query_route.ts index d3cb4159883456..8ee9cef33477f7 100644 --- a/x-pack/plugins/osquery/server/routes/saved_query/create_saved_query_route.ts +++ b/x-pack/plugins/osquery/server/routes/saved_query/create_saved_query_route.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { isEmpty, pickBy } from 'lodash'; +import { isEmpty, pickBy, some } from 'lodash'; import type { IRouter } from '@kbn/core/server'; import { PLUGIN_ID } from '../../../common'; import type { CreateSavedQueryRequestSchemaDecoded } from '../../../common/schemas/routes/saved_query/create_saved_query_request_schema'; @@ -41,7 +41,10 @@ export const createSavedQueryRoute = (router: IRouter, osqueryContext: OsqueryAp filter: `${savedQuerySavedObjectType}.attributes.id: "${id}"`, }); - if (conflictingEntries.saved_objects.length) { + if ( + conflictingEntries.saved_objects.length && + some(conflictingEntries.saved_objects, ['attributes.id', id]) + ) { return response.conflict({ body: `Saved query with id "${id}" already exists.` }); } diff --git a/x-pack/plugins/osquery/server/routes/saved_query/update_saved_query_route.ts b/x-pack/plugins/osquery/server/routes/saved_query/update_saved_query_route.ts index 7b6ab0f2a897de..8f8af10e797604 100644 --- a/x-pack/plugins/osquery/server/routes/saved_query/update_saved_query_route.ts +++ b/x-pack/plugins/osquery/server/routes/saved_query/update_saved_query_route.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { filter } from 'lodash'; +import { filter, some } from 'lodash'; import { schema } from '@kbn/config-schema'; import type { IRouter } from '@kbn/core/server'; @@ -76,8 +76,10 @@ export const updateSavedQueryRoute = (router: IRouter, osqueryContext: OsqueryAp }); if ( - filter(conflictingEntries.saved_objects, (soObject) => soObject.id !== request.params.id) - .length + some( + filter(conflictingEntries.saved_objects, (soObject) => soObject.id !== request.params.id), + ['attributes.id', id] + ) ) { return response.conflict({ body: `Saved query with id "${id}" already exists.` }); } diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index bab7e5067a06f5..1e6e6eb5618c05 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -22462,7 +22462,6 @@ "xpack.osquery.agents.policyLabel": "Politique", "xpack.osquery.agents.selectAgentLabel": "Sélectionner les agents ou les groupes à interroger", "xpack.osquery.agents.selectionLabel": "Agents", - "xpack.osquery.all_actions.fetchError": "Erreur lors de la récupération des actions", "xpack.osquery.appNavigation.liveQueriesLinkText": "Recherches en direct", "xpack.osquery.appNavigation.manageIntegrationButton": "Gérer l'intégration", "xpack.osquery.appNavigation.packsLinkText": "Packs", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index c5d5b4eb3818c2..8415984a3271b7 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -22541,7 +22541,6 @@ "xpack.osquery.agents.policyLabel": "ポリシー", "xpack.osquery.agents.selectAgentLabel": "クエリを実行するエージェントまたはグループを選択", "xpack.osquery.agents.selectionLabel": "エージェント", - "xpack.osquery.all_actions.fetchError": "アクションの取得中にエラーが発生しました", "xpack.osquery.appNavigation.liveQueriesLinkText": "ライブクエリ", "xpack.osquery.appNavigation.manageIntegrationButton": "統合を管理", "xpack.osquery.appNavigation.packsLinkText": "パック", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index a75f0c98661de6..d5bea7da97246a 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -22565,7 +22565,6 @@ "xpack.osquery.agents.policyLabel": "策略", "xpack.osquery.agents.selectAgentLabel": "选择要查询的代理或组", "xpack.osquery.agents.selectionLabel": "代理", - "xpack.osquery.all_actions.fetchError": "提取操作时出错", "xpack.osquery.appNavigation.liveQueriesLinkText": "实时查询", "xpack.osquery.appNavigation.manageIntegrationButton": "管理集成", "xpack.osquery.appNavigation.packsLinkText": "包", From 9a056f5286515bdef6b65fab741e27f4d4354d58 Mon Sep 17 00:00:00 2001 From: Dima Arnautov Date: Mon, 1 Aug 2022 11:11:07 +0200 Subject: [PATCH 14/37] [ML] Fix flaky job selection on the Anomaly Explorer page (#137596) --- .../application/explorer/anomaly_explorer_common_state.ts | 4 ++-- .../application/explorer/anomaly_timeline_state_service.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_explorer_common_state.ts b/x-pack/plugins/ml/public/application/explorer/anomaly_explorer_common_state.ts index 2bed3763c70a3e..725cc2ba71d63d 100644 --- a/x-pack/plugins/ml/public/application/explorer/anomaly_explorer_common_state.ts +++ b/x-pack/plugins/ml/public/application/explorer/anomaly_explorer_common_state.ts @@ -6,7 +6,7 @@ */ import { BehaviorSubject, Observable, Subscription } from 'rxjs'; -import { distinctUntilChanged, map, shareReplay, skipWhile } from 'rxjs/operators'; +import { distinctUntilChanged, map, shareReplay, filter } from 'rxjs/operators'; import { isEqual } from 'lodash'; import type { ExplorerJob } from './explorer_utils'; import type { InfluencersFilterQuery } from '../../../common/types/es_client'; @@ -68,7 +68,7 @@ export class AnomalyExplorerCommonStateService extends StateService { public getSelectedJobs$(): Observable { return this._selectedJobs$.pipe( - skipWhile((v) => !v || !v.length), + filter((v) => Array.isArray(v) && v.length > 0), distinctUntilChanged(isEqual), shareReplay(1) ); diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_timeline_state_service.ts b/x-pack/plugins/ml/public/application/explorer/anomaly_timeline_state_service.ts index 696e729423a952..1252451f1cee72 100644 --- a/x-pack/plugins/ml/public/application/explorer/anomaly_timeline_state_service.ts +++ b/x-pack/plugins/ml/public/application/explorer/anomaly_timeline_state_service.ts @@ -224,7 +224,7 @@ export class AnomalyTimelineStateService extends StateService { switchMap(([selectedJobs, severity, bucketInterval]) => { return from( this.anomalyTimelineService.loadOverallData( - selectedJobs!, + selectedJobs, undefined, bucketInterval!, severity From 6737428484ab800a22c2451f5d49efd33bd32c59 Mon Sep 17 00:00:00 2001 From: Sandra G Date: Mon, 1 Aug 2022 05:43:01 -0400 Subject: [PATCH 15/37] Rename Metrics breadcrumb to Infrastructure (#137634) --- x-pack/plugins/infra/public/translations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/infra/public/translations.ts b/x-pack/plugins/infra/public/translations.ts index 4a9b19fde6ef29..1acec39d076230 100644 --- a/x-pack/plugins/infra/public/translations.ts +++ b/x-pack/plugins/infra/public/translations.ts @@ -35,7 +35,7 @@ export const settingsTitle = i18n.translate('xpack.infra.logs.index.settingsTabT }); export const metricsTitle = i18n.translate('xpack.infra.header.infrastructureTitle', { - defaultMessage: 'Metrics', + defaultMessage: 'Infrastructure', }); export const inventoryTitle = i18n.translate('xpack.infra.metrics.inventoryPageTitle', { From 1e56f9ba34bd48b617409ef679b51dd082bc93bb Mon Sep 17 00:00:00 2001 From: Katerina Patticha Date: Mon, 1 Aug 2022 12:09:39 +0200 Subject: [PATCH 16/37] [APM] Diplay logs only matching `trace.id` query (#136927) * [APM] Diplay logs only matching `trace.id` query * Fix log stream query * Update unit tests --- .../waterfall_with_summary/transaction_tabs.tsx | 2 +- .../shared/transaction_action_menu/sections.test.ts | 6 +++--- .../components/shared/transaction_action_menu/sections.ts | 2 +- .../transaction_action_menu.test.tsx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/transaction_tabs.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/transaction_tabs.tsx index bdef27722c2a02..44ac77180d67c6 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/transaction_tabs.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/transaction_tabs.tsx @@ -128,7 +128,7 @@ function LogsTabContent({ transaction }: { transaction: Transaction }) { logView={{ type: 'log-view-reference', logViewId: 'default' }} startTimestamp={startTimestamp - framePaddingMs} endTimestamp={endTimestamp + framePaddingMs} - query={`trace.id:"${transaction.trace.id}" OR "${transaction.trace.id}"`} + query={`trace.id:"${transaction.trace.id}" OR (not trace.id:* AND "${transaction.trace.id})"`} height={640} columns={[ { type: 'timestamp' }, diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections.test.ts b/x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections.test.ts index 2b3a08028ccec6..c0b67dfc02e33e 100644 --- a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections.test.ts +++ b/x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections.test.ts @@ -55,7 +55,7 @@ describe('Transaction action menu', () => { { key: 'traceLogs', label: 'Trace logs', - href: 'some-basepath/app/logs/link-to/logs?time=1580986800&filter=trace.id:%22123%22%20OR%20%22123%22', + href: 'some-basepath/app/logs/link-to/logs?time=1580986800&filter=trace.id:%22123%22%20OR%20(not%20trace.id:*%20AND%20%22123%22)', condition: true, }, ], @@ -122,7 +122,7 @@ describe('Transaction action menu', () => { { key: 'traceLogs', label: 'Trace logs', - href: 'some-basepath/app/logs/link-to/logs?time=1580986800&filter=trace.id:%22123%22%20OR%20%22123%22', + href: 'some-basepath/app/logs/link-to/logs?time=1580986800&filter=trace.id:%22123%22%20OR%20(not%20trace.id:*%20AND%20%22123%22)', condition: true, }, ], @@ -188,7 +188,7 @@ describe('Transaction action menu', () => { { key: 'traceLogs', label: 'Trace logs', - href: 'some-basepath/app/logs/link-to/logs?time=1580986800&filter=trace.id:%22123%22%20OR%20%22123%22', + href: 'some-basepath/app/logs/link-to/logs?time=1580986800&filter=trace.id:%22123%22%20OR%20(not%20trace.id:*%20AND%20%22123%22)', condition: true, }, ], diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections.ts b/x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections.ts index 29db2d09b3bcf5..144658746175fd 100644 --- a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections.ts +++ b/x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections.ts @@ -168,7 +168,7 @@ export const getSections = ({ path: `/link-to/logs`, query: { time, - filter: `trace.id:"${transaction.trace.id}" OR "${transaction.trace.id}"`, + filter: `trace.id:"${transaction.trace.id}" OR (not trace.id:* AND "${transaction.trace.id}")`, }, }), condition: true, diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/transaction_action_menu.test.tsx b/x-pack/plugins/apm/public/components/shared/transaction_action_menu/transaction_action_menu.test.tsx index 9c5dd2bbe03b69..25e1277ebe0c36 100644 --- a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/transaction_action_menu.test.tsx +++ b/x-pack/plugins/apm/public/components/shared/transaction_action_menu/transaction_action_menu.test.tsx @@ -88,7 +88,7 @@ describe('TransactionActionMenu component', () => { expect( (getByText('Trace logs').parentElement as HTMLAnchorElement).href ).toEqual( - 'http://localhost/basepath/app/logs/link-to/logs?time=1545092070952&filter=trace.id:%228b60bd32ecc6e1506735a8b6cfcf175c%22%20OR%20%228b60bd32ecc6e1506735a8b6cfcf175c%22' + 'http://localhost/basepath/app/logs/link-to/logs?time=1545092070952&filter=trace.id:%228b60bd32ecc6e1506735a8b6cfcf175c%22%20OR%20(not%20trace.id:*%20AND%20%228b60bd32ecc6e1506735a8b6cfcf175c%22)' ); }); From 742e040ae3ed7a62a24661b6e115fa582d6704b6 Mon Sep 17 00:00:00 2001 From: Spencer Date: Mon, 1 Aug 2022 06:48:17 -0500 Subject: [PATCH 17/37] [ftr/discover] split up configs (#137629) --- .buildkite/ftr_configs.yml | 6 +- test/functional/apps/discover/README.md | 7 ++ .../apps/discover/ccs_compatibility/README.md | 3 + .../_data_view_editor.ts | 2 +- .../{ => ccs_compatibility}/_saved_queries.ts | 2 +- .../{ => ccs_compatibility}/config.ts | 2 +- .../apps/discover/ccs_compatibility/index.ts | 26 +++++++ .../classic/_classic_table_doc_navigation.ts | 2 +- .../classic/_field_data_with_fields_api.ts | 11 ++- .../apps/discover/classic/config.ts | 18 +++++ .../functional/apps/discover/classic/index.ts | 31 ++++++++ ...eddable.ts => _saved_search_embeddable.ts} | 2 +- .../apps/discover/embeddable/config.ts | 18 +++++ .../apps/discover/embeddable/index.ts | 25 +++++++ .../apps/discover/{ => group1}/_date_nanos.ts | 2 +- .../{ => group1}/_date_nanos_mixed.ts | 2 +- .../apps/discover/{ => group1}/_discover.ts | 2 +- .../{ => group1}/_discover_accessibility.ts | 4 +- .../{ => group1}/_discover_histogram.ts | 4 +- .../{ => group1}/_doc_accessibility.ts | 2 +- .../apps/discover/{ => group1}/_errors.ts | 2 +- .../apps/discover/{ => group1}/_field_data.ts | 2 +- .../_field_data_with_fields_api.ts | 2 +- .../discover/{ => group1}/_filter_editor.ts | 2 +- .../apps/discover/{ => group1}/_inspector.ts | 2 +- .../discover/{ => group1}/_large_string.ts | 2 +- .../apps/discover/{ => group1}/_no_data.ts | 2 +- .../discover/{ => group1}/_shared_links.ts | 2 +- .../apps/discover/{ => group1}/_sidebar.ts | 2 +- .../discover/{ => group1}/_source_filters.ts | 2 +- .../functional/apps/discover/group1/config.ts | 18 +++++ test/functional/apps/discover/group1/index.ts | 40 ++++++++++ .../discover/{ => group2}/_chart_hidden.ts | 2 +- .../_context_encoded_url_params.ts | 2 +- .../apps/discover/{ => group2}/_data_grid.ts | 9 +-- .../{ => group2}/_data_grid_context.ts | 2 +- .../_data_grid_copy_to_clipboard.ts | 2 +- .../{ => group2}/_data_grid_doc_navigation.ts | 2 +- .../{ => group2}/_data_grid_doc_table.ts | 2 +- .../{ => group2}/_data_grid_field_data.ts | 2 +- .../{ => group2}/_data_grid_pagination.ts | 2 +- .../{ => group2}/_data_grid_row_navigation.ts | 2 +- .../discover/{ => group2}/_date_nested.ts | 2 +- .../{ => group2}/_discover_fields_api.ts | 2 +- .../{ => group2}/_hide_announcements.ts | 2 +- .../discover/{ => group2}/_huge_fields.ts | 2 +- .../_indexpattern_with_unmapped_fields.ts | 2 +- .../_indexpattern_without_timefield.ts | 2 +- .../{ => group2}/_runtime_fields_editor.ts | 2 +- .../{ => group2}/_search_on_page_load.ts | 2 +- .../apps/discover/{ => group2}/_sql_view.ts | 2 +- .../functional/apps/discover/group2/config.ts | 18 +++++ test/functional/apps/discover/group2/index.ts | 43 +++++++++++ test/functional/apps/discover/index.ts | 75 ------------------- test/functional/config.ccs.ts | 2 +- test/functional/config.firefox.js | 4 +- 56 files changed, 309 insertions(+), 127 deletions(-) create mode 100644 test/functional/apps/discover/README.md create mode 100644 test/functional/apps/discover/ccs_compatibility/README.md rename test/functional/apps/discover/{ => ccs_compatibility}/_data_view_editor.ts (98%) rename test/functional/apps/discover/{ => ccs_compatibility}/_saved_queries.ts (99%) rename test/functional/apps/discover/{ => ccs_compatibility}/config.ts (95%) create mode 100644 test/functional/apps/discover/ccs_compatibility/index.ts create mode 100644 test/functional/apps/discover/classic/config.ts create mode 100644 test/functional/apps/discover/classic/index.ts rename test/functional/apps/discover/embeddable/{saved_search_embeddable.ts => _saved_search_embeddable.ts} (97%) create mode 100644 test/functional/apps/discover/embeddable/config.ts create mode 100644 test/functional/apps/discover/embeddable/index.ts rename test/functional/apps/discover/{ => group1}/_date_nanos.ts (96%) rename test/functional/apps/discover/{ => group1}/_date_nanos_mixed.ts (97%) rename test/functional/apps/discover/{ => group1}/_discover.ts (99%) rename test/functional/apps/discover/{ => group1}/_discover_accessibility.ts (97%) rename test/functional/apps/discover/{ => group1}/_discover_histogram.ts (98%) rename test/functional/apps/discover/{ => group1}/_doc_accessibility.ts (97%) rename test/functional/apps/discover/{ => group1}/_errors.ts (97%) rename test/functional/apps/discover/{ => group1}/_field_data.ts (98%) rename test/functional/apps/discover/{ => group1}/_field_data_with_fields_api.ts (98%) rename test/functional/apps/discover/{ => group1}/_filter_editor.ts (98%) rename test/functional/apps/discover/{ => group1}/_inspector.ts (97%) rename test/functional/apps/discover/{ => group1}/_large_string.ts (98%) rename test/functional/apps/discover/{ => group1}/_no_data.ts (98%) rename test/functional/apps/discover/{ => group1}/_shared_links.ts (99%) rename test/functional/apps/discover/{ => group1}/_sidebar.ts (97%) rename test/functional/apps/discover/{ => group1}/_source_filters.ts (97%) create mode 100644 test/functional/apps/discover/group1/config.ts create mode 100644 test/functional/apps/discover/group1/index.ts rename test/functional/apps/discover/{ => group2}/_chart_hidden.ts (97%) rename test/functional/apps/discover/{ => group2}/_context_encoded_url_params.ts (97%) rename test/functional/apps/discover/{ => group2}/_data_grid.ts (92%) rename test/functional/apps/discover/{ => group2}/_data_grid_context.ts (98%) rename test/functional/apps/discover/{ => group2}/_data_grid_copy_to_clipboard.ts (98%) rename test/functional/apps/discover/{ => group2}/_data_grid_doc_navigation.ts (97%) rename test/functional/apps/discover/{ => group2}/_data_grid_doc_table.ts (99%) rename test/functional/apps/discover/{ => group2}/_data_grid_field_data.ts (98%) rename test/functional/apps/discover/{ => group2}/_data_grid_pagination.ts (98%) rename test/functional/apps/discover/{ => group2}/_data_grid_row_navigation.ts (97%) rename test/functional/apps/discover/{ => group2}/_date_nested.ts (96%) rename test/functional/apps/discover/{ => group2}/_discover_fields_api.ts (98%) rename test/functional/apps/discover/{ => group2}/_hide_announcements.ts (96%) rename test/functional/apps/discover/{ => group2}/_huge_fields.ts (97%) rename test/functional/apps/discover/{ => group2}/_indexpattern_with_unmapped_fields.ts (97%) rename test/functional/apps/discover/{ => group2}/_indexpattern_without_timefield.ts (98%) rename test/functional/apps/discover/{ => group2}/_runtime_fields_editor.ts (99%) rename test/functional/apps/discover/{ => group2}/_search_on_page_load.ts (98%) rename test/functional/apps/discover/{ => group2}/_sql_view.ts (98%) create mode 100644 test/functional/apps/discover/group2/config.ts create mode 100644 test/functional/apps/discover/group2/index.ts delete mode 100644 test/functional/apps/discover/index.ts diff --git a/.buildkite/ftr_configs.yml b/.buildkite/ftr_configs.yml index 8b77e987524f66..47c6cab47b052a 100644 --- a/.buildkite/ftr_configs.yml +++ b/.buildkite/ftr_configs.yml @@ -74,7 +74,11 @@ enabled: - test/functional/apps/dashboard/group4/config.ts - test/functional/apps/dashboard/group5/config.ts - test/functional/apps/dashboard/group6/config.ts - - test/functional/apps/discover/config.ts + - test/functional/apps/discover/ccs_compatibility/config.ts + - test/functional/apps/discover/classic/config.ts + - test/functional/apps/discover/embeddable/config.ts + - test/functional/apps/discover/group1/config.ts + - test/functional/apps/discover/group2/config.ts - test/functional/apps/getting_started/config.ts - test/functional/apps/home/config.ts - test/functional/apps/kibana_overview/config.ts diff --git a/test/functional/apps/discover/README.md b/test/functional/apps/discover/README.md new file mode 100644 index 00000000000000..5e87a8b210bdd4 --- /dev/null +++ b/test/functional/apps/discover/README.md @@ -0,0 +1,7 @@ +# What are all these groups? + +These tests take a while so they have been broken up into groups with their own `config.ts` and `index.ts` file, causing each of these groups to be independent bundles of tests which can be run on some worker in CI without taking an incredible amount of time. + +Want to change the groups to something more logical? Have fun! Just make sure that each group executes on CI in less than 10 minutes or so. We don't currently have any mechanism for validating this right now, you just need to look at the times in the log output on CI, but we'll be working on tooling for making this information more accessible soon. + +- Kibana Operations \ No newline at end of file diff --git a/test/functional/apps/discover/ccs_compatibility/README.md b/test/functional/apps/discover/ccs_compatibility/README.md new file mode 100644 index 00000000000000..54aad6ef78b287 --- /dev/null +++ b/test/functional/apps/discover/ccs_compatibility/README.md @@ -0,0 +1,3 @@ +# CCS COMPATIBILITY + +These tests are run by the local config without CCS but also run by the config.ccs.js config with CCS enabled. diff --git a/test/functional/apps/discover/_data_view_editor.ts b/test/functional/apps/discover/ccs_compatibility/_data_view_editor.ts similarity index 98% rename from test/functional/apps/discover/_data_view_editor.ts rename to test/functional/apps/discover/ccs_compatibility/_data_view_editor.ts index fa057cf4b297b1..9ff66b14885798 100644 --- a/test/functional/apps/discover/_data_view_editor.ts +++ b/test/functional/apps/discover/ccs_compatibility/_data_view_editor.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { FtrProviderContext } from './ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const retry = getService('retry'); diff --git a/test/functional/apps/discover/_saved_queries.ts b/test/functional/apps/discover/ccs_compatibility/_saved_queries.ts similarity index 99% rename from test/functional/apps/discover/_saved_queries.ts rename to test/functional/apps/discover/ccs_compatibility/_saved_queries.ts index d56b5032a430b8..2084d6b258a9cb 100644 --- a/test/functional/apps/discover/_saved_queries.ts +++ b/test/functional/apps/discover/ccs_compatibility/_saved_queries.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const retry = getService('retry'); diff --git a/test/functional/apps/discover/config.ts b/test/functional/apps/discover/ccs_compatibility/config.ts similarity index 95% rename from test/functional/apps/discover/config.ts rename to test/functional/apps/discover/ccs_compatibility/config.ts index e487d31dcb657c..a70a190ca63f81 100644 --- a/test/functional/apps/discover/config.ts +++ b/test/functional/apps/discover/ccs_compatibility/config.ts @@ -9,7 +9,7 @@ import { FtrConfigProviderContext } from '@kbn/test'; export default async function ({ readConfigFile }: FtrConfigProviderContext) { - const functionalConfig = await readConfigFile(require.resolve('../../config.base.js')); + const functionalConfig = await readConfigFile(require.resolve('../../../config.base.js')); return { ...functionalConfig.getAll(), diff --git a/test/functional/apps/discover/ccs_compatibility/index.ts b/test/functional/apps/discover/ccs_compatibility/index.ts new file mode 100644 index 00000000000000..1204ce9daadb27 --- /dev/null +++ b/test/functional/apps/discover/ccs_compatibility/index.ts @@ -0,0 +1,26 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +import { FtrProviderContext } from '../ftr_provider_context'; + +export default function ({ getService, loadTestFile }: FtrProviderContext) { + const esArchiver = getService('esArchiver'); + const browser = getService('browser'); + + describe('discover/ccs_compatible', function () { + before(async function () { + await browser.setWindowSize(1300, 800); + }); + + after(async function unloadMakelogs() { + await esArchiver.unload('test/functional/fixtures/es_archiver/logstash_functional'); + }); + + loadTestFile(require.resolve('./_data_view_editor')); + loadTestFile(require.resolve('./_saved_queries')); + }); +} diff --git a/test/functional/apps/discover/classic/_classic_table_doc_navigation.ts b/test/functional/apps/discover/classic/_classic_table_doc_navigation.ts index a27d3df81d32f2..a608d97873810f 100644 --- a/test/functional/apps/discover/classic/_classic_table_doc_navigation.ts +++ b/test/functional/apps/discover/classic/_classic_table_doc_navigation.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const docTable = getService('docTable'); diff --git a/test/functional/apps/discover/classic/_field_data_with_fields_api.ts b/test/functional/apps/discover/classic/_field_data_with_fields_api.ts index efa680bfbfa3ac..677f1c912628cd 100644 --- a/test/functional/apps/discover/classic/_field_data_with_fields_api.ts +++ b/test/functional/apps/discover/classic/_field_data_with_fields_api.ts @@ -15,11 +15,20 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); const PageObjects = getPageObjects(['common', 'header', 'discover', 'visualize', 'timePicker']); const find = getService('find'); + const esArchiver = getService('esArchiver'); const testSubjects = getService('testSubjects'); describe('discover tab with new fields API', function describeIndexTests() { before(async function () { - await kibanaServer.uiSettings.update({ 'doc_table:legacy': true }); + await kibanaServer.savedObjects.clean({ types: ['search', 'index-pattern'] }); + await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/discover.json'); + await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional'); + await kibanaServer.uiSettings.replace({ + defaultIndex: 'logstash-*', + 'discover:searchFieldsFromSource': false, + 'doc_table:legacy': true, + }); + await PageObjects.timePicker.setDefaultAbsoluteRangeViaUiSettings(); await PageObjects.common.navigateToApp('discover'); }); diff --git a/test/functional/apps/discover/classic/config.ts b/test/functional/apps/discover/classic/config.ts new file mode 100644 index 00000000000000..a70a190ca63f81 --- /dev/null +++ b/test/functional/apps/discover/classic/config.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { FtrConfigProviderContext } from '@kbn/test'; + +export default async function ({ readConfigFile }: FtrConfigProviderContext) { + const functionalConfig = await readConfigFile(require.resolve('../../../config.base.js')); + + return { + ...functionalConfig.getAll(), + testFiles: [require.resolve('.')], + }; +} diff --git a/test/functional/apps/discover/classic/index.ts b/test/functional/apps/discover/classic/index.ts new file mode 100644 index 00000000000000..845b5e2ee5ece6 --- /dev/null +++ b/test/functional/apps/discover/classic/index.ts @@ -0,0 +1,31 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +import { FtrProviderContext } from '../ftr_provider_context'; + +export default function ({ getService, loadTestFile }: FtrProviderContext) { + const esArchiver = getService('esArchiver'); + const browser = getService('browser'); + + describe('discover/classic', function () { + before(async function () { + await browser.setWindowSize(1300, 800); + }); + + after(async function unloadMakelogs() { + await esArchiver.unload('test/functional/fixtures/es_archiver/logstash_functional'); + }); + + loadTestFile(require.resolve('./_discover_fields_api')); + loadTestFile(require.resolve('./_doc_table')); + loadTestFile(require.resolve('./_doc_table_newline')); + loadTestFile(require.resolve('./_field_data')); + loadTestFile(require.resolve('./_field_data_with_fields_api')); + loadTestFile(require.resolve('./_classic_table_doc_navigation')); + loadTestFile(require.resolve('./_hide_announcements')); + }); +} diff --git a/test/functional/apps/discover/embeddable/saved_search_embeddable.ts b/test/functional/apps/discover/embeddable/_saved_search_embeddable.ts similarity index 97% rename from test/functional/apps/discover/embeddable/saved_search_embeddable.ts rename to test/functional/apps/discover/embeddable/_saved_search_embeddable.ts index 3b31dd7a559bc4..08a0296ad8c083 100644 --- a/test/functional/apps/discover/embeddable/saved_search_embeddable.ts +++ b/test/functional/apps/discover/embeddable/_saved_search_embeddable.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const browser = getService('browser'); diff --git a/test/functional/apps/discover/embeddable/config.ts b/test/functional/apps/discover/embeddable/config.ts new file mode 100644 index 00000000000000..a70a190ca63f81 --- /dev/null +++ b/test/functional/apps/discover/embeddable/config.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { FtrConfigProviderContext } from '@kbn/test'; + +export default async function ({ readConfigFile }: FtrConfigProviderContext) { + const functionalConfig = await readConfigFile(require.resolve('../../../config.base.js')); + + return { + ...functionalConfig.getAll(), + testFiles: [require.resolve('.')], + }; +} diff --git a/test/functional/apps/discover/embeddable/index.ts b/test/functional/apps/discover/embeddable/index.ts new file mode 100644 index 00000000000000..69ea93d57a72b1 --- /dev/null +++ b/test/functional/apps/discover/embeddable/index.ts @@ -0,0 +1,25 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +import { FtrProviderContext } from '../ftr_provider_context'; + +export default function ({ getService, loadTestFile }: FtrProviderContext) { + const esArchiver = getService('esArchiver'); + const browser = getService('browser'); + + describe('discover/embeddable', function () { + before(async function () { + await browser.setWindowSize(1300, 800); + }); + + after(async function unloadMakelogs() { + await esArchiver.unload('test/functional/fixtures/es_archiver/logstash_functional'); + }); + + loadTestFile(require.resolve('./_saved_search_embeddable')); + }); +} diff --git a/test/functional/apps/discover/_date_nanos.ts b/test/functional/apps/discover/group1/_date_nanos.ts similarity index 96% rename from test/functional/apps/discover/_date_nanos.ts rename to test/functional/apps/discover/group1/_date_nanos.ts index dcabb3dac0585f..1428dd851716af 100644 --- a/test/functional/apps/discover/_date_nanos.ts +++ b/test/functional/apps/discover/group1/_date_nanos.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/discover/_date_nanos_mixed.ts b/test/functional/apps/discover/group1/_date_nanos_mixed.ts similarity index 97% rename from test/functional/apps/discover/_date_nanos_mixed.ts rename to test/functional/apps/discover/group1/_date_nanos_mixed.ts index c72c0a26e2bd17..dab0003a63f075 100644 --- a/test/functional/apps/discover/_date_nanos_mixed.ts +++ b/test/functional/apps/discover/group1/_date_nanos_mixed.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/discover/_discover.ts b/test/functional/apps/discover/group1/_discover.ts similarity index 99% rename from test/functional/apps/discover/_discover.ts rename to test/functional/apps/discover/group1/_discover.ts index 498c35f0c74fbc..3b4e85089db4f3 100644 --- a/test/functional/apps/discover/_discover.ts +++ b/test/functional/apps/discover/group1/_discover.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const browser = getService('browser'); diff --git a/test/functional/apps/discover/_discover_accessibility.ts b/test/functional/apps/discover/group1/_discover_accessibility.ts similarity index 97% rename from test/functional/apps/discover/_discover_accessibility.ts rename to test/functional/apps/discover/group1/_discover_accessibility.ts index 4b2426681d3f2b..c9213fbe2c4f03 100644 --- a/test/functional/apps/discover/_discover_accessibility.ts +++ b/test/functional/apps/discover/group1/_discover_accessibility.ts @@ -8,8 +8,8 @@ import expect from '@kbn/expect'; -import { WebElementWrapper } from '../../services/lib/web_element_wrapper'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { WebElementWrapper } from '../../../services/lib/web_element_wrapper'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const browser = getService('browser'); diff --git a/test/functional/apps/discover/_discover_histogram.ts b/test/functional/apps/discover/group1/_discover_histogram.ts similarity index 98% rename from test/functional/apps/discover/_discover_histogram.ts rename to test/functional/apps/discover/group1/_discover_histogram.ts index d3d5ea346ddea0..5257b5edbe235f 100644 --- a/test/functional/apps/discover/_discover_histogram.ts +++ b/test/functional/apps/discover/group1/_discover_histogram.ts @@ -7,8 +7,8 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; -import { TimeStrings } from '../../page_objects/common_page'; +import { TimeStrings } from '../../../page_objects/common_page'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/discover/_doc_accessibility.ts b/test/functional/apps/discover/group1/_doc_accessibility.ts similarity index 97% rename from test/functional/apps/discover/_doc_accessibility.ts rename to test/functional/apps/discover/group1/_doc_accessibility.ts index 446c134727e26c..5c6d04d7475af5 100644 --- a/test/functional/apps/discover/_doc_accessibility.ts +++ b/test/functional/apps/discover/group1/_doc_accessibility.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const browser = getService('browser'); diff --git a/test/functional/apps/discover/_errors.ts b/test/functional/apps/discover/group1/_errors.ts similarity index 97% rename from test/functional/apps/discover/_errors.ts rename to test/functional/apps/discover/group1/_errors.ts index 327f39ee0dec47..50365bd6027ebe 100644 --- a/test/functional/apps/discover/_errors.ts +++ b/test/functional/apps/discover/group1/_errors.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/discover/_field_data.ts b/test/functional/apps/discover/group1/_field_data.ts similarity index 98% rename from test/functional/apps/discover/_field_data.ts rename to test/functional/apps/discover/group1/_field_data.ts index 27b786a2abfc17..01ea1488898d87 100644 --- a/test/functional/apps/discover/_field_data.ts +++ b/test/functional/apps/discover/group1/_field_data.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const retry = getService('retry'); diff --git a/test/functional/apps/discover/_field_data_with_fields_api.ts b/test/functional/apps/discover/group1/_field_data_with_fields_api.ts similarity index 98% rename from test/functional/apps/discover/_field_data_with_fields_api.ts rename to test/functional/apps/discover/group1/_field_data_with_fields_api.ts index 85bb26df241291..81b93009c2f050 100644 --- a/test/functional/apps/discover/_field_data_with_fields_api.ts +++ b/test/functional/apps/discover/group1/_field_data_with_fields_api.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const retry = getService('retry'); diff --git a/test/functional/apps/discover/_filter_editor.ts b/test/functional/apps/discover/group1/_filter_editor.ts similarity index 98% rename from test/functional/apps/discover/_filter_editor.ts rename to test/functional/apps/discover/group1/_filter_editor.ts index b2fbfbb71c7ee2..7b91df45179bbd 100644 --- a/test/functional/apps/discover/_filter_editor.ts +++ b/test/functional/apps/discover/group1/_filter_editor.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const log = getService('log'); diff --git a/test/functional/apps/discover/_inspector.ts b/test/functional/apps/discover/group1/_inspector.ts similarity index 97% rename from test/functional/apps/discover/_inspector.ts rename to test/functional/apps/discover/group1/_inspector.ts index 10402703875d64..10451adc98e4f7 100644 --- a/test/functional/apps/discover/_inspector.ts +++ b/test/functional/apps/discover/group1/_inspector.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const PageObjects = getPageObjects(['common', 'visualize', 'timePicker']); diff --git a/test/functional/apps/discover/_large_string.ts b/test/functional/apps/discover/group1/_large_string.ts similarity index 98% rename from test/functional/apps/discover/_large_string.ts rename to test/functional/apps/discover/group1/_large_string.ts index 11938f262ceeb4..7b1ad1553aa806 100644 --- a/test/functional/apps/discover/_large_string.ts +++ b/test/functional/apps/discover/group1/_large_string.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/discover/_no_data.ts b/test/functional/apps/discover/group1/_no_data.ts similarity index 98% rename from test/functional/apps/discover/_no_data.ts rename to test/functional/apps/discover/group1/_no_data.ts index 5b4d5efda44f9c..8efc1b1390ef62 100644 --- a/test/functional/apps/discover/_no_data.ts +++ b/test/functional/apps/discover/group1/_no_data.ts @@ -5,7 +5,7 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const log = getService('log'); diff --git a/test/functional/apps/discover/_shared_links.ts b/test/functional/apps/discover/group1/_shared_links.ts similarity index 99% rename from test/functional/apps/discover/_shared_links.ts rename to test/functional/apps/discover/group1/_shared_links.ts index 3d9bf72ab08412..9235cd1160db7e 100644 --- a/test/functional/apps/discover/_shared_links.ts +++ b/test/functional/apps/discover/group1/_shared_links.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const retry = getService('retry'); diff --git a/test/functional/apps/discover/_sidebar.ts b/test/functional/apps/discover/group1/_sidebar.ts similarity index 97% rename from test/functional/apps/discover/_sidebar.ts rename to test/functional/apps/discover/group1/_sidebar.ts index a74f4367e657b5..23705444a085cf 100644 --- a/test/functional/apps/discover/_sidebar.ts +++ b/test/functional/apps/discover/group1/_sidebar.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/discover/_source_filters.ts b/test/functional/apps/discover/group1/_source_filters.ts similarity index 97% rename from test/functional/apps/discover/_source_filters.ts rename to test/functional/apps/discover/group1/_source_filters.ts index 134e7cca923b99..b31a4f4a369c64 100644 --- a/test/functional/apps/discover/_source_filters.ts +++ b/test/functional/apps/discover/group1/_source_filters.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const log = getService('log'); diff --git a/test/functional/apps/discover/group1/config.ts b/test/functional/apps/discover/group1/config.ts new file mode 100644 index 00000000000000..a70a190ca63f81 --- /dev/null +++ b/test/functional/apps/discover/group1/config.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { FtrConfigProviderContext } from '@kbn/test'; + +export default async function ({ readConfigFile }: FtrConfigProviderContext) { + const functionalConfig = await readConfigFile(require.resolve('../../../config.base.js')); + + return { + ...functionalConfig.getAll(), + testFiles: [require.resolve('.')], + }; +} diff --git a/test/functional/apps/discover/group1/index.ts b/test/functional/apps/discover/group1/index.ts new file mode 100644 index 00000000000000..ab6798400b7a23 --- /dev/null +++ b/test/functional/apps/discover/group1/index.ts @@ -0,0 +1,40 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +import { FtrProviderContext } from '../ftr_provider_context'; + +export default function ({ getService, loadTestFile }: FtrProviderContext) { + const esArchiver = getService('esArchiver'); + const browser = getService('browser'); + + describe('discover/group1', function () { + before(async function () { + await browser.setWindowSize(1300, 800); + }); + + after(async function unloadMakelogs() { + await esArchiver.unload('test/functional/fixtures/es_archiver/logstash_functional'); + }); + + loadTestFile(require.resolve('./_no_data')); + loadTestFile(require.resolve('./_discover')); + loadTestFile(require.resolve('./_discover_accessibility')); + loadTestFile(require.resolve('./_discover_histogram')); + loadTestFile(require.resolve('./_doc_accessibility')); + loadTestFile(require.resolve('./_filter_editor')); + loadTestFile(require.resolve('./_errors')); + loadTestFile(require.resolve('./_field_data')); + loadTestFile(require.resolve('./_field_data_with_fields_api')); + loadTestFile(require.resolve('./_shared_links')); + loadTestFile(require.resolve('./_sidebar')); + loadTestFile(require.resolve('./_source_filters')); + loadTestFile(require.resolve('./_large_string')); + loadTestFile(require.resolve('./_inspector')); + loadTestFile(require.resolve('./_date_nanos')); + loadTestFile(require.resolve('./_date_nanos_mixed')); + }); +} diff --git a/test/functional/apps/discover/_chart_hidden.ts b/test/functional/apps/discover/group2/_chart_hidden.ts similarity index 97% rename from test/functional/apps/discover/_chart_hidden.ts rename to test/functional/apps/discover/group2/_chart_hidden.ts index a9179fd2349050..c918390b87907f 100644 --- a/test/functional/apps/discover/_chart_hidden.ts +++ b/test/functional/apps/discover/group2/_chart_hidden.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const log = getService('log'); diff --git a/test/functional/apps/discover/_context_encoded_url_params.ts b/test/functional/apps/discover/group2/_context_encoded_url_params.ts similarity index 97% rename from test/functional/apps/discover/_context_encoded_url_params.ts rename to test/functional/apps/discover/group2/_context_encoded_url_params.ts index 94262b341885e0..afda87c5b05376 100644 --- a/test/functional/apps/discover/_context_encoded_url_params.ts +++ b/test/functional/apps/discover/group2/_context_encoded_url_params.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; const customDataViewIdParam = 'context-enc:oded-param'; const customDocIdParam = '1+1=2'; diff --git a/test/functional/apps/discover/_data_grid.ts b/test/functional/apps/discover/group2/_data_grid.ts similarity index 92% rename from test/functional/apps/discover/_data_grid.ts rename to test/functional/apps/discover/group2/_data_grid.ts index 96085f09186f6c..0f5dfa3dd22f27 100644 --- a/test/functional/apps/discover/_data_grid.ts +++ b/test/functional/apps/discover/group2/_data_grid.ts @@ -7,14 +7,9 @@ */ import expect from '@kbn/expect'; +import { FtrProviderContext } from '../ftr_provider_context'; -export default function ({ - getService, - getPageObjects, -}: { - getService: (service: string) => any; - getPageObjects: (pageObjects: string[]) => any; -}) { +export default function ({ getService, getPageObjects }: FtrProviderContext) { describe('discover data grid tests', function describeDiscoverDataGrid() { const esArchiver = getService('esArchiver'); const PageObjects = getPageObjects(['common', 'discover', 'timePicker']); diff --git a/test/functional/apps/discover/_data_grid_context.ts b/test/functional/apps/discover/group2/_data_grid_context.ts similarity index 98% rename from test/functional/apps/discover/_data_grid_context.ts rename to test/functional/apps/discover/group2/_data_grid_context.ts index c2628026dfdda5..0a5fd5d4994e4c 100644 --- a/test/functional/apps/discover/_data_grid_context.ts +++ b/test/functional/apps/discover/group2/_data_grid_context.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; const TEST_COLUMN_NAMES = ['@message']; const TEST_FILTER_COLUMN_NAMES = [ diff --git a/test/functional/apps/discover/_data_grid_copy_to_clipboard.ts b/test/functional/apps/discover/group2/_data_grid_copy_to_clipboard.ts similarity index 98% rename from test/functional/apps/discover/_data_grid_copy_to_clipboard.ts rename to test/functional/apps/discover/group2/_data_grid_copy_to_clipboard.ts index ec359e3c569dbe..784358ab08d117 100644 --- a/test/functional/apps/discover/_data_grid_copy_to_clipboard.ts +++ b/test/functional/apps/discover/group2/_data_grid_copy_to_clipboard.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const dataGrid = getService('dataGrid'); diff --git a/test/functional/apps/discover/_data_grid_doc_navigation.ts b/test/functional/apps/discover/group2/_data_grid_doc_navigation.ts similarity index 97% rename from test/functional/apps/discover/_data_grid_doc_navigation.ts rename to test/functional/apps/discover/group2/_data_grid_doc_navigation.ts index 3c5c8b3967cb02..91b4aafeb0fa4d 100644 --- a/test/functional/apps/discover/_data_grid_doc_navigation.ts +++ b/test/functional/apps/discover/group2/_data_grid_doc_navigation.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const filterBar = getService('filterBar'); diff --git a/test/functional/apps/discover/_data_grid_doc_table.ts b/test/functional/apps/discover/group2/_data_grid_doc_table.ts similarity index 99% rename from test/functional/apps/discover/_data_grid_doc_table.ts rename to test/functional/apps/discover/group2/_data_grid_doc_table.ts index 6918edc8285d8a..5ce78676684e36 100644 --- a/test/functional/apps/discover/_data_grid_doc_table.ts +++ b/test/functional/apps/discover/group2/_data_grid_doc_table.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const find = getService('find'); diff --git a/test/functional/apps/discover/_data_grid_field_data.ts b/test/functional/apps/discover/group2/_data_grid_field_data.ts similarity index 98% rename from test/functional/apps/discover/_data_grid_field_data.ts rename to test/functional/apps/discover/group2/_data_grid_field_data.ts index 84d1c81f8ee681..64c40a7a2d83d6 100644 --- a/test/functional/apps/discover/_data_grid_field_data.ts +++ b/test/functional/apps/discover/group2/_data_grid_field_data.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const retry = getService('retry'); diff --git a/test/functional/apps/discover/_data_grid_pagination.ts b/test/functional/apps/discover/group2/_data_grid_pagination.ts similarity index 98% rename from test/functional/apps/discover/_data_grid_pagination.ts rename to test/functional/apps/discover/group2/_data_grid_pagination.ts index fa0e2a0b430ff9..d1752df492cb98 100644 --- a/test/functional/apps/discover/_data_grid_pagination.ts +++ b/test/functional/apps/discover/group2/_data_grid_pagination.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const browser = getService('browser'); diff --git a/test/functional/apps/discover/_data_grid_row_navigation.ts b/test/functional/apps/discover/group2/_data_grid_row_navigation.ts similarity index 97% rename from test/functional/apps/discover/_data_grid_row_navigation.ts rename to test/functional/apps/discover/group2/_data_grid_row_navigation.ts index d2f91cb97ac59e..dc59b9a122c767 100644 --- a/test/functional/apps/discover/_data_grid_row_navigation.ts +++ b/test/functional/apps/discover/group2/_data_grid_row_navigation.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const dataGrid = getService('dataGrid'); diff --git a/test/functional/apps/discover/_date_nested.ts b/test/functional/apps/discover/group2/_date_nested.ts similarity index 96% rename from test/functional/apps/discover/_date_nested.ts rename to test/functional/apps/discover/group2/_date_nested.ts index 83b9bdd44a5bed..9760645fe11c78 100644 --- a/test/functional/apps/discover/_date_nested.ts +++ b/test/functional/apps/discover/group2/_date_nested.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/discover/_discover_fields_api.ts b/test/functional/apps/discover/group2/_discover_fields_api.ts similarity index 98% rename from test/functional/apps/discover/_discover_fields_api.ts rename to test/functional/apps/discover/group2/_discover_fields_api.ts index e64280c1977b5b..d981eebae1406f 100644 --- a/test/functional/apps/discover/_discover_fields_api.ts +++ b/test/functional/apps/discover/group2/_discover_fields_api.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from './ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const log = getService('log'); diff --git a/test/functional/apps/discover/_hide_announcements.ts b/test/functional/apps/discover/group2/_hide_announcements.ts similarity index 96% rename from test/functional/apps/discover/_hide_announcements.ts rename to test/functional/apps/discover/group2/_hide_announcements.ts index d23cb9bfa07864..577966c128cb7f 100644 --- a/test/functional/apps/discover/_hide_announcements.ts +++ b/test/functional/apps/discover/group2/_hide_announcements.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/discover/_huge_fields.ts b/test/functional/apps/discover/group2/_huge_fields.ts similarity index 97% rename from test/functional/apps/discover/_huge_fields.ts rename to test/functional/apps/discover/group2/_huge_fields.ts index 3cca75234675bc..085788f1139d05 100644 --- a/test/functional/apps/discover/_huge_fields.ts +++ b/test/functional/apps/discover/group2/_huge_fields.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/discover/_indexpattern_with_unmapped_fields.ts b/test/functional/apps/discover/group2/_indexpattern_with_unmapped_fields.ts similarity index 97% rename from test/functional/apps/discover/_indexpattern_with_unmapped_fields.ts rename to test/functional/apps/discover/group2/_indexpattern_with_unmapped_fields.ts index c3982ba72824ba..d5d45d227d685c 100644 --- a/test/functional/apps/discover/_indexpattern_with_unmapped_fields.ts +++ b/test/functional/apps/discover/group2/_indexpattern_with_unmapped_fields.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/discover/_indexpattern_without_timefield.ts b/test/functional/apps/discover/group2/_indexpattern_without_timefield.ts similarity index 98% rename from test/functional/apps/discover/_indexpattern_without_timefield.ts rename to test/functional/apps/discover/group2/_indexpattern_without_timefield.ts index 10f52a330774ca..4ce16d24ef7036 100644 --- a/test/functional/apps/discover/_indexpattern_without_timefield.ts +++ b/test/functional/apps/discover/group2/_indexpattern_without_timefield.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const retry = getService('retry'); diff --git a/test/functional/apps/discover/_runtime_fields_editor.ts b/test/functional/apps/discover/group2/_runtime_fields_editor.ts similarity index 99% rename from test/functional/apps/discover/_runtime_fields_editor.ts rename to test/functional/apps/discover/group2/_runtime_fields_editor.ts index 79adcaef8d930b..1a50ce4c1004cb 100644 --- a/test/functional/apps/discover/_runtime_fields_editor.ts +++ b/test/functional/apps/discover/group2/_runtime_fields_editor.ts @@ -7,7 +7,7 @@ */ import expect from '@kbn/expect'; -import { FtrProviderContext } from './ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const retry = getService('retry'); diff --git a/test/functional/apps/discover/_search_on_page_load.ts b/test/functional/apps/discover/group2/_search_on_page_load.ts similarity index 98% rename from test/functional/apps/discover/_search_on_page_load.ts rename to test/functional/apps/discover/group2/_search_on_page_load.ts index b9aa2df2a315f4..de2755c20a5145 100644 --- a/test/functional/apps/discover/_search_on_page_load.ts +++ b/test/functional/apps/discover/group2/_search_on_page_load.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const log = getService('log'); diff --git a/test/functional/apps/discover/_sql_view.ts b/test/functional/apps/discover/group2/_sql_view.ts similarity index 98% rename from test/functional/apps/discover/_sql_view.ts rename to test/functional/apps/discover/group2/_sql_view.ts index 2643fc163d4880..175014e23aa580 100644 --- a/test/functional/apps/discover/_sql_view.ts +++ b/test/functional/apps/discover/group2/_sql_view.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../ftr_provider_context'; +import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); diff --git a/test/functional/apps/discover/group2/config.ts b/test/functional/apps/discover/group2/config.ts new file mode 100644 index 00000000000000..a70a190ca63f81 --- /dev/null +++ b/test/functional/apps/discover/group2/config.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { FtrConfigProviderContext } from '@kbn/test'; + +export default async function ({ readConfigFile }: FtrConfigProviderContext) { + const functionalConfig = await readConfigFile(require.resolve('../../../config.base.js')); + + return { + ...functionalConfig.getAll(), + testFiles: [require.resolve('.')], + }; +} diff --git a/test/functional/apps/discover/group2/index.ts b/test/functional/apps/discover/group2/index.ts new file mode 100644 index 00000000000000..5a97ec4cc34bb6 --- /dev/null +++ b/test/functional/apps/discover/group2/index.ts @@ -0,0 +1,43 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +import { FtrProviderContext } from '../ftr_provider_context'; + +export default function ({ getService, loadTestFile }: FtrProviderContext) { + const esArchiver = getService('esArchiver'); + const browser = getService('browser'); + + describe('discover app', function () { + before(async function () { + await browser.setWindowSize(1300, 800); + }); + + after(async function unloadMakelogs() { + await esArchiver.unload('test/functional/fixtures/es_archiver/logstash_functional'); + }); + + loadTestFile(require.resolve('./_indexpattern_without_timefield')); + loadTestFile(require.resolve('./_discover_fields_api')); + loadTestFile(require.resolve('./_data_grid')); + loadTestFile(require.resolve('./_data_grid_context')); + loadTestFile(require.resolve('./_data_grid_field_data')); + loadTestFile(require.resolve('./_data_grid_doc_navigation')); + loadTestFile(require.resolve('./_data_grid_row_navigation')); + loadTestFile(require.resolve('./_data_grid_doc_table')); + loadTestFile(require.resolve('./_data_grid_copy_to_clipboard')); + loadTestFile(require.resolve('./_data_grid_pagination')); + loadTestFile(require.resolve('./_sql_view')); + loadTestFile(require.resolve('./_indexpattern_with_unmapped_fields')); + loadTestFile(require.resolve('./_runtime_fields_editor')); + loadTestFile(require.resolve('./_huge_fields')); + loadTestFile(require.resolve('./_date_nested')); + loadTestFile(require.resolve('./_search_on_page_load')); + loadTestFile(require.resolve('./_chart_hidden')); + loadTestFile(require.resolve('./_context_encoded_url_params')); + loadTestFile(require.resolve('./_hide_announcements')); + }); +} diff --git a/test/functional/apps/discover/index.ts b/test/functional/apps/discover/index.ts deleted file mode 100644 index 2c08d122f9247b..00000000000000 --- a/test/functional/apps/discover/index.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ -import { FtrProviderContext } from '../../ftr_provider_context'; - -export default function ({ getService, loadTestFile }: FtrProviderContext) { - const esArchiver = getService('esArchiver'); - const browser = getService('browser'); - const config = getService('config'); - - describe('discover app', function () { - before(async function () { - await browser.setWindowSize(1300, 800); - }); - - after(async function unloadMakelogs() { - await esArchiver.unload('test/functional/fixtures/es_archiver/logstash_functional'); - }); - - if (config.get('esTestCluster.ccs')) { - loadTestFile(require.resolve('./_data_view_editor')); - loadTestFile(require.resolve('./_saved_queries')); - } else { - loadTestFile(require.resolve('./_no_data')); - loadTestFile(require.resolve('./_saved_queries')); - loadTestFile(require.resolve('./_discover')); - loadTestFile(require.resolve('./_discover_accessibility')); - loadTestFile(require.resolve('./_discover_histogram')); - loadTestFile(require.resolve('./_doc_accessibility')); - loadTestFile(require.resolve('./classic/_doc_table')); - loadTestFile(require.resolve('./classic/_doc_table_newline')); - loadTestFile(require.resolve('./_filter_editor')); - loadTestFile(require.resolve('./_errors')); - loadTestFile(require.resolve('./_field_data')); - loadTestFile(require.resolve('./classic/_field_data')); - loadTestFile(require.resolve('./_field_data_with_fields_api')); - loadTestFile(require.resolve('./classic/_field_data_with_fields_api')); - loadTestFile(require.resolve('./_shared_links')); - loadTestFile(require.resolve('./_sidebar')); - loadTestFile(require.resolve('./_source_filters')); - loadTestFile(require.resolve('./_large_string')); - loadTestFile(require.resolve('./_inspector')); - loadTestFile(require.resolve('./classic/_classic_table_doc_navigation')); - loadTestFile(require.resolve('./_date_nanos')); - loadTestFile(require.resolve('./_date_nanos_mixed')); - loadTestFile(require.resolve('./_indexpattern_without_timefield')); - loadTestFile(require.resolve('./classic/_discover_fields_api')); - loadTestFile(require.resolve('./_discover_fields_api')); - loadTestFile(require.resolve('./_data_grid')); - loadTestFile(require.resolve('./_data_grid_context')); - loadTestFile(require.resolve('./_data_grid_field_data')); - loadTestFile(require.resolve('./_data_grid_doc_navigation')); - loadTestFile(require.resolve('./_data_grid_row_navigation')); - loadTestFile(require.resolve('./_data_grid_doc_table')); - loadTestFile(require.resolve('./_data_grid_copy_to_clipboard')); - loadTestFile(require.resolve('./_data_grid_pagination')); - loadTestFile(require.resolve('./_sql_view')); - loadTestFile(require.resolve('./_indexpattern_with_unmapped_fields')); - loadTestFile(require.resolve('./_runtime_fields_editor')); - loadTestFile(require.resolve('./_huge_fields')); - loadTestFile(require.resolve('./_date_nested')); - loadTestFile(require.resolve('./_search_on_page_load')); - loadTestFile(require.resolve('./_chart_hidden')); - loadTestFile(require.resolve('./_context_encoded_url_params')); - loadTestFile(require.resolve('./_data_view_editor')); - loadTestFile(require.resolve('./_hide_announcements')); - loadTestFile(require.resolve('./classic/_hide_announcements')); - loadTestFile(require.resolve('./embeddable/saved_search_embeddable')); - } - }); -} diff --git a/test/functional/config.ccs.ts b/test/functional/config.ccs.ts index dfa61f654e0929..6e3f92ac37b8e6 100644 --- a/test/functional/config.ccs.ts +++ b/test/functional/config.ccs.ts @@ -19,7 +19,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { testFiles: [ require.resolve('./apps/dashboard/group3'), - require.resolve('./apps/discover'), + require.resolve('./apps/discover/ccs_compatibility'), require.resolve('./apps/console/_console_ccs'), ], diff --git a/test/functional/config.firefox.js b/test/functional/config.firefox.js index 79a757b1f1116f..87811f8ee80bef 100644 --- a/test/functional/config.firefox.js +++ b/test/functional/config.firefox.js @@ -16,7 +16,9 @@ export default async function ({ readConfigFile }) { require.resolve('./apps/console'), require.resolve('./apps/dashboard/group4/dashboard_save'), require.resolve('./apps/dashboard_elements'), - require.resolve('./apps/discover'), + require.resolve('./apps/discover/classic'), + require.resolve('./apps/discover/group1'), + require.resolve('./apps/discover/group2'), require.resolve('./apps/home'), require.resolve('./apps/visualize/group5'), ], From 90e47dd457b50e1f06113a53d7d89147d810dde8 Mon Sep 17 00:00:00 2001 From: Dmitry Tomashevich <39378793+dimaanj@users.noreply.github.com> Date: Mon, 1 Aug 2022 14:52:34 +0300 Subject: [PATCH 18/37] [Discover] clean up storybook config (#137037) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../with_discover_services.tsx | 4 +- .../layout/__stories__/get_services.tsx | 129 ------------------ 2 files changed, 3 insertions(+), 130 deletions(-) delete mode 100644 src/plugins/discover/public/application/main/components/layout/__stories__/get_services.tsx diff --git a/src/plugins/discover/public/__mocks__/__storybook_mocks__/with_discover_services.tsx b/src/plugins/discover/public/__mocks__/__storybook_mocks__/with_discover_services.tsx index bd1bb210935b9d..faf1f063e9e8da 100644 --- a/src/plugins/discover/public/__mocks__/__storybook_mocks__/with_discover_services.tsx +++ b/src/plugins/discover/public/__mocks__/__storybook_mocks__/with_discover_services.tsx @@ -86,7 +86,9 @@ const services = { }, }, navigation: NavigationPlugin.start({} as CoreStart, { - unifiedSearch: { ui: { SearchBar } } as unknown as UnifiedSearchPublicPluginStart, + unifiedSearch: { + ui: { SearchBar, AggregateQuerySearchBar: SearchBar }, + } as unknown as UnifiedSearchPublicPluginStart, }), theme: { useChartsTheme: () => ({ diff --git a/src/plugins/discover/public/application/main/components/layout/__stories__/get_services.tsx b/src/plugins/discover/public/application/main/components/layout/__stories__/get_services.tsx deleted file mode 100644 index a3bc71cf7f6d4c..00000000000000 --- a/src/plugins/discover/public/application/main/components/layout/__stories__/get_services.tsx +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { action } from '@storybook/addon-actions'; -import { TopNavMenu } from '@kbn/navigation-plugin/public'; -import { EUI_CHARTS_THEME_LIGHT } from '@elastic/eui/dist/eui_charts_theme'; -import { LIGHT_THEME } from '@elastic/charts'; -import { FieldFormat } from '@kbn/field-formats-plugin/common'; -import { identity } from 'lodash'; -import { IUiSettingsClient } from '@kbn/core/public'; -import { - DEFAULT_COLUMNS_SETTING, - DOC_TABLE_LEGACY, - MAX_DOC_FIELDS_DISPLAYED, - ROW_HEIGHT_OPTION, - SAMPLE_SIZE_SETTING, - SAMPLE_ROWS_PER_PAGE_SETTING, - SEARCH_FIELDS_FROM_SOURCE, - SHOW_MULTIFIELDS, -} from '../../../../../../common'; -import { SIDEBAR_CLOSED_KEY } from '../discover_layout'; -import { LocalStorageMock } from '../../../../../__mocks__/local_storage_mock'; -import { DiscoverServices } from '../../../../../build_services'; - -export const uiSettingsMock = { - get: (key: string) => { - if (key === MAX_DOC_FIELDS_DISPLAYED) { - return 3; - } else if (key === SAMPLE_SIZE_SETTING) { - return 10; - } else if (key === SAMPLE_ROWS_PER_PAGE_SETTING) { - return 100; - } else if (key === DEFAULT_COLUMNS_SETTING) { - return ['default_column']; - } else if (key === DOC_TABLE_LEGACY) { - return false; - } else if (key === SEARCH_FIELDS_FROM_SOURCE) { - return false; - } else if (key === SHOW_MULTIFIELDS) { - return false; - } else if (key === ROW_HEIGHT_OPTION) { - return 3; - } else if (key === 'dateFormat:tz') { - return true; - } - }, - isDefault: () => { - return true; - }, -} as unknown as IUiSettingsClient; - -export function getServices() { - return { - core: { http: { basePath: { prepend: () => void 0 } } }, - storage: new LocalStorageMock({ - [SIDEBAR_CLOSED_KEY]: false, - }) as unknown as Storage, - data: { - query: { - timefilter: { - timefilter: { - setTime: action('Set timefilter time'), - getAbsoluteTime: () => { - return { from: '2020-05-14T11:05:13.590', to: '2020-05-14T11:20:13.590' }; - }, - }, - }, - }, - dataViews: { - getIdsWithTitle: () => Promise.resolve([]), - }, - }, - uiSettings: uiSettingsMock, - dataViewFieldEditor: { - openEditor: () => void 0, - userPermissions: { - editIndexPattern: () => void 0, - }, - }, - navigation: { - ui: { TopNavMenu }, - }, - theme: { - useChartsTheme: () => ({ - ...EUI_CHARTS_THEME_LIGHT.theme, - chartPaddings: { - top: 0, - left: 0, - bottom: 0, - right: 0, - }, - heatmap: { xAxisLabel: { rotation: {} } }, - }), - useChartsBaseTheme: () => LIGHT_THEME, - }, - capabilities: { - visualize: { - show: true, - }, - discover: { - save: false, - }, - advancedSettings: { - save: true, - }, - }, - docLinks: { links: { discover: {} } }, - addBasePath: (path: string) => path, - filterManager: { - getGlobalFilters: () => [], - getAppFilters: () => [], - }, - history: () => ({}), - fieldFormats: { - deserialize: () => { - const DefaultFieldFormat = FieldFormat.from(identity); - return new DefaultFieldFormat(); - }, - }, - toastNotifications: { - addInfo: action('add toast'), - }, - } as unknown as DiscoverServices; -} From a622a64733e51734dd87c38ac1bdc16b2d12ba36 Mon Sep 17 00:00:00 2001 From: Luke Gmys Date: Mon, 1 Aug 2022 14:01:55 +0200 Subject: [PATCH 19/37] [TIP] Add KQL bar (#137178) * [TIP] Add KQL bar * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .../pages/threat_intelligence.tsx | 8 +- .../threat_intelligence/common/test/utils.ts | 14 ++ .../integration/sources/indicators.spec.ts | 79 +++++++- .../cypress/plugins/index.js | 29 ++- .../cypress/screens/indicators.ts | 34 ++-- .../cypress/support/commands.js | 26 --- .../cypress/support/index.js | 8 + .../plugins/threat_intelligence/kibana.json | 15 +- .../mocks/mock_use_kibana_for_filters.ts | 50 +++++ .../public/common/mocks/test_providers.tsx | 118 ++++++++++-- .../empty_state/empty_state.stories.tsx | 18 ++ .../components/empty_state/empty_state.tsx | 56 ++++++ .../public/components/empty_state/index.tsx | 8 + .../components/empty_state/no_results.svg | 1 + .../public/containers/filters_global.tsx | 22 +++ .../containers/security_solution_context.tsx | 13 ++ .../threat_intelligence/public/index.ts | 6 +- .../components/indicators_table/index.tsx | 8 + .../indicators_table.stories.tsx | 20 +- .../indicators_table.test.tsx | 2 +- .../indicators_table/indicators_table.tsx | 8 +- .../indicators/components/query_bar/index.tsx | 11 ++ .../query_bar/query_bar.stories.tsx | 49 +++++ .../components/query_bar/query_bar.test.tsx | 83 +++++++++ .../components/query_bar/query_bar.tsx | 173 ++++++++++++++++++ .../indicators/hooks/use_filters/index.ts | 8 + .../hooks/use_filters/use_filters.test.ts | 163 +++++++++++++++++ .../hooks/use_filters/use_filters.ts | 150 +++++++++++++++ .../hooks/use_filters/utils.test.ts | 68 +++++++ .../indicators/hooks/use_filters/utils.ts | 73 ++++++++ .../indicators/hooks/use_indicators.test.tsx | 79 +++++++- .../indicators/hooks/use_indicators.ts | 118 ++++++++---- .../hooks/use_indicators_total_count.tsx | 3 +- .../indicators/indicators_page.test.tsx | 37 ++-- .../modules/indicators/indicators_page.tsx | 46 ++++- .../threat_intelligence/public/plugin.tsx | 61 ++++-- .../threat_intelligence/public/types.ts | 20 +- .../plugins/threat_intelligence/tsconfig.json | 3 +- .../visual_config.ts | 4 +- 39 files changed, 1528 insertions(+), 164 deletions(-) create mode 100644 x-pack/plugins/threat_intelligence/common/test/utils.ts create mode 100644 x-pack/plugins/threat_intelligence/public/common/mocks/mock_use_kibana_for_filters.ts create mode 100644 x-pack/plugins/threat_intelligence/public/components/empty_state/empty_state.stories.tsx create mode 100644 x-pack/plugins/threat_intelligence/public/components/empty_state/empty_state.tsx create mode 100644 x-pack/plugins/threat_intelligence/public/components/empty_state/index.tsx create mode 100644 x-pack/plugins/threat_intelligence/public/components/empty_state/no_results.svg create mode 100644 x-pack/plugins/threat_intelligence/public/containers/filters_global.tsx create mode 100644 x-pack/plugins/threat_intelligence/public/containers/security_solution_context.tsx create mode 100644 x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/index.tsx create mode 100644 x-pack/plugins/threat_intelligence/public/modules/indicators/components/query_bar/index.tsx create mode 100644 x-pack/plugins/threat_intelligence/public/modules/indicators/components/query_bar/query_bar.stories.tsx create mode 100644 x-pack/plugins/threat_intelligence/public/modules/indicators/components/query_bar/query_bar.test.tsx create mode 100644 x-pack/plugins/threat_intelligence/public/modules/indicators/components/query_bar/query_bar.tsx create mode 100644 x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/index.ts create mode 100644 x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/use_filters.test.ts create mode 100644 x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/use_filters.ts create mode 100644 x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/utils.test.ts create mode 100644 x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/utils.ts diff --git a/x-pack/plugins/security_solution/public/threat_intelligence/pages/threat_intelligence.tsx b/x-pack/plugins/security_solution/public/threat_intelligence/pages/threat_intelligence.tsx index c558f7fc2aaaeb..468fe58b7be0b6 100644 --- a/x-pack/plugins/security_solution/public/threat_intelligence/pages/threat_intelligence.tsx +++ b/x-pack/plugins/security_solution/public/threat_intelligence/pages/threat_intelligence.tsx @@ -6,19 +6,25 @@ */ import React from 'react'; +import type { ThreatIntelligenceSecuritySolutionContext } from '@kbn/threat-intelligence-plugin/public'; import { SecuritySolutionPageWrapper } from '../../common/components/page_wrapper'; import { SpyRoute } from '../../common/utils/route/spy_routes'; import { SecurityPageName } from '../../../common/constants'; import { useKibana } from '../../common/lib/kibana'; +import { FiltersGlobal } from '../../common/components/filters_global'; const ThreatIntelligence = () => { const services = useKibana().services; const { threatIntelligence } = services; const ThreatIntelligencePlugin = threatIntelligence.getComponent(); + const securitySolutionContext: ThreatIntelligenceSecuritySolutionContext = { + getFiltersGlobalComponent: () => FiltersGlobal, + }; + return ( - + ); diff --git a/x-pack/plugins/threat_intelligence/common/test/utils.ts b/x-pack/plugins/threat_intelligence/common/test/utils.ts new file mode 100644 index 00000000000000..862b51ec5c35c8 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/common/test/utils.ts @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +/** + * Use this to query elements by test-subj + * @param testSubject test subject to query elements by + * @returns + */ +export const getByTestSubj = (testSubject: string): HTMLElement => + document.querySelector(`[data-test-subj="${testSubject}"]`) as HTMLElement; diff --git a/x-pack/plugins/threat_intelligence/cypress/integration/sources/indicators.spec.ts b/x-pack/plugins/threat_intelligence/cypress/integration/sources/indicators.spec.ts index 964b51e09954da..117a7da337fa4b 100644 --- a/x-pack/plugins/threat_intelligence/cypress/integration/sources/indicators.spec.ts +++ b/x-pack/plugins/threat_intelligence/cypress/integration/sources/indicators.spec.ts @@ -13,6 +13,12 @@ import { FLYOUT_TITLE, INDICATORS_TABLE, TOGGLE_FLYOUT_BUTTON, + FILTERS_GLOBAL_CONTAINER, + TIME_RANGE_PICKER, + QUERY_INPUT, + TABLE_CONTROLS, + INDICATOR_TYPE_CELL, + EMPTY_STATE, } from '../../screens/indicators'; import { login } from '../../tasks/login'; @@ -20,17 +26,36 @@ before(() => { login(); }); -describe('Indicators page', () => { +/** + * Time range extended to 15 years back to ensure fixtures are showing up correctly + * TODO: https://github.com/elastic/security-team/issues/4595 + */ +const THREAT_INTELLIGENCE_15Y_DATA = + '/app/security/threat_intelligence?indicators=(filterQuery:(language:kuery,query:%27%27),filters:!(),timeRange:(from:now-15y/d,to:now))'; + +const URL_WITH_CONTRADICTORY_FILTERS = + '/app/security/threat_intelligence?indicators=(filterQuery:(language:kuery,query:%27%27),filters:!((%27$state%27:(store:appState),meta:(alias:!n,disabled:!f,index:%27%27,key:threat.indicator.type,negate:!f,params:(query:file),type:phrase),query:(match_phrase:(threat.indicator.type:file))),(%27$state%27:(store:appState),meta:(alias:!n,disabled:!f,index:%27%27,key:threat.indicator.type,negate:!f,params:(query:url),type:phrase),query:(match_phrase:(threat.indicator.type:url)))),timeRange:(from:now/d,to:now/d))'; + +describe('Indicators page basics', () => { before(() => { - cy.visit('/app/security/threat_intelligence'); + cy.visit(THREAT_INTELLIGENCE_15Y_DATA); }); - it('should navigate to the indicators page, click on a flyout button and inspect flyout', () => { + it('should render the basic page elements', () => { cy.get(DEFAULT_LAYOUT_TITLE).should('have.text', 'Indicators'); cy.get(INDICATORS_TABLE).should('exist'); - cy.get(TOGGLE_FLYOUT_BUTTON).should('exist').first().click(); + cy.get(FILTERS_GLOBAL_CONTAINER).should('exist'); + + cy.get(`${FILTERS_GLOBAL_CONTAINER} ${TIME_RANGE_PICKER}`).should('exist'); + }); + + it('should show the indicator flyout on ioc click', () => { + // Just to know that the data is loaded. This will be replaced with some better mechanism. + cy.get(TABLE_CONTROLS).should('contain.text', 'Showing 1-25 of'); + + cy.get(TOGGLE_FLYOUT_BUTTON).first().click({ force: true }); cy.get(FLYOUT_TITLE).should('contain', 'Indicator:'); @@ -41,3 +66,49 @@ describe('Indicators page', () => { cy.get(FLYOUT_JSON).should('exist').and('contain.text', 'threat.indicator.type'); }); }); + +describe('Indicator page search', () => { + before(() => { + cy.visit(THREAT_INTELLIGENCE_15Y_DATA); + }); + + it('should narrow the results to url indicators when respective KQL search is executed', () => { + cy.get(QUERY_INPUT).should('exist').focus().type('threat.indicator.type: "url"{enter}'); + + // Check if query results are narrowed after search + cy.get(INDICATOR_TYPE_CELL).should('not.contain.text', 'file'); + + cy.get(QUERY_INPUT) + .should('exist') + .focus() + .clear() + .type('threat.indicator.type: "file"{enter}'); + + cy.get(INDICATOR_TYPE_CELL).should('not.contain.text', 'url'); + }); + + it('should go to the 2nd page', () => { + cy.get('[data-test-subj="pagination-button-1"]').click(); + + cy.get(TABLE_CONTROLS).should('contain.text', 'Showing 26-50 of'); + }); + + it('should go to page 1 when search input is cleared', () => { + cy.get(QUERY_INPUT).should('exist').focus().clear().type('{enter}'); + + cy.get(TABLE_CONTROLS).should('contain.text', 'Showing 1-25 of'); + }); + + describe('No items match search criteria', () => { + before(() => + // Contradictory filter set + cy.visit(URL_WITH_CONTRADICTORY_FILTERS) + ); + + it('should not display the table when contractictory filters are set', () => { + cy.get(FLYOUT_TABLE).should('not.exist'); + + cy.get(EMPTY_STATE).should('exist').and('contain.text', 'No results'); + }); + }); +}); diff --git a/x-pack/plugins/threat_intelligence/cypress/plugins/index.js b/x-pack/plugins/threat_intelligence/cypress/plugins/index.js index b5c73bef307eda..954aca2ed76e4c 100644 --- a/x-pack/plugins/threat_intelligence/cypress/plugins/index.js +++ b/x-pack/plugins/threat_intelligence/cypress/plugins/index.js @@ -5,7 +5,6 @@ * 2.0. */ -/// // *********************************************************** // This example plugins/index.js can be used to load plugins // @@ -19,11 +18,25 @@ // This function is called when a project is opened or re-opened (e.g. due to // the project's config changing) -/** - * @type {Cypress.PluginConfig} - */ -// eslint-disable-next-line no-unused-vars -module.exports = (on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config +// eslint-disable-next-line import/no-extraneous-dependencies +const wp = require('@cypress/webpack-preprocessor'); + +module.exports = (on) => { + const options = { + webpackOptions: { + resolve: { + extensions: ['.ts', '.tsx', '.js'], + }, + module: { + rules: [ + { + test: /\.tsx?$/, + loader: 'ts-loader', + options: { transpileOnly: true }, + }, + ], + }, + }, + }; + on('file:preprocessor', wp(options)); }; diff --git a/x-pack/plugins/threat_intelligence/cypress/screens/indicators.ts b/x-pack/plugins/threat_intelligence/cypress/screens/indicators.ts index a9c928b1717b57..ccdf7c0fd4b0d0 100644 --- a/x-pack/plugins/threat_intelligence/cypress/screens/indicators.ts +++ b/x-pack/plugins/threat_intelligence/cypress/screens/indicators.ts @@ -5,24 +5,30 @@ * 2.0. */ -import { TABLE_TEST_ID as FLYOUT_TABLE_TEST_ID } from '../../public/modules/indicators/components/indicators_flyout_table/indicators_flyout_table'; -import { CODE_BLOCK_TEST_ID } from '../../public/modules/indicators/components/indicators_flyout_json/indicators_flyout_json'; -import { TABS_TEST_ID } from '../../public/modules/indicators/components/indicators_flyout/indicators_flyout'; -import { BUTTON_TEST_ID } from '../../public/modules/indicators/components/open_indicator_flyout_button/open_indicator_flyout_button'; -import { TABLE_TEST_ID as INDICATORS_TABLE_TEST_ID } from '../../public/modules/indicators/components/indicators_table/indicators_table'; -import { TITLE_TEST_ID as LAYOUT_TITLE_TEST_ID } from '../../public/components/layout'; -import { TITLE_TEST_ID as FLYOUT_TITLE_TEST_ID } from '../../public/modules/indicators/components/indicators_flyout/indicators_flyout'; +export const DEFAULT_LAYOUT_TITLE = `[data-test-subj="tiDefaultPageLayoutTitle"]`; -export const DEFAULT_LAYOUT_TITLE = `[data-test-subj="${LAYOUT_TITLE_TEST_ID}"]`; +export const INDICATORS_TABLE = `[data-test-subj="tiIndicatorsTable"]`; -export const INDICATORS_TABLE = `[data-test-subj="${INDICATORS_TABLE_TEST_ID}"]`; +export const TOGGLE_FLYOUT_BUTTON = `[data-test-subj="tiToggleIndicatorFlyoutButton"]`; -export const TOGGLE_FLYOUT_BUTTON = `[data-test-subj="${BUTTON_TEST_ID}"]`; +export const FLYOUT_TITLE = `[data-test-subj="tiIndicatorFlyoutTitle"]`; -export const FLYOUT_TITLE = `[data-test-subj="${FLYOUT_TITLE_TEST_ID}"]`; +export const FLYOUT_TABS = `[data-test-subj="tiIndicatorFlyoutTabs"]`; -export const FLYOUT_TABS = `[data-test-subj="${TABS_TEST_ID}"]`; +export const FLYOUT_TABLE = `[data-test-subj="tiFlyoutTableMemoryTable"]`; -export const FLYOUT_TABLE = `[data-test-subj="${FLYOUT_TABLE_TEST_ID}"]`; +export const FLYOUT_JSON = `[data-test-subj="tiFlyoutJsonCodeBlock"]`; -export const FLYOUT_JSON = `[data-test-subj="${CODE_BLOCK_TEST_ID}"]`; +export const FILTERS_GLOBAL_CONTAINER = '[data-test-subj="filters-global-container"]'; + +export const TIME_RANGE_PICKER = `[data-test-subj="superDatePickerToggleQuickMenuButton"]`; + +export const TIME_RANGE_LAST_YEAR = `[data-test-subj="superDatePickerCommonlyUsed_Last_1 year"]`; + +export const QUERY_INPUT = `[data-test-subj="iocListPageQueryInput"]`; + +export const EMPTY_STATE = '[data-test-subj="indicatorsTableEmptyState"]'; + +export const TABLE_CONTROLS = '[data-test-sub="dataGridControls"]'; + +export const INDICATOR_TYPE_CELL = '[data-gridcell-column-id="threat.indicator.type"]'; diff --git a/x-pack/plugins/threat_intelligence/cypress/support/commands.js b/x-pack/plugins/threat_intelligence/cypress/support/commands.js index 66f94350355712..1fec1c76430ebd 100644 --- a/x-pack/plugins/threat_intelligence/cypress/support/commands.js +++ b/x-pack/plugins/threat_intelligence/cypress/support/commands.js @@ -4,29 +4,3 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ - -// *********************************************** -// This example commands.js shows you how to -// create various custom commands and overwrite -// existing commands. -// -// For more comprehensive examples of custom -// commands please read more here: -// https://on.cypress.io/custom-commands -// *********************************************** -// -// -// -- This is a parent command -- -// Cypress.Commands.add('login', (email, password) => { ... }) -// -// -// -- This is a child command -- -// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) -// -// -// -- This is a dual command -- -// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) -// -// -// -- This will overwrite an existing command -- -// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) diff --git a/x-pack/plugins/threat_intelligence/cypress/support/index.js b/x-pack/plugins/threat_intelligence/cypress/support/index.js index 0e9350b188de5c..8e4764197482db 100644 --- a/x-pack/plugins/threat_intelligence/cypress/support/index.js +++ b/x-pack/plugins/threat_intelligence/cypress/support/index.js @@ -5,6 +5,8 @@ * 2.0. */ +/* eslint-disable no-undef */ + // *********************************************************** // This example support/index.js is processed and // loaded automatically before your test files. @@ -25,3 +27,9 @@ import './commands'; // Alternatively you can use CommonJS syntax: // require('./commands') + +Cypress.on('uncaught:exception', (err) => { + if (err.message.includes('ResizeObserver')) { + return false; + } +}); diff --git a/x-pack/plugins/threat_intelligence/kibana.json b/x-pack/plugins/threat_intelligence/kibana.json index dd714b2ea1d4d5..18493feca7c4f1 100644 --- a/x-pack/plugins/threat_intelligence/kibana.json +++ b/x-pack/plugins/threat_intelligence/kibana.json @@ -8,5 +8,18 @@ "githubTeam": "protections-experience" }, "description": "Elastic threat intelligence helps you see if you are open to or have been subject to current or historical known threats", - "requiredPlugins": ["data", "kibanaReact"] + "requiredPlugins": [ + "data", + "dataViews", + "unifiedSearch", + "kibanaUtils", + "navigation", + "kibanaReact" + ], + "requiredBundles": [ + "data", + "unifiedSearch", + "kibanaUtils", + "kibanaReact" + ] } diff --git a/x-pack/plugins/threat_intelligence/public/common/mocks/mock_use_kibana_for_filters.ts b/x-pack/plugins/threat_intelligence/public/common/mocks/mock_use_kibana_for_filters.ts new file mode 100644 index 00000000000000..cb77e0cec55238 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/common/mocks/mock_use_kibana_for_filters.ts @@ -0,0 +1,50 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { Filter } from '@kbn/es-query'; +import { BehaviorSubject } from 'rxjs'; +import * as hook from '../../hooks/use_kibana'; + +jest.mock('../../hooks/use_kibana'); + +interface MockConfig { + $filterUpdates?: BehaviorSubject; + getFilters?: jest.Mock; + setFilters?: jest.Mock; +} + +const defaultConfig = { + $filterUpdates: new BehaviorSubject(undefined), + getFilters: jest.fn().mockReturnValue([]), + setFilters: jest.fn(), +}; + +export const mockUseKibanaForFilters = ({ + $filterUpdates = defaultConfig.$filterUpdates, + getFilters = defaultConfig.getFilters, + setFilters = defaultConfig.setFilters, +}: MockConfig = defaultConfig) => { + const getFieldsForWildcard = jest.fn(); + + (hook as jest.Mocked).useKibana.mockReturnValue({ + services: { + data: { + query: { + filterManager: { + getFilters, + setFilters, + getUpdates$: () => $filterUpdates, + }, + }, + }, + dataViews: { getFieldsForWildcard }, + uiSettings: { get: () => ['mock-index'] }, + }, + } as any); + + return { getFieldsForWildcard, setFilters, getFilters, $filterUpdates }; +}; diff --git a/x-pack/plugins/threat_intelligence/public/common/mocks/test_providers.tsx b/x-pack/plugins/threat_intelligence/public/common/mocks/test_providers.tsx index 955e56f64ae2ab..0a58b7521f5fd4 100644 --- a/x-pack/plugins/threat_intelligence/public/common/mocks/test_providers.tsx +++ b/x-pack/plugins/threat_intelligence/public/common/mocks/test_providers.tsx @@ -5,24 +5,114 @@ * 2.0. */ -import React from 'react'; -import { VFC } from 'react'; +import React, { FC } from 'react'; import { I18nProvider } from '@kbn/i18n-react'; import { coreMock } from '@kbn/core/public/mocks'; -import { KibanaContextProvider } from '../../hooks/use_kibana'; +import { dataPluginMock } from '@kbn/data-plugin/public/mocks'; +import type { IStorage } from '@kbn/kibana-utils-plugin/public'; +import { Storage } from '@kbn/kibana-utils-plugin/public'; +import { unifiedSearchPluginMock } from '@kbn/unified-search-plugin/public/mocks'; import { mockUiSetting } from './mock_kibana_ui_setting'; +import { KibanaContextProvider } from '../../hooks/use_kibana'; +import { Services, ThreatIntelligenceSecuritySolutionContext } from '../../types'; +import { SecuritySolutionContext } from '../../containers/security_solution_context'; + +const mockCoreStart = coreMock.createStart(); -interface Props { - children: React.ReactNode; -} +export const localStorageMock = (): IStorage => { + let store: Record = {}; -export const TestProvidersComponent: VFC = ({ children }) => { - const mockCoreStart = coreMock.createStart(); - mockCoreStart.uiSettings.get.mockImplementation(mockUiSetting); + return { + getItem: (key: string) => { + return store[key] || null; + }, + setItem: (key: string, value: unknown) => { + store[key] = value; + }, + clear() { + store = {}; + }, + removeItem(key: string) { + delete store[key]; + }, + }; +}; - return ( - - {children} - - ); +export const createTiStorageMock = () => { + const localStorage = localStorageMock(); + return { + localStorage, + storage: new Storage(localStorage), + }; }; + +const data = dataPluginMock.createStartContract(); +const { storage } = createTiStorageMock(); +const unifiedSearch = unifiedSearchPluginMock.createStartContract(); + +const dataServiceMock = { + ...data, + query: { + ...data.query, + savedQueries: { + ...data.query.savedQueries, + getAllSavedQueries: jest.fn(() => + Promise.resolve({ + id: '123', + attributes: { + total: 123, + }, + }) + ), + findSavedQueries: jest.fn(() => + Promise.resolve({ + total: 123, + queries: [], + }) + ), + }, + }, + search: { + ...data.search, + search: jest.fn().mockImplementation(() => ({ + subscribe: jest.fn().mockImplementation(() => ({ + error: jest.fn(), + next: jest.fn(), + unsubscribe: jest.fn(), + })), + pipe: jest.fn().mockImplementation(() => ({ + subscribe: jest.fn().mockImplementation(() => ({ + error: jest.fn(), + next: jest.fn(), + unsubscribe: jest.fn(), + })), + })), + })), + }, +}; + +const mockSecurityContext: ThreatIntelligenceSecuritySolutionContext = { + getFiltersGlobalComponent: + () => + ({ children }) => +
{children}
, +}; + +mockCoreStart.uiSettings.get.mockImplementation(mockUiSetting); + +export const TestProvidersComponent: FC = ({ children }) => ( + + + {children} + + +); diff --git a/x-pack/plugins/threat_intelligence/public/components/empty_state/empty_state.stories.tsx b/x-pack/plugins/threat_intelligence/public/components/empty_state/empty_state.stories.tsx new file mode 100644 index 00000000000000..2524ae659db90e --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/components/empty_state/empty_state.stories.tsx @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { EmptyState } from './empty_state'; + +export default { + component: BasicEmptyState, + title: 'EmptyState', +}; + +export function BasicEmptyState() { + return ; +} diff --git a/x-pack/plugins/threat_intelligence/public/components/empty_state/empty_state.tsx b/x-pack/plugins/threat_intelligence/public/components/empty_state/empty_state.tsx new file mode 100644 index 00000000000000..b318c89ba68df4 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/components/empty_state/empty_state.tsx @@ -0,0 +1,56 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { EuiPanel, EuiFlexGroup, EuiFlexItem, EuiImage, EuiText, EuiTitle } from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n-react'; +import icon from './no_results.svg'; + +const heights = { + tall: 490, + short: 250, +}; + +const panelStyle = { + maxWidth: 500, +}; + +export const EmptyState: React.FC<{ height?: keyof typeof heights }> = ({ height = 'tall' }) => { + return ( + + + + + + + + +

+ +

+
+

+ +

+
+
+ + + +
+
+
+
+
+ ); +}; diff --git a/x-pack/plugins/threat_intelligence/public/components/empty_state/index.tsx b/x-pack/plugins/threat_intelligence/public/components/empty_state/index.tsx new file mode 100644 index 00000000000000..19f56bcb756b68 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/components/empty_state/index.tsx @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './empty_state'; diff --git a/x-pack/plugins/threat_intelligence/public/components/empty_state/no_results.svg b/x-pack/plugins/threat_intelligence/public/components/empty_state/no_results.svg new file mode 100644 index 00000000000000..addd06d989e858 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/components/empty_state/no_results.svg @@ -0,0 +1 @@ + diff --git a/x-pack/plugins/threat_intelligence/public/containers/filters_global.tsx b/x-pack/plugins/threat_intelligence/public/containers/filters_global.tsx new file mode 100644 index 00000000000000..96eec40008a25f --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/containers/filters_global.tsx @@ -0,0 +1,22 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { FC, useContext } from 'react'; +import { SecuritySolutionContext } from './security_solution_context'; + +export const FiltersGlobal: FC = ({ children }) => { + const contextValue = useContext(SecuritySolutionContext); + + if (!contextValue) { + throw new Error('FiltersGlobal can only be used within Security Solution Context'); + } + + const Component = contextValue.getFiltersGlobalComponent(); + + return {children}; +}; diff --git a/x-pack/plugins/threat_intelligence/public/containers/security_solution_context.tsx b/x-pack/plugins/threat_intelligence/public/containers/security_solution_context.tsx new file mode 100644 index 00000000000000..0dae7e9538c38a --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/containers/security_solution_context.tsx @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { createContext } from 'react'; +import { ThreatIntelligenceSecuritySolutionContext } from '../types'; + +export const SecuritySolutionContext = createContext< + ThreatIntelligenceSecuritySolutionContext | undefined +>(undefined); diff --git a/x-pack/plugins/threat_intelligence/public/index.ts b/x-pack/plugins/threat_intelligence/public/index.ts index 9242c7af8d8e4d..3f9cef413aa79b 100755 --- a/x-pack/plugins/threat_intelligence/public/index.ts +++ b/x-pack/plugins/threat_intelligence/public/index.ts @@ -11,4 +11,8 @@ export function plugin() { return new ThreatIntelligencePlugin(); } -export type { ThreatIntelligencePluginSetup, ThreatIntelligencePluginStart } from './types'; +export type { + ThreatIntelligencePluginSetup, + ThreatIntelligencePluginStart, + ThreatIntelligenceSecuritySolutionContext, +} from './types'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/index.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/index.tsx new file mode 100644 index 00000000000000..b337d57fe4e1fc --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/index.tsx @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './indicators_table'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/indicators_table.stories.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/indicators_table.stories.tsx index e5dc87d0cf68bd..f0bb86c8ce2e36 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/indicators_table.stories.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/indicators_table.stories.tsx @@ -40,8 +40,8 @@ export function WithIndicators() { return ( ); } + +export function WithNoIndicators() { + return ( + + ); +} diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/indicators_table.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/indicators_table.test.tsx index aa5ad7bbc8e5b7..1768c78c726758 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/indicators_table.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/indicators_table.test.tsx @@ -13,13 +13,13 @@ import { TestProvidersComponent } from '../../../../common/mocks/test_providers' const stub = () => {}; const tableProps: IndicatorsTableProps = { - loadData: stub, onChangePage: stub, onChangeItemsPerPage: stub, indicators: [], pagination: { pageSize: 10, pageIndex: 0, pageSizeOptions: [10] }, indicatorCount: 0, firstLoad: false, + loading: false, }; const indicatorsFixture = [ diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/indicators_table.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/indicators_table.tsx index 6a523d5ec454d7..e332212ee9d1be 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/indicators_table.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/indicators_table/indicators_table.tsx @@ -19,6 +19,7 @@ import { Indicator, RawIndicatorFieldId } from '../../../../../common/types/indi import { UseIndicatorsValue } from '../../hooks/use_indicators'; import { cellRendererFactory, ComputedIndicatorFieldId } from './cell_renderer'; import { ActionsRowCell } from './actions_row_cell'; +import { EmptyState } from '../../../../components/empty_state'; interface Column { id: RawIndicatorFieldId | ComputedIndicatorFieldId; @@ -70,7 +71,7 @@ const columns: Column[] = [ }, ]; -export type IndicatorsTableProps = UseIndicatorsValue; +export type IndicatorsTableProps = Omit; export const TABLE_TEST_ID = 'tiIndicatorsTable'; @@ -81,6 +82,7 @@ export const IndicatorsTable: VFC = ({ onChangeItemsPerPage, pagination, firstLoad, + loading, }) => { const [visibleColumns, setVisibleColumns] = useState>( columns.map((column) => column.id) @@ -114,6 +116,10 @@ export const IndicatorsTable: VFC = ({ }, ]; + if (!loading && !indicatorCount) { + return ; + } + return (
{} }, +}; + +const Template: ComponentStory = (args) => ( + + + {' '} + + +); + +export const Basic = Template.bind({}); + +Basic.args = { + indexPatterns: [], + filterManager: {} as any, + filters: [], + filterQuery: { language: 'kuery', query: '' }, +}; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/query_bar/query_bar.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/query_bar/query_bar.test.tsx new file mode 100644 index 00000000000000..b2cf6de31cdea3 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/query_bar/query_bar.test.tsx @@ -0,0 +1,83 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { render, screen, act, waitFor } from '@testing-library/react'; +import { QueryBar } from './query_bar'; +import userEvent from '@testing-library/user-event'; + +import { FilterManager } from '@kbn/data-plugin/public'; + +import { coreMock } from '@kbn/core/public/mocks'; +import { TestProvidersComponent } from '../../../../common/mocks/test_providers'; +import { getByTestSubj } from '../../../../../common/test/utils'; + +const mockUiSettingsForFilterManager = coreMock.createStart().uiSettings; + +const filterManager = new FilterManager(mockUiSettingsForFilterManager); + +describe('QueryBar ', () => { + const onSubmitQuery = jest.fn(); + const onSubmitDateRange = jest.fn(); + const onSavedQuery = jest.fn(); + const onChangedQuery = jest.fn(); + + beforeEach(async () => { + await act(async () => { + render( + + + + ); + }); + + // Some parts of this are lazy loaded, we need to wait for quert input to appear before tests can be done + await waitFor(() => screen.queryByRole('input')); + }); + + it('should call onSubmitDateRange when date range is changed', async () => { + expect(getByTestSubj('superDatePickerToggleQuickMenuButton')).toBeInTheDocument(); + + await act(async () => { + userEvent.click(getByTestSubj('superDatePickerToggleQuickMenuButton')); + }); + + await act(async () => { + screen.getByText('Apply').click(); + }); + + expect(onSubmitDateRange).toHaveBeenCalled(); + }); + + it('should call onSubmitQuery when query is changed', async () => { + const queryInput = getByTestSubj('queryInput'); + + await act(async () => { + userEvent.type(queryInput, 'one_serious_query'); + }); + + expect(onChangedQuery).toHaveBeenCalledWith( + expect.objectContaining({ language: 'kuery', query: expect.any(String) }) + ); + + await act(async () => { + screen.getByText('Refresh').click(); + }); + + expect(onSubmitQuery).toHaveBeenCalled(); + }); +}); diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/query_bar/query_bar.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/query_bar/query_bar.tsx new file mode 100644 index 00000000000000..c6737535c65ab4 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/query_bar/query_bar.tsx @@ -0,0 +1,173 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { memo, useMemo, useCallback } from 'react'; +import deepEqual from 'fast-deep-equal'; + +import { DataView } from '@kbn/data-views-plugin/public'; +import type { AggregateQuery, Filter, Query, TimeRange } from '@kbn/es-query'; +import { + FilterManager, + TimeHistory, + SavedQuery, + SavedQueryTimeFilter, +} from '@kbn/data-plugin/public'; +import { SearchBar, SearchBarProps } from '@kbn/unified-search-plugin/public'; +import { Storage } from '@kbn/kibana-utils-plugin/public'; + +interface QueryPayload { + dateRange: TimeRange; + query?: Query | AggregateQuery; +} + +/** + * User defined type guard to verify if we are dealing with Query param + * @param query query param to test + * @returns + */ +const isQuery = (query?: Query | AggregateQuery | null): query is Query => { + return !!query && Object.prototype.hasOwnProperty.call(query, 'query'); +}; + +export interface QueryBarComponentProps { + dataTestSubj?: string; + dateRangeFrom?: string; + dateRangeTo?: string; + hideSavedQuery?: boolean; + indexPatterns: DataView[]; + isLoading?: boolean; + isRefreshPaused?: boolean; + filterQuery: Query; + filterManager: FilterManager; + filters: Filter[]; + onRefresh: VoidFunction; + onChangedQuery?: (query: Query) => void; + onChangedDateRange?: (dateRange?: TimeRange) => void; + onSubmitQuery: (query: Query, timefilter?: SavedQueryTimeFilter) => void; + onSubmitDateRange: (dateRange?: TimeRange) => void; + refreshInterval?: number; + savedQuery?: SavedQuery; + onSavedQuery: (savedQuery: SavedQuery | undefined) => void; + displayStyle?: SearchBarProps['displayStyle']; +} + +export const INDICATOR_FILTER_DROP_AREA = 'indicator-filter-drop-area'; + +export const QueryBar = memo( + ({ + dateRangeFrom, + dateRangeTo, + hideSavedQuery = false, + indexPatterns, + isLoading = false, + isRefreshPaused, + filterQuery, + filterManager, + filters, + refreshInterval, + savedQuery, + dataTestSubj, + displayStyle, + onChangedQuery, + onSubmitQuery, + onChangedDateRange, + onSubmitDateRange, + onSavedQuery, + onRefresh, + }) => { + const onQuerySubmit = useCallback( + ({ query, dateRange }: QueryPayload) => { + if (isQuery(query) && !deepEqual(query, filterQuery)) { + onSubmitQuery(query); + } + + if (dateRange != null) { + onSubmitDateRange(dateRange); + } + }, + [filterQuery, onSubmitDateRange, onSubmitQuery] + ); + + const onQueryChange = useCallback( + ({ query, dateRange }: QueryPayload) => { + if (!onChangedQuery) { + return; + } + + if (isQuery(query) && !deepEqual(query, filterQuery)) { + onChangedQuery(query); + } + + if (onChangedDateRange && dateRange != null) { + onChangedDateRange(dateRange); + } + }, + [filterQuery, onChangedDateRange, onChangedQuery] + ); + + const onSavedQueryUpdated = useCallback( + (savedQueryUpdated: SavedQuery) => { + const { query: newQuery, filters: newFilters, timefilter } = savedQueryUpdated.attributes; + onSubmitQuery(newQuery, timefilter); + filterManager.setFilters(newFilters || []); + onSavedQuery(savedQueryUpdated); + }, + [filterManager, onSubmitQuery, onSavedQuery] + ); + + const onClearSavedQuery = useCallback(() => { + if (savedQuery != null) { + onSubmitQuery({ + query: '', + language: savedQuery.attributes.query.language, + }); + filterManager.setFilters([]); + onSavedQuery(undefined); + } + }, [filterManager, onSubmitQuery, onSavedQuery, savedQuery]); + + const onFiltersUpdated = useCallback( + (newFilters: Filter[]) => filterManager.setFilters(newFilters), + [filterManager] + ); + + const timeHistory = useMemo(() => new TimeHistory(new Storage(localStorage)), []); + + return ( + + ); + } +); + +QueryBar.displayName = 'QueryBar'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/index.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/index.ts new file mode 100644 index 00000000000000..d24069f8a04ab9 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/index.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './use_filters'; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/use_filters.test.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/use_filters.test.ts new file mode 100644 index 00000000000000..6d74dc7f3e48ee --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/use_filters.test.ts @@ -0,0 +1,163 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { mockUseKibanaForFilters } from '../../../../common/mocks/mock_use_kibana_for_filters'; +import { renderHook, act, RenderHookResult, Renderer } from '@testing-library/react-hooks'; +import { useFilters, UseFiltersValue } from './use_filters'; + +import { useHistory, useLocation } from 'react-router-dom'; +import { Filter } from '@kbn/es-query'; + +jest.mock('react-router-dom', () => ({ + useLocation: jest.fn().mockReturnValue({ + search: '', + }), + useHistory: jest.fn().mockReturnValue({ replace: jest.fn() }), +})); + +describe('useFilters()', () => { + let hookResult: RenderHookResult>; + let mockRef: ReturnType; + + const renderUseFiltersHook = async () => { + await act(async () => { + hookResult = renderHook(() => useFilters()); + }); + }; + + describe('when mounted', () => { + beforeEach(async () => { + mockRef = mockUseKibanaForFilters(); + + await renderUseFiltersHook(); + }); + + it('should try to fetch available fields', () => { + expect(mockRef.getFieldsForWildcard).toHaveBeenCalled(); + }); + + it('should have valid initial filterQuery value', () => { + expect(hookResult.result.current.filterQuery).toMatchObject({ language: 'kuery', query: '' }); + }); + + describe('when query string is populated', () => { + it('should try to compute the initial state based on query string', async () => { + (useLocation as jest.Mock).mockReturnValue({ + search: + '?indicators=(filterQuery:(language:kuery,query:%27threat.indicator.type%20:%20"file"%20%27),filters:!(),timeRange:(from:now/d,to:now/d))', + }); + + await renderUseFiltersHook(); + + expect(hookResult.result.current.filterQuery).toMatchObject({ + language: 'kuery', + query: 'threat.indicator.type : "file" ', + }); + }); + }); + }); + + describe('when filter values change', () => { + const historyReplace = jest.fn(); + beforeEach(async () => { + mockRef = mockUseKibanaForFilters(); + + await renderUseFiltersHook(); + + (useHistory as jest.Mock).mockReturnValue({ replace: historyReplace }); + + historyReplace.mockClear(); + }); + + describe('when filters change', () => { + it('should update history entry', async () => { + const newFilterEntry = { query: { filter: 'new_filter' }, meta: {} }; + + // Make sure new filter value is returned from filter manager before signalling an update + // to subscribers + mockRef.getFilters.mockReturnValue([newFilterEntry] as Filter[]); + + // Emit the filterManager update to see how it propagates to local component state + await act(async () => { + mockRef.$filterUpdates.next(void 0); + }); + + // Internally, filters should be loaded from filterManager + expect(mockRef.getFilters).toHaveBeenCalled(); + + // Serialized into browser query string + expect(historyReplace).toHaveBeenCalledWith( + expect.objectContaining({ search: expect.stringMatching(/new_filter/) }) + ); + + // And updated in local hook state + expect(hookResult.result.current.filters).toContain(newFilterEntry); + }); + }); + + describe('when time range changes', () => { + const newTimeRange = { from: 'dawnOfTime', to: 'endOfTime' }; + + const updateTime = async () => { + // After new time range is selected + await act(async () => { + hookResult.result.current.handleSubmitTimeRange(newTimeRange); + }); + }; + + it('should update its local state', async () => { + expect(hookResult.result.current.timeRange).toBeDefined(); + expect(hookResult.result.current.timeRange).not.toEqual(newTimeRange); + + // After new time range is selected + await updateTime(); + + // Local filter state should be updated + expect(hookResult.result.current.timeRange).toEqual(newTimeRange); + }); + + it('should update history entry', async () => { + expect(historyReplace).not.toHaveBeenCalledWith( + expect.objectContaining({ search: expect.stringMatching(/dawnOfTime/) }) + ); + + // After new time range is selected + await updateTime(); + + // Query string should be updated + expect(historyReplace).toHaveBeenCalledWith( + expect.objectContaining({ search: expect.stringMatching(/dawnOfTime/) }) + ); + }); + }); + + describe('when filterQuery changes', () => { + beforeEach(async () => { + // After new time range is selected + await act(async () => { + hookResult.result.current.handleSubmitQuery({ + query: 'threat.indicator.type : *', + language: 'kuery', + }); + }); + }); + + it('should update history entry', async () => { + expect(historyReplace).toHaveBeenCalledWith( + expect.objectContaining({ search: expect.stringMatching(/threat\.indicator\.type/) }) + ); + }); + + it('should update local state', () => { + expect(hookResult.result.current.filterQuery).toMatchObject({ + language: 'kuery', + query: 'threat.indicator.type : *', + }); + }); + }); + }); +}); diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/use_filters.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/use_filters.ts new file mode 100644 index 00000000000000..75fb2c1ed911a7 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/use_filters.ts @@ -0,0 +1,150 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { DataViewBase, Filter, Query, TimeRange } from '@kbn/es-query'; +import { useCallback, useEffect, useMemo, useState } from 'react'; +import { useHistory, useLocation } from 'react-router-dom'; +import deepEqual from 'fast-deep-equal'; +import useAsync from 'react-use/lib/useAsync'; +import type { FilterManager, SavedQuery } from '@kbn/data-plugin/public'; +import { DataView } from '@kbn/data-views-plugin/common'; +import { DEFAULT_THREAT_INDEX_KEY } from '../../../../../common/constants'; +import { useKibana } from '../../../../hooks/use_kibana'; +import { + DEFAULT_QUERY, + DEFAULT_TIME_RANGE, + encodeState, + FILTERS_QUERYSTRING_NAMESPACE, + stateFromQueryParams, +} from './utils'; + +export interface UseFiltersValue { + timeRange?: TimeRange; + indexPatterns: DataView[]; + filters: Filter[]; + filterQuery: Query; + handleSavedQuery: (savedQuery: SavedQuery | undefined) => void; + handleSubmitTimeRange: (timeRange?: TimeRange) => void; + handleSubmitQuery: (filterQuery: Query) => void; + filterManager: FilterManager; + savedQuery?: SavedQuery; +} + +/** + * Custom react hook housing logic for KQL bar + * @returns Filters and TimeRange for use with KQL bar + */ +export const useFilters = (): UseFiltersValue => { + const { pathname: browserPathName, search } = useLocation(); + const history = useHistory(); + const [savedQuery, setSavedQuery] = useState(undefined); + + const { + services: { + data: { + query: { filterManager }, + }, + dataViews, + uiSettings, + }, + } = useKibana(); + + const indexNames = useMemo(() => uiSettings.get(DEFAULT_THREAT_INDEX_KEY), [uiSettings]); + + const dynamicIndexPatternsAsyncState = useAsync(async (): Promise => { + if (indexNames.length === 0) { + return []; + } + + return [ + { + title: indexNames.join(','), + fields: await dataViews.getFieldsForWildcard({ + pattern: indexNames.join(','), + allowNoIndex: true, + }), + }, + ]; + }, [indexNames]); + + const indexPatterns = useMemo( + () => + dynamicIndexPatternsAsyncState.value?.map((dynamicIndexPattern) => ({ + title: dynamicIndexPattern.title ?? '', + id: dynamicIndexPattern.id ?? '', + fields: dynamicIndexPattern.fields, + })) || [], + [dynamicIndexPatternsAsyncState.value] + ) as DataView[]; + + // Filters are picked using the UI widgets + const [filters, setFilters] = useState([]); + + // Time range is self explanatory + const [timeRange, setTimeRange] = useState(DEFAULT_TIME_RANGE); + + // filterQuery is raw kql query that user can type in to filter results + const [filterQuery, setFilterQuery] = useState(DEFAULT_QUERY); + + // Serialize filters into query string + useEffect(() => { + const filterStateAsString = encodeState({ filters, filterQuery, timeRange }); + + if (!deepEqual(filterManager.getFilters(), filters)) { + filterManager.setFilters(filters); + } + + history.replace({ + pathname: browserPathName, + search: `${FILTERS_QUERYSTRING_NAMESPACE}=${filterStateAsString}`, + }); + }, [browserPathName, filterManager, filterQuery, filters, history, timeRange]); + + // Sync filterManager to local state (after they are changed from the ui) + useEffect(() => { + const subscription = filterManager.getUpdates$().subscribe(() => { + setFilters(filterManager.getFilters()); + }); + + return () => subscription.unsubscribe(); + }, [filterManager]); + + // Update local state with filter values from the url (on initial mount) + useEffect(() => { + const { + filters: filtersFromQuery, + timeRange: timeRangeFromQuery, + filterQuery: filterQueryFromQuery, + } = stateFromQueryParams(search); + + setTimeRange(timeRangeFromQuery); + setFilterQuery(filterQueryFromQuery); + setFilters(filtersFromQuery); + + // We only want to have it done on initial render with initial 'search' value; + // that is why 'search' is ommited from the deps array + + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [filterManager]); + + const onSavedQuery = useCallback( + (newSavedQuery: SavedQuery | undefined) => setSavedQuery(newSavedQuery), + [] + ); + + return { + timeRange, + indexPatterns, + filters, + filterQuery, + handleSavedQuery: onSavedQuery, + handleSubmitTimeRange: setTimeRange, + handleSubmitQuery: setFilterQuery, + filterManager, + savedQuery, + }; +}; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/utils.test.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/utils.test.ts new file mode 100644 index 00000000000000..df0bffa1c85f1c --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/utils.test.ts @@ -0,0 +1,68 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { stateFromQueryParams } from './utils'; + +describe('encodeState()', () => {}); + +describe('stateFromQueryParams()', () => { + it('should return valid state object from invalid query', () => { + expect(stateFromQueryParams('')).toMatchObject({ + filterQuery: expect.any(Object), + timeRange: expect.any(Object), + filters: expect.any(Array), + }); + }); + + it('should return valid state when indicators fields is invalid', () => { + expect(stateFromQueryParams('?indicators=')).toMatchObject({ + filterQuery: expect.any(Object), + timeRange: expect.any(Object), + filters: expect.any(Array), + }); + }); + + it('should deserialize valid query state', () => { + expect( + stateFromQueryParams( + '?indicators=(filterQuery:(language:kuery,query:%27threat.indicator.type%20:%20"file"%20or%20threat.indicator.type%20:%20"url"%20%27),filters:!((%27$state%27:(store:appState),meta:(alias:!n,disabled:!f,index:%27%27,key:_id,negate:!f,type:exists,value:exists),query:(exists:(field:_id)))),timeRange:(from:now-1y/d,to:now))' + ) + ).toMatchInlineSnapshot(` + Object { + "filterQuery": Object { + "language": "kuery", + "query": "threat.indicator.type : \\"file\\" or threat.indicator.type : \\"url\\" ", + }, + "filters": Array [ + Object { + "$state": Object { + "store": "appState", + }, + "meta": Object { + "alias": null, + "disabled": false, + "index": "", + "key": "_id", + "negate": false, + "type": "exists", + "value": "exists", + }, + "query": Object { + "exists": Object { + "field": "_id", + }, + }, + }, + ], + "timeRange": Object { + "from": "now-1y/d", + "to": "now", + }, + } + `); + }); +}); diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/utils.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/utils.ts new file mode 100644 index 00000000000000..f020367ff3cb17 --- /dev/null +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_filters/utils.ts @@ -0,0 +1,73 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { Filter, Query, TimeRange } from '@kbn/es-query'; +import { parse } from 'query-string'; +import { decode, encode } from 'rison-node'; + +export const FILTERS_QUERYSTRING_NAMESPACE = 'indicators'; + +export const DEFAULT_TIME_RANGE = { from: 'now/d', to: 'now/d' }; + +export const DEFAULT_QUERY: Readonly = { query: '', language: 'kuery' }; + +const INITIAL_FILTERS_STATE: Readonly = { + filters: [], + timeRange: DEFAULT_TIME_RANGE, + filterQuery: DEFAULT_QUERY, +}; + +interface SerializableFilterState { + timeRange?: TimeRange; + filterQuery: Query; + filters: Filter[]; +} + +/** + * Converts filter state to query string + * @param filterState Serializable filter state to convert into query string + * @returns + */ +export const encodeState = (filterState: SerializableFilterState): string => + encode(filterState as any); + +/** + * + * @param encodedFilterState Serialized filter state to decode + * @returns + */ +const decodeState = (encodedFilterState: string): SerializableFilterState | null => + decode(encodedFilterState) as unknown as SerializableFilterState; + +/** + * Find and convert filter state stored within query string into object literal + * @param searchString Brower query string containing encoded filter information, within single query field + * @returns SerializableFilterState with all the relevant fields ready to use + */ +export const stateFromQueryParams = (searchString: string): SerializableFilterState => { + const { [FILTERS_QUERYSTRING_NAMESPACE]: filtersSerialized } = parse(searchString); + + if (!filtersSerialized) { + return INITIAL_FILTERS_STATE; + } + + if (Array.isArray(filtersSerialized)) { + throw new Error('serialized filters should not be an array'); + } + + const deserializedFilters = decodeState(filtersSerialized); + + if (!deserializedFilters) { + return INITIAL_FILTERS_STATE; + } + + return { + ...INITIAL_FILTERS_STATE, + ...deserializedFilters, + timeRange: deserializedFilters.timeRange || DEFAULT_TIME_RANGE, + }; +}; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_indicators.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_indicators.test.tsx index 37aecb056b4700..26ac398bfddc18 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_indicators.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_indicators.test.tsx @@ -6,7 +6,7 @@ */ import { renderHook, act } from '@testing-library/react-hooks'; -import { useIndicators, RawIndicatorsResponse } from './use_indicators'; +import { useIndicators, RawIndicatorsResponse, UseIndicatorsParams } from './use_indicators'; import { BehaviorSubject, throwError } from 'rxjs'; import { IKibanaSearchResponse } from '@kbn/data-plugin/common'; import { mockSearchService } from '../../../common/mocks/mock_kibana_search_service'; @@ -16,6 +16,11 @@ jest.mock('../../../hooks/use_kibana'); const indicatorsResponse = { rawResponse: { hits: { hits: [], total: 0 } } }; +const useIndicatorsParams: UseIndicatorsParams = { + filters: [], + filterQuery: { query: '', language: 'kuery' }, +}; + describe('useIndicators()', () => { let mockSearch: ReturnType; @@ -25,7 +30,7 @@ describe('useIndicators()', () => { }); beforeEach(async () => { - renderHook(() => useIndicators()); + renderHook(() => useIndicators(useIndicatorsParams)); }); it('should query the database for threat indicators', async () => { @@ -37,11 +42,68 @@ describe('useIndicators()', () => { }); }); + describe('when filters change', () => { + beforeEach(() => { + mockSearch = mockSearchService(new BehaviorSubject(indicatorsResponse)); + }); + + it('should query the database again and reset page to 0', async () => { + const hookResult = renderHook((props) => useIndicators(props), { + initialProps: useIndicatorsParams, + }); + + expect(mockSearch.search).toHaveBeenCalledTimes(1); + expect(mockSearch.search).toHaveBeenLastCalledWith( + expect.objectContaining({ + params: expect.objectContaining({ body: expect.objectContaining({ from: 0 }) }), + }), + expect.objectContaining({ + abortSignal: expect.any(AbortSignal), + }) + ); + + // Change page + await act(async () => hookResult.result.current.onChangePage(42)); + + expect(mockSearch.search).toHaveBeenLastCalledWith( + expect.objectContaining({ + params: expect.objectContaining({ body: expect.objectContaining({ from: 42 * 25 }) }), + }), + expect.objectContaining({ + abortSignal: expect.any(AbortSignal), + }) + ); + + expect(mockSearch.search).toHaveBeenCalledTimes(2); + + // Change filters + act(() => + hookResult.rerender({ + ...useIndicatorsParams, + filterQuery: { language: 'kuery', query: "threat.indicator.type: 'file'" }, + }) + ); + + // From range should be reset to 0 + expect(mockSearch.search).toHaveBeenCalledTimes(3); + expect(mockSearch.search).toHaveBeenLastCalledWith( + expect.objectContaining({ + params: expect.objectContaining({ body: expect.objectContaining({ from: 0 }) }), + }), + expect.objectContaining({ + abortSignal: expect.any(AbortSignal), + }) + ); + }); + }); + describe('when query fails', () => { beforeEach(async () => { mockSearch = mockSearchService(throwError(() => new Error('some random error'))); - renderHook(() => useIndicators()); + renderHook((props) => useIndicators(props), { + initialProps: useIndicatorsParams, + }); }); it('should show an error', async () => { @@ -75,8 +137,9 @@ describe('useIndicators()', () => { }); it('should call mapping function on every hit', async () => { - const { result } = renderHook(() => useIndicators()); - + const { result } = renderHook((props) => useIndicators(props), { + initialProps: useIndicatorsParams, + }); expect(result.current.indicatorCount).toEqual(1); }); }); @@ -92,7 +155,7 @@ describe('useIndicators()', () => { describe('when page changes', () => { it('should run the query again with pagination parameters', async () => { - const { result } = renderHook(() => useIndicators()); + const { result } = renderHook(() => useIndicators(useIndicatorsParams)); await act(async () => { result.current.onChangePage(42); @@ -129,13 +192,13 @@ describe('useIndicators()', () => { describe('when page size changes', () => { it('should fetch the first page and update internal page size', async () => { - const { result } = renderHook(() => useIndicators()); + const { result } = renderHook(() => useIndicators(useIndicatorsParams)); await act(async () => { result.current.onChangeItemsPerPage(50); }); - expect(mockSearch.search).toHaveBeenCalledTimes(2); + expect(mockSearch.search).toHaveBeenCalledTimes(3); expect(mockSearch.search).toHaveBeenCalledWith( expect.objectContaining({ diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_indicators.ts b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_indicators.ts index 11d373ff98f19f..3b4cfc92f1a83c 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_indicators.ts +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_indicators.ts @@ -11,8 +11,9 @@ import { isCompleteResponse, isErrorResponse, } from '@kbn/data-plugin/common'; -import { useCallback, useEffect, useRef, useState } from 'react'; -import { Subscription } from 'rxjs'; +import { useCallback, useEffect, useMemo, useRef, useState } from 'react'; +import type { Subscription } from 'rxjs'; +import { buildEsQuery, Filter, Query, TimeRange } from '@kbn/es-query'; import { Indicator } from '../../../../common/types/indicator'; import { useKibana } from '../../../hooks/use_kibana'; import { DEFAULT_THREAT_INDEX_KEY } from '../../../../common/constants'; @@ -21,14 +22,21 @@ const PAGE_SIZES = [10, 25, 50]; export const DEFAULT_PAGE_SIZE = PAGE_SIZES[1]; +export interface UseIndicatorsParams { + filterQuery: Query; + filters: Filter[]; + timeRange?: TimeRange; +} + export interface UseIndicatorsValue { - loadData: (from: number, size: number) => void; + handleRefresh: () => void; indicators: Indicator[]; indicatorCount: number; pagination: Pagination; onChangeItemsPerPage: (value: number) => void; onChangePage: (value: number) => void; firstLoad: boolean; + loading: boolean; } export interface RawIndicatorsResponse { @@ -44,22 +52,31 @@ interface Pagination { pageSizeOptions: number[]; } -export const useIndicators = (): UseIndicatorsValue => { +const THREAT_QUERY_BASE = 'event.type: indicator and event.category : threat'; + +export const useIndicators = ({ + filters, + filterQuery, + timeRange, +}: UseIndicatorsParams): UseIndicatorsValue => { const { services: { data: { search: searchService }, uiSettings, }, } = useKibana(); + const defaultThreatIndices = useMemo( + () => uiSettings.get(DEFAULT_THREAT_INDEX_KEY), + [uiSettings] + ); - const defaultThreatIndices = uiSettings.get(DEFAULT_THREAT_INDEX_KEY); - - const searchSubscription$ = useRef(new Subscription()); + const searchSubscription$ = useRef(); const abortController = useRef(new AbortController()); const [indicators, setIndicators] = useState([]); const [indicatorCount, setIndicatorCount] = useState(0); const [firstLoad, setFirstLoad] = useState(true); + const [loading, setLoading] = useState(true); const [pagination, setPagination] = useState({ pageIndex: 0, @@ -67,10 +84,44 @@ export const useIndicators = (): UseIndicatorsValue => { pageSizeOptions: PAGE_SIZES, }); - const refresh = useCallback( + const queryToExecute = useMemo( + () => + buildEsQuery( + undefined, + [ + { + query: THREAT_QUERY_BASE, + language: 'kuery', + }, + { + query: filterQuery.query as string, + language: 'kuery', + }, + ], + [ + ...filters, + { + query: { + range: { + ['@timestamp']: { + gte: timeRange?.from, + lte: timeRange?.to, + }, + }, + }, + meta: {}, + }, + ] + ), + [filterQuery, filters, timeRange?.from, timeRange?.to] + ); + + const loadData = useCallback( async (from: number, size: number) => { abortController.current = new AbortController(); + setLoading(true); + searchSubscription$.current = searchService .search>( { @@ -80,26 +131,7 @@ export const useIndicators = (): UseIndicatorsValue => { size, from, fields: [{ field: '*', include_unmapped: true }], - query: { - bool: { - must: [ - { - term: { - 'event.category': { - value: 'threat', - }, - }, - }, - { - term: { - 'event.type': { - value: 'indicator', - }, - }, - }, - ], - }, - }, + query: queryToExecute, }, }, }, @@ -113,22 +145,24 @@ export const useIndicators = (): UseIndicatorsValue => { setIndicatorCount(response.rawResponse.hits.total || 0); if (isCompleteResponse(response)) { - searchSubscription$.current.unsubscribe(); + searchSubscription$.current?.unsubscribe(); } else if (isErrorResponse(response)) { - searchSubscription$.current.unsubscribe(); + searchSubscription$.current?.unsubscribe(); } setFirstLoad(false); + setLoading(false); }, error: (msg) => { searchService.showError(msg); - searchSubscription$.current.unsubscribe(); + searchSubscription$.current?.unsubscribe(); setFirstLoad(false); + setLoading(false); }, }); }, - [defaultThreatIndices, searchService] + [queryToExecute, defaultThreatIndices, searchService] ); const onChangeItemsPerPage = useCallback( @@ -139,32 +173,38 @@ export const useIndicators = (): UseIndicatorsValue => { pageIndex: 0, })); - refresh(0, pageSize); + loadData(0, pageSize); }, - [refresh, setPagination] + [loadData] ); const onChangePage = useCallback( async (pageIndex) => { setPagination((currentPagination) => ({ ...currentPagination, pageIndex })); - refresh(pageIndex * pagination.pageSize, pagination.pageSize); + loadData(pageIndex * pagination.pageSize, pagination.pageSize); }, - [pagination.pageSize, refresh] + [loadData, pagination.pageSize] ); + const handleRefresh = useCallback(() => { + onChangePage(0); + }, [onChangePage]); + + // Initial data load (on mount) useEffect(() => { - refresh(0, DEFAULT_PAGE_SIZE); + handleRefresh(); return () => abortController.current.abort(); - }, [refresh]); + }, [handleRefresh]); return { - loadData: refresh, indicators, indicatorCount, pagination, onChangePage, onChangeItemsPerPage, firstLoad, + loading, + handleRefresh, }; }; diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_indicators_total_count.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_indicators_total_count.tsx index 44e1644302c182..04c057c6a4eac2 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_indicators_total_count.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/hooks/use_indicators_total_count.tsx @@ -23,7 +23,7 @@ export const useIndicatorsTotalCount = () => { }, } = useKibana(); const [count, setCount] = useState(0); - const [isLoading, setIsLoading] = useState(false); + const [isLoading, setIsLoading] = useState(true); useEffect(() => { const defaultThreatIndex = uiSettings.get(DEFAULT_THREAT_INDEX_KEY); @@ -57,7 +57,6 @@ export const useIndicatorsTotalCount = () => { }, }; - setIsLoading(true); searchService .search>(req) .subscribe({ diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/indicators_page.test.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/indicators_page.test.tsx index aa8ae10275c402..22db02bfe5c7da 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/indicators_page.test.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/indicators_page.test.tsx @@ -15,9 +15,12 @@ import { TABLE_TEST_ID as INDICATORS_TABLE_TEST_ID } from './components/indicato import { EMPTY_PROMPT_TEST_ID } from '../../components/empty_page'; import { useIntegrationsPageLink } from '../../hooks/use_integrations_page_link'; import { useTIDocumentationLink } from '../../hooks/use_documentation_link'; +import { useFilters } from './hooks/use_filters'; jest.mock('./hooks/use_indicators'); jest.mock('./hooks/use_indicators_total_count'); +jest.mock('./hooks/use_filters'); + jest.mock('../../hooks/use_integrations_page_link'); jest.mock('../../hooks/use_documentation_link'); @@ -29,28 +32,22 @@ describe('', () => { indicators: [], indicatorCount: 0, firstLoad: false, + loading: true, pagination: { pageIndex: 0, pageSize: 10, pageSizeOptions: [10] }, onChangeItemsPerPage: stub, onChangePage: stub, - loadData: stub, + handleRefresh: stub, }); - }); - it('should render the contents without crashing', async () => { - ( - useIndicatorsTotalCount as jest.MockedFunction - ).mockReturnValue({ - count: 10, - isLoading: false, + (useFilters as jest.MockedFunction).mockReturnValue({ + filters: [], + filterQuery: { language: 'kuery', query: '' }, + filterManager: {} as any, + indexPatterns: [], + handleSavedQuery: stub, + handleSubmitQuery: stub, + handleSubmitTimeRange: stub, }); - - const { getByTestId } = render( - - - - ); - - expect(getByTestId(INDICATORS_TABLE_TEST_ID)).toBeInTheDocument(); }); it('should render empty page when no indicators are found', async () => { @@ -67,13 +64,13 @@ describe('', () => { '' ); - const { getByTestId } = render( + const { queryByTestId } = render( ); - expect(getByTestId(EMPTY_PROMPT_TEST_ID)).toBeInTheDocument(); + expect(queryByTestId(EMPTY_PROMPT_TEST_ID)).toBeInTheDocument(); }); it('should render indicators table when count is being loaded', async () => { @@ -84,12 +81,12 @@ describe('', () => { isLoading: true, }); - const { getByTestId } = render( + const { queryByTestId } = render( ); - expect(getByTestId(INDICATORS_TABLE_TEST_ID)).toBeInTheDocument(); + expect(queryByTestId(INDICATORS_TABLE_TEST_ID)).toBeInTheDocument(); }); }); diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/indicators_page.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/indicators_page.tsx index 225f0094c72785..b3423ae6ad3e91 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/indicators_page.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/indicators_page.tsx @@ -11,18 +11,60 @@ import { useIndicators } from './hooks/use_indicators'; import { EmptyPage } from '../../components/empty_page'; import { useIndicatorsTotalCount } from './hooks/use_indicators_total_count'; import { DefaultPageLayout } from '../../components/layout'; +import { useFilters } from './hooks/use_filters'; +import { FiltersGlobal } from '../../containers/filters_global'; +import QueryBar from './components/query_bar'; export const IndicatorsPage: VFC = () => { - const indicators = useIndicators(); const { count: indicatorsTotalCount, isLoading: isIndicatorsTotalCountLoading } = useIndicatorsTotalCount(); const showEmptyPage = !isIndicatorsTotalCountLoading && indicatorsTotalCount === 0; + const { + timeRange, + indexPatterns, + filters, + filterManager, + filterQuery, + handleSubmitQuery, + handleSubmitTimeRange, + handleSavedQuery, + savedQuery, + } = useFilters(); + + const { handleRefresh, ...indicators } = useIndicators({ + filters, + filterQuery, + timeRange, + }); + return showEmptyPage ? ( ) : ( - + + + + + ); }; + +// Note: This is for lazy loading +// eslint-disable-next-line import/no-default-export +export default IndicatorsPage; diff --git a/x-pack/plugins/threat_intelligence/public/plugin.tsx b/x-pack/plugins/threat_intelligence/public/plugin.tsx index 99b028601575f5..fb93ae824556a5 100755 --- a/x-pack/plugins/threat_intelligence/public/plugin.tsx +++ b/x-pack/plugins/threat_intelligence/public/plugin.tsx @@ -5,34 +5,67 @@ * 2.0. */ -import React from 'react'; -import { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; -import { KibanaContextProvider } from '@kbn/kibana-react-plugin/public'; -import { IndicatorsPage } from './modules/indicators/indicators_page'; +import { CoreStart, Plugin } from '@kbn/core/public'; +import { Storage } from '@kbn/kibana-utils-plugin/public'; +import React, { Suspense } from 'react'; +import { __IntlProvider as IntlProvider } from '@kbn/i18n-react'; +import { KibanaContextProvider } from './hooks/use_kibana'; import { + Services, ThreatIntelligencePluginSetup, ThreatIntelligencePluginStart, ThreatIntelligencePluginStartDeps, + ThreatIntelligenceSecuritySolutionContext, } from './types'; +import { SecuritySolutionContext } from './containers/security_solution_context'; -const createAppComponent = (services: CoreStart) => { - return () => ( - - - - ); -}; +interface AppProps { + securitySolutionContext: ThreatIntelligenceSecuritySolutionContext; +} + +const LazyIndicatorsPage = React.lazy(() => import('./modules/indicators/indicators_page')); + +/** + * This is used here: + * x-pack/plugins/security_solution/public/threat_intelligence/pages/threat_intelligence.tsx + */ +export const createApp = + (services: Services) => + () => + ({ securitySolutionContext }: AppProps) => + ( + + + + }> + + + + + + ); export class ThreatIntelligencePlugin implements Plugin { - public setup(core: CoreSetup): ThreatIntelligencePluginSetup { + public async setup(): Promise { return {}; } + public start( core: CoreStart, plugins: ThreatIntelligencePluginStartDeps ): ThreatIntelligencePluginStart { - const App = createAppComponent({ ...core, ...plugins }); - return { getComponent: () => App }; + const localPluginServices = { + storage: new Storage(localStorage), + }; + + const services = { + ...localPluginServices, + ...core, + ...plugins, + } as Services; + + return { getComponent: createApp(services) }; } + public stop() {} } diff --git a/x-pack/plugins/threat_intelligence/public/types.ts b/x-pack/plugins/threat_intelligence/public/types.ts index 0def26c6c9f194..6620f31120667c 100644 --- a/x-pack/plugins/threat_intelligence/public/types.ts +++ b/x-pack/plugins/threat_intelligence/public/types.ts @@ -5,19 +5,31 @@ * 2.0. */ -import { VFC } from 'react'; +import { ComponentType, ReactElement, ReactNode } from 'react'; import { CoreStart } from '@kbn/core/public'; import { DataPublicPluginStart } from '@kbn/data-plugin/public'; - -export type Services = { data: DataPublicPluginStart } & CoreStart; +import { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public'; +import { Storage } from '@kbn/kibana-utils-plugin/public'; // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface ThreatIntelligencePluginSetup {} export interface ThreatIntelligencePluginStart { - getComponent: () => VFC; + getComponent: () => (props: { + securitySolutionContext: ThreatIntelligenceSecuritySolutionContext; + }) => ReactElement; } export interface ThreatIntelligencePluginStartDeps { data: DataPublicPluginStart; } + +export type Services = { + data: DataPublicPluginStart; + storage: Storage; + dataViews: DataViewsPublicPluginStart; +} & CoreStart; + +export interface ThreatIntelligenceSecuritySolutionContext { + getFiltersGlobalComponent: () => ComponentType<{ children: ReactNode }>; +} diff --git a/x-pack/plugins/threat_intelligence/tsconfig.json b/x-pack/plugins/threat_intelligence/tsconfig.json index a103b53ab48611..28b8567c6f995a 100644 --- a/x-pack/plugins/threat_intelligence/tsconfig.json +++ b/x-pack/plugins/threat_intelligence/tsconfig.json @@ -15,6 +15,7 @@ ], "references": [ { "path": "../../../src/core/tsconfig.json" }, - { "path": "../../../src/plugins/data/tsconfig.json" } + { "path": "../../../src/plugins/data/tsconfig.json" }, + { "path": "../../../src/plugins/unified_search/tsconfig.json" } ] } diff --git a/x-pack/test/threat_intelligence_cypress/visual_config.ts b/x-pack/test/threat_intelligence_cypress/visual_config.ts index bbd487a08b8e2c..57844f405657c3 100644 --- a/x-pack/test/threat_intelligence_cypress/visual_config.ts +++ b/x-pack/test/threat_intelligence_cypress/visual_config.ts @@ -10,9 +10,9 @@ import { FtrConfigProviderContext } from '@kbn/test'; import { ThreatIntelligenceCypressVisualTestRunner } from './runner'; export default async function ({ readConfigFile }: FtrConfigProviderContext) { - const securitySolutionCypressConfig = await readConfigFile(require.resolve('./config.ts')); + const tiCypressConfig = await readConfigFile(require.resolve('./config.ts')); return { - ...securitySolutionCypressConfig.getAll(), + ...tiCypressConfig.getAll(), testRunner: ThreatIntelligenceCypressVisualTestRunner, }; From e264a7f406c94a8aec7b1890d64ec8fea3f2f36c Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 1 Aug 2022 07:17:33 -0500 Subject: [PATCH 20/37] update versions.json --- versions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.json b/versions.json index 4472f5ca75f10e..0a3bd4225a7133 100644 --- a/versions.json +++ b/versions.json @@ -14,7 +14,7 @@ "previousMinor": true }, { - "version": "8.3.3", + "version": "8.3.4", "branch": "8.3", "currentMajor": true }, From db882a06d689c94d68ffce66d69e9533c2fb24f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Louv-Jansen?= Date: Mon, 1 Aug 2022 15:16:04 +0200 Subject: [PATCH 21/37] [APM] Improve synthtrace environment (#137697) --- .../src/lib/utils/get_synthtrace_environment.ts | 13 +++++++++++++ .../src/scenarios/aws_lambda.ts | 3 ++- .../src/scenarios/low_throughput.ts | 3 ++- .../src/scenarios/many_services.ts | 4 +++- .../src/scenarios/simple_trace.ts | 3 ++- .../src/scenarios/span_links.ts | 3 ++- 6 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 packages/elastic-apm-synthtrace/src/lib/utils/get_synthtrace_environment.ts diff --git a/packages/elastic-apm-synthtrace/src/lib/utils/get_synthtrace_environment.ts b/packages/elastic-apm-synthtrace/src/lib/utils/get_synthtrace_environment.ts new file mode 100644 index 00000000000000..b7456be994b8b9 --- /dev/null +++ b/packages/elastic-apm-synthtrace/src/lib/utils/get_synthtrace_environment.ts @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import path from 'path'; + +export function getSynthtraceEnvironment(filename: string) { + return `Synthtrace: ${path.parse(filename).name}`; +} diff --git a/packages/elastic-apm-synthtrace/src/scenarios/aws_lambda.ts b/packages/elastic-apm-synthtrace/src/scenarios/aws_lambda.ts index 60d006b48340ee..fb872afa443453 100644 --- a/packages/elastic-apm-synthtrace/src/scenarios/aws_lambda.ts +++ b/packages/elastic-apm-synthtrace/src/scenarios/aws_lambda.ts @@ -11,8 +11,9 @@ import { ApmFields } from '../lib/apm/apm_fields'; import { Scenario } from '../cli/scenario'; import { getLogger } from '../cli/utils/get_common_services'; import { RunOptions } from '../cli/utils/parse_run_cli_flags'; +import { getSynthtraceEnvironment } from '../lib/utils/get_synthtrace_environment'; -const ENVIRONMENT = __filename; +const ENVIRONMENT = getSynthtraceEnvironment(__filename); const scenario: Scenario = async (runOptions: RunOptions) => { const logger = getLogger(runOptions); diff --git a/packages/elastic-apm-synthtrace/src/scenarios/low_throughput.ts b/packages/elastic-apm-synthtrace/src/scenarios/low_throughput.ts index 0c4ff32418f9a4..086fe9de5a027f 100644 --- a/packages/elastic-apm-synthtrace/src/scenarios/low_throughput.ts +++ b/packages/elastic-apm-synthtrace/src/scenarios/low_throughput.ts @@ -13,8 +13,9 @@ import { Instance } from '../lib/apm/instance'; import { Scenario } from '../cli/scenario'; import { getLogger } from '../cli/utils/get_common_services'; import { RunOptions } from '../cli/utils/parse_run_cli_flags'; +import { getSynthtraceEnvironment } from '../lib/utils/get_synthtrace_environment'; -const ENVIRONMENT = __filename; +const ENVIRONMENT = getSynthtraceEnvironment(__filename); const scenario: Scenario = async (runOptions: RunOptions) => { const logger = getLogger(runOptions); diff --git a/packages/elastic-apm-synthtrace/src/scenarios/many_services.ts b/packages/elastic-apm-synthtrace/src/scenarios/many_services.ts index fbc73f58303f14..7651b0328c9af2 100644 --- a/packages/elastic-apm-synthtrace/src/scenarios/many_services.ts +++ b/packages/elastic-apm-synthtrace/src/scenarios/many_services.ts @@ -7,14 +7,16 @@ */ import { random } from 'lodash'; + import { apm, timerange } from '..'; import { Instance } from '../lib/apm/instance'; import { Scenario } from '../cli/scenario'; import { getLogger } from '../cli/utils/get_common_services'; import { RunOptions } from '../cli/utils/parse_run_cli_flags'; import { ApmFields } from '../lib/apm/apm_fields'; +import { getSynthtraceEnvironment } from '../lib/utils/get_synthtrace_environment'; -const ENVIRONMENT = __filename; +const ENVIRONMENT = getSynthtraceEnvironment(__filename); const scenario: Scenario = async (runOptions: RunOptions) => { const logger = getLogger(runOptions); diff --git a/packages/elastic-apm-synthtrace/src/scenarios/simple_trace.ts b/packages/elastic-apm-synthtrace/src/scenarios/simple_trace.ts index 61b3fdcdba6ca0..cccfc8becec24c 100644 --- a/packages/elastic-apm-synthtrace/src/scenarios/simple_trace.ts +++ b/packages/elastic-apm-synthtrace/src/scenarios/simple_trace.ts @@ -12,8 +12,9 @@ import { Instance } from '../lib/apm/instance'; import { Scenario } from '../cli/scenario'; import { getLogger } from '../cli/utils/get_common_services'; import { RunOptions } from '../cli/utils/parse_run_cli_flags'; +import { getSynthtraceEnvironment } from '../lib/utils/get_synthtrace_environment'; -const ENVIRONMENT = __filename; +const ENVIRONMENT = getSynthtraceEnvironment(__filename); const scenario: Scenario = async (runOptions: RunOptions) => { const logger = getLogger(runOptions); diff --git a/packages/elastic-apm-synthtrace/src/scenarios/span_links.ts b/packages/elastic-apm-synthtrace/src/scenarios/span_links.ts index af0cd17f73d42b..1f56a72570be2f 100644 --- a/packages/elastic-apm-synthtrace/src/scenarios/span_links.ts +++ b/packages/elastic-apm-synthtrace/src/scenarios/span_links.ts @@ -10,8 +10,9 @@ import { compact, shuffle } from 'lodash'; import { apm, ApmFields, EntityArrayIterable, timerange } from '..'; import { generateLongId, generateShortId } from '../lib/utils/generate_id'; import { Scenario } from '../cli/scenario'; +import { getSynthtraceEnvironment } from '../lib/utils/get_synthtrace_environment'; -const ENVIRONMENT = __filename; +const ENVIRONMENT = getSynthtraceEnvironment(__filename); function generateExternalSpanLinks() { // randomly creates external span links 0 - 10 From 30dd36b1eaa76aadbb95d93b319d06a5f3855bb8 Mon Sep 17 00:00:00 2001 From: Jonathan Buttner <56361221+jonathan-buttner@users.noreply.github.com> Date: Mon, 1 Aug 2022 09:29:28 -0400 Subject: [PATCH 22/37] [ResponseOps][Cases] Use lodash for array comparison logic (#137617) * Using lodash for array comparison logic and tests * Fixing type error * Addressing feedback --- .../plugins/cases/server/client/utils.test.ts | 179 +++++++++++++++++- x-pack/plugins/cases/server/client/utils.ts | 53 ++---- .../server/services/user_actions/index.ts | 7 +- .../services/user_actions/type_guards.test.ts | 54 ++++++ .../services/user_actions/type_guards.ts | 16 ++ 5 files changed, 269 insertions(+), 40 deletions(-) create mode 100644 x-pack/plugins/cases/server/services/user_actions/type_guards.test.ts create mode 100644 x-pack/plugins/cases/server/services/user_actions/type_guards.ts diff --git a/x-pack/plugins/cases/server/client/utils.test.ts b/x-pack/plugins/cases/server/client/utils.test.ts index 09ac6f5443a682..9c7d3e77cbd389 100644 --- a/x-pack/plugins/cases/server/client/utils.test.ts +++ b/x-pack/plugins/cases/server/client/utils.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { buildRangeFilter, constructQueryOptions, sortToSnake } from './utils'; +import { arraysDifference, buildRangeFilter, constructQueryOptions, sortToSnake } from './utils'; import { toElasticsearchQuery } from '@kbn/es-query'; import { CaseStatuses } from '../../common'; import { CaseSeverity } from '../../common/api'; @@ -489,4 +489,181 @@ describe('utils', () => { `); }); }); + + describe('arraysDifference', () => { + it('returns null if originalValue is null', () => { + expect(arraysDifference(null, [])).toBeNull(); + }); + + it('returns null if originalValue is undefined', () => { + expect(arraysDifference(undefined, [])).toBeNull(); + }); + + it('returns null if originalValue is not an array', () => { + // @ts-expect-error passing a string instead of an array + expect(arraysDifference('a string', [])).toBeNull(); + }); + + it('returns null if updatedValue is null', () => { + expect(arraysDifference([], null)).toBeNull(); + }); + + it('returns null if updatedValue is undefined', () => { + expect(arraysDifference([], undefined)).toBeNull(); + }); + + it('returns null if updatedValue is not an array', () => { + expect(arraysDifference([], 'a string' as unknown as string[])).toBeNull(); + }); + + it('returns null if the arrays are both empty', () => { + expect(arraysDifference([], [])).toBeNull(); + }); + + describe('object arrays', () => { + it('returns null if the arrays are both equal with single string', () => { + expect(arraysDifference([{ uid: 'a' }], [{ uid: 'a' }])).toBeNull(); + }); + + it('returns null if the arrays are both equal with multiple strings', () => { + expect( + arraysDifference([{ uid: 'a' }, { uid: 'b' }], [{ uid: 'a' }, { uid: 'b' }]) + ).toBeNull(); + }); + + it("returns 'b' in the added items when the updated value contains an added value", () => { + expect(arraysDifference([{ uid: 'a' }], [{ uid: 'a' }, { uid: 'b' }])) + .toMatchInlineSnapshot(` + Object { + "addedItems": Array [ + Object { + "uid": "b", + }, + ], + "deletedItems": Array [], + } + `); + }); + + it("returns 'b' in the deleted items when the updated value removes an item", () => { + expect(arraysDifference([{ uid: 'a' }, { uid: 'b' }], [{ uid: 'a' }])) + .toMatchInlineSnapshot(` + Object { + "addedItems": Array [], + "deletedItems": Array [ + Object { + "uid": "b", + }, + ], + } + `); + }); + + it("returns 'a' and 'b' in the added items when the updated value adds both", () => { + expect(arraysDifference([], [{ uid: 'a' }, { uid: 'b' }])).toMatchInlineSnapshot(` + Object { + "addedItems": Array [ + Object { + "uid": "a", + }, + Object { + "uid": "b", + }, + ], + "deletedItems": Array [], + } + `); + }); + + it("returns 'a' and 'b' in the deleted items when the updated value removes both", () => { + expect(arraysDifference([{ uid: 'a' }, { uid: 'b' }], [])).toMatchInlineSnapshot(` + Object { + "addedItems": Array [], + "deletedItems": Array [ + Object { + "uid": "a", + }, + Object { + "uid": "b", + }, + ], + } + `); + }); + + it('returns the added and deleted values if the type of objects are different', () => { + expect(arraysDifference([{ uid: 'a' }], [{ uid: 'a', hi: '1' }])).toMatchInlineSnapshot(` + Object { + "addedItems": Array [ + Object { + "hi": "1", + "uid": "a", + }, + ], + "deletedItems": Array [ + Object { + "uid": "a", + }, + ], + } + `); + }); + }); + + describe('string arrays', () => { + it('returns null if the arrays are both equal with single string', () => { + expect(arraysDifference(['a'], ['a'])).toBeNull(); + }); + + it('returns null if the arrays are both equal with multiple strings', () => { + expect(arraysDifference(['a', 'b'], ['a', 'b'])).toBeNull(); + }); + + it("returns 'b' in the added items when the updated value contains an added value", () => { + expect(arraysDifference(['a'], ['a', 'b'])).toMatchInlineSnapshot(` + Object { + "addedItems": Array [ + "b", + ], + "deletedItems": Array [], + } + `); + }); + + it("returns 'b' in the deleted items when the updated value removes an item", () => { + expect(arraysDifference(['a', 'b'], ['a'])).toMatchInlineSnapshot(` + Object { + "addedItems": Array [], + "deletedItems": Array [ + "b", + ], + } + `); + }); + + it("returns 'a' and 'b' in the added items when the updated value adds both", () => { + expect(arraysDifference([], ['a', 'b'])).toMatchInlineSnapshot(` + Object { + "addedItems": Array [ + "a", + "b", + ], + "deletedItems": Array [], + } + `); + }); + + it("returns 'a' and 'b' in the deleted items when the updated value removes both", () => { + expect(arraysDifference(['a', 'b'], [])).toMatchInlineSnapshot(` + Object { + "addedItems": Array [], + "deletedItems": Array [ + "a", + "b", + ], + } + `); + }); + }); + }); }); diff --git a/x-pack/plugins/cases/server/client/utils.ts b/x-pack/plugins/cases/server/client/utils.ts index 570bba9f4fefd8..786c0ad5829808 100644 --- a/x-pack/plugins/cases/server/client/utils.ts +++ b/x-pack/plugins/cases/server/client/utils.ts @@ -6,7 +6,7 @@ */ import { badRequest } from '@hapi/boom'; -import { get, isPlainObject } from 'lodash'; +import { get, isPlainObject, differenceWith, isEqual } from 'lodash'; import deepEqual from 'fast-deep-equal'; import { fold } from 'fp-ts/lib/Either'; import { identity } from 'fp-ts/lib/function'; @@ -313,48 +313,29 @@ export const constructQueryOptions = ({ }; }; -interface CompareArrays { - addedItems: string[]; - deletedItems: string[]; +interface CompareArrays { + addedItems: T[]; + deletedItems: T[]; } -export const compareArrays = ({ - originalValue, - updatedValue, -}: { - originalValue: string[]; - updatedValue: string[]; -}): CompareArrays => { - const result: CompareArrays = { - addedItems: [], - deletedItems: [], - }; - originalValue.forEach((origVal) => { - if (!updatedValue.includes(origVal)) { - result.deletedItems = [...result.deletedItems, origVal]; - } - }); - updatedValue.forEach((updatedVal) => { - if (!originalValue.includes(updatedVal)) { - result.addedItems = [...result.addedItems, updatedVal]; - } - }); - - return result; -}; -export const isTwoArraysDifference = ( - originalValue: unknown, - updatedValue: unknown -): CompareArrays | null => { +export const arraysDifference = ( + originalValue: T[] | undefined | null, + updatedValue: T[] | undefined | null +): CompareArrays | null => { if ( originalValue != null && updatedValue != null && Array.isArray(updatedValue) && Array.isArray(originalValue) ) { - const compObj = compareArrays({ originalValue, updatedValue }); - if (compObj.addedItems.length > 0 || compObj.deletedItems.length > 0) { - return compObj; + const addedItems = differenceWith(updatedValue, originalValue, isEqual); + const deletedItems = differenceWith(originalValue, updatedValue, isEqual); + + if (addedItems.length > 0 || deletedItems.length > 0) { + return { + addedItems, + deletedItems, + }; } } return null; @@ -374,7 +355,7 @@ export const getCaseToUpdate = ( (acc, [key, value]) => { const currentValue = get(currentCase, key); if (Array.isArray(currentValue) && Array.isArray(value)) { - if (isTwoArraysDifference(value, currentValue)) { + if (arraysDifference(value, currentValue)) { return { ...acc, [key]: value, diff --git a/x-pack/plugins/cases/server/services/user_actions/index.ts b/x-pack/plugins/cases/server/services/user_actions/index.ts index f0bdc0f44ddeae..4135352bbc6414 100644 --- a/x-pack/plugins/cases/server/services/user_actions/index.ts +++ b/x-pack/plugins/cases/server/services/user_actions/index.ts @@ -52,13 +52,14 @@ import { PUSH_CONNECTOR_ID_REFERENCE_NAME, } from '../../common/constants'; import { findConnectorIdReference } from '../transform'; -import { buildFilter, combineFilters, isTwoArraysDifference } from '../../client/utils'; +import { buildFilter, combineFilters, arraysDifference } from '../../client/utils'; import { BuilderParameters, BuilderReturnValue, CommonArguments, CreateUserAction } from './types'; import { BuilderFactory } from './builder_factory'; import { defaultSortField, isCommentRequestTypeExternalReferenceSO } from '../../common/utils'; import { PersistableStateAttachmentTypeRegistry } from '../../attachment_framework/persistable_state_registry'; import { injectPersistableReferencesToSO } from '../../attachment_framework/so_references'; import { IndexRefresh } from '../types'; +import { isStringArray } from './type_guards'; interface GetCaseUserActionArgs extends ClientArgs { caseId: string; @@ -131,9 +132,9 @@ export class CaseUserActionService { return []; } - if (field === ActionTypes.tags) { + if (field === ActionTypes.tags && isStringArray(originalValue) && isStringArray(newValue)) { const tagsUserActionBuilder = this.builderFactory.getBuilder(ActionTypes.tags); - const compareValues = isTwoArraysDifference(originalValue, newValue); + const compareValues = arraysDifference(originalValue, newValue); const userActions = []; if (compareValues && compareValues.addedItems.length > 0) { diff --git a/x-pack/plugins/cases/server/services/user_actions/type_guards.test.ts b/x-pack/plugins/cases/server/services/user_actions/type_guards.test.ts new file mode 100644 index 00000000000000..566693ec112998 --- /dev/null +++ b/x-pack/plugins/cases/server/services/user_actions/type_guards.test.ts @@ -0,0 +1,54 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { isObjectArray, isStringArray } from './type_guards'; + +describe('type_guards', () => { + describe('isStringArray', () => { + it('returns true when the value is an empty array', () => { + expect(isStringArray([])).toBeTruthy(); + }); + + it('returns true when the value is an array of a single string', () => { + expect(isStringArray(['a'])).toBeTruthy(); + }); + + it('returns true when the value is an array of multiple strings', () => { + expect(isStringArray(['a', 'b'])).toBeTruthy(); + }); + + it('returns false when the value is an array of strings and numbers', () => { + expect(isStringArray(['a', 1])).toBeFalsy(); + }); + + it('returns false when the value is an array of strings and objects', () => { + expect(isStringArray(['a', {}])).toBeFalsy(); + }); + }); + + describe('isObjectArray', () => { + it('returns true when the value is an empty array', () => { + expect(isObjectArray([])).toBeTruthy(); + }); + + it('returns true when the value is an array of a single string', () => { + expect(isObjectArray([{ a: '1' }])).toBeTruthy(); + }); + + it('returns true when the value is an array of multiple strings', () => { + expect(isObjectArray([{ a: 'a' }, { b: 'b' }])).toBeTruthy(); + }); + + it('returns false when the value is an array of strings and numbers', () => { + expect(isObjectArray([{ a: 'a' }, 1])).toBeFalsy(); + }); + + it('returns false when the value is an array of strings and objects', () => { + expect(isObjectArray(['a', {}])).toBeFalsy(); + }); + }); +}); diff --git a/x-pack/plugins/cases/server/services/user_actions/type_guards.ts b/x-pack/plugins/cases/server/services/user_actions/type_guards.ts new file mode 100644 index 00000000000000..25c9341b473632 --- /dev/null +++ b/x-pack/plugins/cases/server/services/user_actions/type_guards.ts @@ -0,0 +1,16 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { isPlainObject, isString } from 'lodash'; + +export const isStringArray = (value: unknown): value is string[] => { + return Array.isArray(value) && value.every((val) => isString(val)); +}; + +export const isObjectArray = (value: unknown): value is Array> => { + return Array.isArray(value) && value.every((val) => isPlainObject(val)); +}; From bb289cf37c6c74bc1994edc52f8fb6d1144c76af Mon Sep 17 00:00:00 2001 From: Aleh Zasypkin Date: Mon, 1 Aug 2022 16:04:16 +0200 Subject: [PATCH 23/37] Properly limit a number of suggested user profiles to the number requested by the consumer. (#137506) --- .../user_profile/user_profile_service.test.ts | 84 +++++++++++++++++++ .../user_profile/user_profile_service.ts | 4 +- .../server/init_routes.ts | 2 + .../tests/user_profiles/get_current.ts | 8 +- .../tests/user_profiles/suggest.ts | 66 +++++++++++++++ 5 files changed, 159 insertions(+), 5 deletions(-) diff --git a/x-pack/plugins/security/server/user_profile/user_profile_service.test.ts b/x-pack/plugins/security/server/user_profile/user_profile_service.test.ts index bdfc8455aca2c0..c11b1fe85da573 100644 --- a/x-pack/plugins/security/server/user_profile/user_profile_service.test.ts +++ b/x-pack/plugins/security/server/user_profile/user_profile_service.test.ts @@ -989,5 +989,89 @@ describe('UserProfileService', () => { kibana: ['privilege-1', 'privilege-2'], }); }); + + it('properly handles privileges checks when privileges have to be checked in multiple steps and user requested less users than have required privileges', async () => { + // In this test we'd like to simulate the following case: + // 1. User requests 2 results with privileges check + // 2. Kibana will fetch 10 (min batch) results + // 3. Only UID-0, UID-1 and UID-8 profiles will have necessary privileges + mockStartParams.clusterClient.asInternalUser.security.suggestUserProfiles.mockResolvedValue({ + profiles: Array.from({ length: 10 }).map((_, index) => + userProfileMock.createWithSecurity({ + uid: `UID-${index}`, + data: { some: 'data', kibana: { some: `kibana-data-${index}` } }, + }) + ), + } as unknown as SecuritySuggestUserProfilesResponse); + + const mockAtSpacePrivilegeCheck = { atSpace: jest.fn() }; + mockAtSpacePrivilegeCheck.atSpace.mockResolvedValue({ + hasPrivilegeUids: ['UID-0', 'UID-1', 'UID-8'], + errorUids: [], + }); + mockAuthz.checkUserProfilesPrivileges.mockReturnValue(mockAtSpacePrivilegeCheck); + + const startContract = userProfileService.start(mockStartParams); + await expect( + startContract.suggest({ + name: 'some', + size: 2, + dataPath: '*', + requiredPrivileges: { + spaceId: 'some-space', + privileges: { kibana: ['privilege-1', 'privilege-2'] }, + }, + }) + ).resolves.toMatchInlineSnapshot(` + Array [ + Object { + "data": Object { + "some": "kibana-data-0", + }, + "enabled": true, + "uid": "UID-0", + "user": Object { + "display_name": undefined, + "email": "some@email", + "full_name": undefined, + "username": "some-username", + }, + }, + Object { + "data": Object { + "some": "kibana-data-1", + }, + "enabled": true, + "uid": "UID-1", + "user": Object { + "display_name": undefined, + "email": "some@email", + "full_name": undefined, + "username": "some-username", + }, + }, + ] + `); + expect( + mockStartParams.clusterClient.asInternalUser.security.suggestUserProfiles + ).toHaveBeenCalledTimes(1); + expect( + mockStartParams.clusterClient.asInternalUser.security.suggestUserProfiles + ).toHaveBeenCalledWith({ + name: 'some', + size: 10, + data: 'kibana.*', + }); + + expect(mockAuthz.checkUserProfilesPrivileges).toHaveBeenCalledTimes(1); + expect(mockAuthz.checkUserProfilesPrivileges).toHaveBeenCalledWith( + new Set(Array.from({ length: 10 }).map((_, index) => `UID-${index}`)) + ); + + expect(mockAtSpacePrivilegeCheck.atSpace).toHaveBeenCalledTimes(1); + expect(mockAtSpacePrivilegeCheck.atSpace).toHaveBeenCalledWith('some-space', { + kibana: ['privilege-1', 'privilege-2'], + }); + }); }); }); diff --git a/x-pack/plugins/security/server/user_profile/user_profile_service.ts b/x-pack/plugins/security/server/user_profile/user_profile_service.ts index a5880be9c1cdb2..aa8174ef24095f 100644 --- a/x-pack/plugins/security/server/user_profile/user_profile_service.ts +++ b/x-pack/plugins/security/server/user_profile/user_profile_service.ts @@ -489,7 +489,9 @@ export class UserProfileService { const unknownUids = []; for (const profileUid of response.hasPrivilegeUids) { const filteredProfile = profilesBatch.get(profileUid); - if (filteredProfile) { + // We check privileges in batches and the batch can have more users than requested. We ignore "excessive" users, + // but still iterate through entire batch to collect and report all unknown uids. + if (filteredProfile && filteredProfiles.length < requiredSize) { filteredProfiles.push(filteredProfile); } else { unknownUids.push(profileUid); diff --git a/x-pack/test/security_api_integration/fixtures/user_profiles/user_profiles_consumer/server/init_routes.ts b/x-pack/test/security_api_integration/fixtures/user_profiles/user_profiles_consumer/server/init_routes.ts index 8529d034b8b2ff..aa45cb7e3bb4ff 100644 --- a/x-pack/test/security_api_integration/fixtures/user_profiles/user_profiles_consumer/server/init_routes.ts +++ b/x-pack/test/security_api_integration/fixtures/user_profiles/user_profiles_consumer/server/init_routes.ts @@ -18,6 +18,7 @@ export function initRoutes(core: CoreSetup) { body: schema.object({ name: schema.string(), dataPath: schema.maybe(schema.string()), + size: schema.maybe(schema.number()), requiredAppPrivileges: schema.maybe(schema.arrayOf(schema.string())), }), }, @@ -27,6 +28,7 @@ export function initRoutes(core: CoreSetup) { const profiles = await pluginDeps.security.userProfiles.suggest({ name: request.body.name, dataPath: request.body.dataPath, + size: request.body.size, requiredPrivileges: request.body.requiredAppPrivileges ? { spaceId: pluginDeps.spaces.spacesService.getSpaceId(request), diff --git a/x-pack/test/security_api_integration/tests/user_profiles/get_current.ts b/x-pack/test/security_api_integration/tests/user_profiles/get_current.ts index bb8257174392bf..d7f23545aecd00 100644 --- a/x-pack/test/security_api_integration/tests/user_profiles/get_current.ts +++ b/x-pack/test/security_api_integration/tests/user_profiles/get_current.ts @@ -34,7 +34,7 @@ export default function ({ getService }: FtrProviderContext) { password: 'changeme', roles: [`viewer`], full_name: 'User With Profile', - email: 'user_with_profile@elastic.co', + email: 'user_with_profile@get_current_test', }); }); @@ -77,7 +77,7 @@ export default function ({ getService }: FtrProviderContext) { "name": "basic", "type": "basic", }, - "email": "user_with_profile@elastic.co", + "email": "user_with_profile@get_current_test", "full_name": "User With Profile", "realm_name": "default_native", "roles": Array [ @@ -101,7 +101,7 @@ export default function ({ getService }: FtrProviderContext) { "name": "basic", "type": "basic", }, - "email": "user_with_profile@elastic.co", + "email": "user_with_profile@get_current_test", "full_name": "User With Profile", "realm_name": "default_native", "roles": Array [ @@ -124,7 +124,7 @@ export default function ({ getService }: FtrProviderContext) { "name": "basic", "type": "basic", }, - "email": "user_with_profile@elastic.co", + "email": "user_with_profile@get_current_test", "full_name": "User With Profile", "realm_name": "default_native", "roles": Array [ diff --git a/x-pack/test/security_api_integration/tests/user_profiles/suggest.ts b/x-pack/test/security_api_integration/tests/user_profiles/suggest.ts index db3e64244e965b..1e45f0edacf37b 100644 --- a/x-pack/test/security_api_integration/tests/user_profiles/suggest.ts +++ b/x-pack/test/security_api_integration/tests/user_profiles/suggest.ts @@ -233,6 +233,72 @@ export default function ({ getService }: FtrProviderContext) { `); }); + it('can limit the amount of returned results', async () => { + const allAvailableSuggestions = await supertest + .post('/s/space-a/internal/user_profiles_consumer/_suggest') + .set('kbn-xsrf', 'xxx') + .send({ name: 'elastic', size: 10, requiredAppPrivileges: ['dashboards'] }) + .expect(200); + expect(allAvailableSuggestions.body).to.have.length(3); + expectSnapshot( + allAvailableSuggestions.body.map(({ user, data }: { user: unknown; data: unknown }) => ({ + user, + data, + })) + ).toMatchInline(` + Array [ + Object { + "data": Object {}, + "user": Object { + "email": "two@elastic.co", + "full_name": "TWO", + "username": "user_two", + }, + }, + Object { + "data": Object {}, + "user": Object { + "email": "one@elastic.co", + "full_name": "ONE", + "username": "user_one", + }, + }, + Object { + "data": Object {}, + "user": Object { + "email": "three@elastic.co", + "full_name": "THREE", + "username": "user_three", + }, + }, + ] + `); + + const singleSuggestion = await supertest + .post('/s/space-a/internal/user_profiles_consumer/_suggest') + .set('kbn-xsrf', 'xxx') + .send({ name: 'elastic', size: 1, requiredAppPrivileges: ['dashboards'] }) + .expect(200); + expect(singleSuggestion.body).to.have.length(1); + expectSnapshot( + singleSuggestion.body.map(({ user, data }: { user: unknown; data: unknown }) => ({ + user, + data, + })) + ).toMatchInline(` + Array [ + Object { + "data": Object {}, + "user": Object { + "email": "two@elastic.co", + "full_name": "TWO", + "username": "user_two", + }, + }, + ] + `); + }); + it('can get suggestions with data', async () => { // 1. Update user profile data. await supertestWithoutAuth From 139c3c2979bd3b4afadc4e37be1216266f5a4ea7 Mon Sep 17 00:00:00 2001 From: Dmitry Tomashevich <39378793+dimaanj@users.noreply.github.com> Date: Mon, 1 Aug 2022 17:15:56 +0300 Subject: [PATCH 24/37] [Discover] fix callout header (#137423) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../document_explorer_callout/document_explorer_callout.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/discover/public/application/main/components/document_explorer_callout/document_explorer_callout.scss b/src/plugins/discover/public/application/main/components/document_explorer_callout/document_explorer_callout.scss index 76024629da2c3a..2327b7b451f42e 100644 --- a/src/plugins/discover/public/application/main/components/document_explorer_callout/document_explorer_callout.scss +++ b/src/plugins/discover/public/application/main/components/document_explorer_callout/document_explorer_callout.scss @@ -1,5 +1,7 @@ .dscDocumentExplorerCallout { .euiCallOutHeader__title { + display: flex; + align-items: center; width: 100%; } } From fb9ae97a230b17881eec7e0c008e2cbf48a71efc Mon Sep 17 00:00:00 2001 From: Kevin Logan <56395104+kevinlog@users.noreply.github.com> Date: Mon, 1 Aug 2022 10:34:06 -0400 Subject: [PATCH 25/37] [Security Solution] Client side check for safe number in PID and correct usage message (#137706) --- .../endpoint_response_actions_console_commands.ts | 4 ++-- .../endpoint_responder/kill_process_action.test.tsx | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/endpoint_response_actions_console_commands.ts b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/endpoint_response_actions_console_commands.ts index a526e978142b80..399c4add348fff 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/endpoint_response_actions_console_commands.ts +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/endpoint_response_actions_console_commands.ts @@ -29,7 +29,7 @@ const pidValidator = (argData: ParsedArgData): true | string => { const emptyResult = emptyArgumentValidator(argData); if (emptyResult !== true) { return emptyResult; - } else if (Number.isInteger(Number(argData)) && Number(argData) > 0) { + } else if (Number.isSafeInteger(Number(argData)) && Number(argData) > 0) { return true; } else { return i18n.translate('xpack.securitySolution.endpointConsoleCommands.invalidPidMessage', { @@ -97,7 +97,7 @@ export const getEndpointResponseActionsConsoleCommands = ( meta: { endpointId: endpointAgentId, }, - exampleUsage: 'release --comment "isolate this host"', + exampleUsage: 'release --comment "release this host"', exampleInstruction: ENTER_OR_ADD_COMMENT_ARG_INSTRUCTION, args: { comment: { diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/kill_process_action.test.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/kill_process_action.test.tsx index baac612acbd58d..f9c8eab8dcb7a8 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_responder/kill_process_action.test.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_responder/kill_process_action.test.tsx @@ -138,6 +138,15 @@ describe('When using the kill-process action from response actions console', () ); }); + it('should check the pid is a safe number', async () => { + await render(); + enterConsoleCommand(renderResult, 'kill-process --pid 123123123123123123123'); + + expect(renderResult.getByTestId('test-badArgument-message').textContent).toEqual( + 'Invalid argument value: --pid. Argument must be a positive number representing the PID of a process' + ); + }); + it('should check the entityId has a given value', async () => { await render(); enterConsoleCommand(renderResult, 'kill-process --entityId'); From 44738f2439905563460fe15930dde327ca860801 Mon Sep 17 00:00:00 2001 From: "Christiane (Tina) Heiligers" Date: Mon, 1 Aug 2022 07:52:20 -0700 Subject: [PATCH 26/37] Migrates search example mountReactNode to `kibana-react` toMountPoint (#137633) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- examples/search_examples/README.md | 5 ++++- examples/search_examples/public/search/app.tsx | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/examples/search_examples/README.md b/examples/search_examples/README.md index 0ffd4b6cf96c64..15d7f079d1123c 100644 --- a/examples/search_examples/README.md +++ b/examples/search_examples/README.md @@ -1,7 +1,10 @@ # search_examples - > An awesome Kibana plugin +Small demos of search functionality. + +To run this example, ensure you have data to search against (for example, the sample datasets) and start kibana with the `--run-examples` flag. + --- ## Development diff --git a/examples/search_examples/public/search/app.tsx b/examples/search_examples/public/search/app.tsx index c409403c472591..a84f39e75f6715 100644 --- a/examples/search_examples/public/search/app.tsx +++ b/examples/search_examples/public/search/app.tsx @@ -34,7 +34,7 @@ import { import { lastValueFrom } from 'rxjs'; import { CoreStart } from '@kbn/core/public'; -import { mountReactNode } from '@kbn/core/public/utils'; +import { toMountPoint } from '@kbn/kibana-react-plugin/public'; import { NavigationPublicPluginStart } from '@kbn/navigation-plugin/public'; import { @@ -232,7 +232,7 @@ export const SearchExamplesApp = ({ notifications.toasts.addSuccess( { title: 'Query result', - text: mountReactNode(message), + text: toMountPoint(message), }, { toastLifeTimeMs: 300000, @@ -241,7 +241,7 @@ export const SearchExamplesApp = ({ if (res.warning) { notifications.toasts.addWarning({ title: 'Warning', - text: mountReactNode(res.warning), + text: toMountPoint(res.warning), }); } } else if (isErrorResponse(res)) { @@ -315,7 +315,7 @@ export const SearchExamplesApp = ({ notifications.toasts.addSuccess( { title: 'Query result', - text: mountReactNode(message), + text: toMountPoint(message), }, { toastLifeTimeMs: 300000, From ee6d46972fb48079a881fd54fbdeda3c2da9b0a6 Mon Sep 17 00:00:00 2001 From: Walter Rafelsberger Date: Mon, 1 Aug 2022 16:53:05 +0200 Subject: [PATCH 27/37] [ML] Explain log rates spikes: Fix API messages translations. (#137589) Adds translations to API status messages to fix singular/plural issues with dynamic messages. --- .../server/routes/explain_log_rate_spikes.ts | 60 ++++++++++++++----- .../apis/aiops/explain_log_rate_spikes.ts | 4 +- 2 files changed, 48 insertions(+), 16 deletions(-) diff --git a/x-pack/plugins/aiops/server/routes/explain_log_rate_spikes.ts b/x-pack/plugins/aiops/server/routes/explain_log_rate_spikes.ts index 65ed2065d7ade5..cb0911e1c53be1 100644 --- a/x-pack/plugins/aiops/server/routes/explain_log_rate_spikes.ts +++ b/x-pack/plugins/aiops/server/routes/explain_log_rate_spikes.ts @@ -7,6 +7,7 @@ import { chunk } from 'lodash'; +import { i18n } from '@kbn/i18n'; import { asyncForEach } from '@kbn/std'; import type { IRouter } from '@kbn/core/server'; import { KBN_FIELD_TYPES } from '@kbn/field-types'; @@ -81,7 +82,12 @@ export const defineExplainLogRateSpikesRoute = ( updateLoadingStateAction({ ccsWarning: false, loaded, - loadingState: 'Loading field candidates.', + loadingState: i18n.translate( + 'xpack.aiops.explainLogRateSpikes.loadingState.loadingFieldCandidates', + { + defaultMessage: 'Loading field candidates.', + } + ), }) ); @@ -104,7 +110,16 @@ export const defineExplainLogRateSpikesRoute = ( updateLoadingStateAction({ ccsWarning: false, loaded, - loadingState: `Identified ${fieldCandidates.length} field candidates.`, + loadingState: i18n.translate( + 'xpack.aiops.explainLogRateSpikes.loadingState.identifiedFieldCandidates', + { + defaultMessage: + 'Identified {fieldCandidatesCount, plural, one {# field candidate} other {# field candidates}}.', + values: { + fieldCandidatesCount: fieldCandidates.length, + }, + } + ), }) ); @@ -144,9 +159,16 @@ export const defineExplainLogRateSpikesRoute = ( updateLoadingStateAction({ ccsWarning: false, loaded, - loadingState: `Identified ${ - changePoints?.length ?? 0 - } significant field/value pairs.`, + loadingState: i18n.translate( + 'xpack.aiops.explainLogRateSpikes.loadingState.identifiedFieldValuePairs', + { + defaultMessage: + 'Identified {fieldValuePairsCount, plural, one {# significant field/value pair} other {# significant field/value pairs}}.', + values: { + fieldValuePairsCount: changePoints?.length ?? 0, + }, + } + ), }) ); @@ -157,14 +179,6 @@ export const defineExplainLogRateSpikesRoute = ( } if (changePoints?.length === 0) { - push( - updateLoadingStateAction({ - ccsWarning: false, - loaded: 1, - loadingState: `Done.`, - }) - ); - end(); return; } @@ -239,7 +253,12 @@ export const defineExplainLogRateSpikesRoute = ( updateLoadingStateAction({ ccsWarning: false, loaded, - loadingState: `Loading histogram data.`, + loadingState: i18n.translate( + 'xpack.aiops.explainLogRateSpikes.loadingState.loadingHistogramData', + { + defaultMessage: 'Loading histogram data.', + } + ), }) ); push( @@ -255,6 +274,19 @@ export const defineExplainLogRateSpikesRoute = ( }); } + push( + updateLoadingStateAction({ + ccsWarning: false, + loaded: 1, + loadingState: i18n.translate( + 'xpack.aiops.explainLogRateSpikes.loadingState.doneMessage', + { + defaultMessage: 'Done.', + } + ), + }) + ); + end(); })(); diff --git a/x-pack/test/api_integration/apis/aiops/explain_log_rate_spikes.ts b/x-pack/test/api_integration/apis/aiops/explain_log_rate_spikes.ts index f2b606ff183cd4..5bf3ae04a27435 100644 --- a/x-pack/test/api_integration/apis/aiops/explain_log_rate_spikes.ts +++ b/x-pack/test/api_integration/apis/aiops/explain_log_rate_spikes.ts @@ -34,8 +34,8 @@ export default ({ getService }: FtrProviderContext) => { }; const expected = { - chunksLength: 12, - actionsLength: 11, + chunksLength: 13, + actionsLength: 12, noIndexChunksLength: 4, noIndexActionsLength: 3, changePointFilter: 'add_change_points', From 361e4b3cd7a5ba877cf1a8aa4c116b9dffb5b82e Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Mon, 1 Aug 2022 17:19:34 +0200 Subject: [PATCH 28/37] [Search] Fix filtering to handle custom date mapping format correctly (#137054) * Refactor filters generator to simplify extension * Update filters generator to use range filter for the date search --- .../lib/generate_filter.test.ts | 52 +++++++++ .../filter_manager/lib/generate_filters.ts | 101 +++++++++++------- 2 files changed, 116 insertions(+), 37 deletions(-) diff --git a/src/plugins/data/public/query/filter_manager/lib/generate_filter.test.ts b/src/plugins/data/public/query/filter_manager/lib/generate_filter.test.ts index af181d2d94fda3..c038d5b5e4ea07 100644 --- a/src/plugins/data/public/query/filter_manager/lib/generate_filter.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/generate_filter.test.ts @@ -199,4 +199,56 @@ describe('Generate filters', () => { [FIELD.name]: ANOTHER_PHRASE, }); }); + + it('should genereate a range filter when date type field is provided', () => { + const filters = generateFilters( + mockFilterManager, + { + ...FIELD, + type: 'date', + } as DataViewFieldBase, + '2022-08-01', + '+', + MOCKED_INDEX + ) as RangeFilter[]; + expect(filters).toHaveLength(1); + const [filter] = filters; + expect(filter.meta.index === INDEX_NAME); + expect(filter.meta.negate).toBeFalsy(); + expect(isRangeFilter(filter)).toBeTruthy(); + expect(filter.query.range).toEqual({ + [FIELD.name]: { + format: 'date_time', + gte: expect.stringContaining('2022-08-01T00:00:00'), + lte: expect.stringContaining('2022-08-01T00:00:00'), + }, + }); + }); + + it('should update an existing date range filter', () => { + const [filter] = generateFilters( + mockFilterManager, + { + ...FIELD, + type: 'date', + } as DataViewFieldBase, + '2022-08-01', + '+', + MOCKED_INDEX + ) as RangeFilter[]; + filtersArray.push(filter); + + generateFilters( + mockFilterManager, + { + ...FIELD, + type: 'date', + } as DataViewFieldBase, + '2022-08-01', + '-', + MOCKED_INDEX + ) as RangeFilter[]; + + expect(filter).toHaveProperty('meta.negate', true); + }); }); diff --git a/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts b/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts index 8b405a2a6ae4b5..4bff599d846d5d 100644 --- a/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts +++ b/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts @@ -7,22 +7,30 @@ */ import _ from 'lodash'; +import moment from 'moment'; import { Filter, isExistsFilter, isPhraseFilter, getPhraseFilterValue, getPhraseFilterField, + getFilterField, + isRangeFilter, isScriptedPhraseFilter, buildFilter, FilterStateStore, FILTERS, DataViewFieldBase, DataViewBase, + RangeFilterParams, } from '@kbn/es-query'; +import { KBN_FIELD_TYPES } from '@kbn/field-types'; +import type { Serializable } from '@kbn/utility-types'; import { FilterManager } from '../filter_manager'; +const DATE_FORMAT = 'YYYY-MM-DDTHH:mm:ss.SSSZ'; + function getExistingFilter( appFilters: Filter[], fieldName: string, @@ -45,6 +53,12 @@ function getExistingFilter( filter.meta.field === fieldName && filter.query?.script?.script?.params?.value === value ); } + + if (isRangeFilter(filter)) { + return ( + getFilterField(filter) === fieldName && _.isEqual(filter.query.range[fieldName], value) + ); + } }) as any; } @@ -75,28 +89,17 @@ export function generateFilters( index: DataViewBase ): Filter[] { values = Array.isArray(values) ? _.uniq(values) : [values]; - const fieldObj = ( - _.isObject(field) - ? field - : { - name: field, - } - ) as DataViewFieldBase; + + const fieldObj = (_.isObject(field) ? field : { name: field }) as DataViewFieldBase; const fieldName = fieldObj.name; - const newFilters: Filter[] = []; const appFilters = filterManager.getAppFilters(); - const negate = operation === '-'; - let filter; - _.each(values, function (value) { - const existing = getExistingFilter(appFilters, fieldName, value); + function generateFilter(value: Serializable) { + const isRange = fieldObj.type?.includes('range') || fieldObj.type === KBN_FIELD_TYPES.DATE; - if (existing) { - updateExistingFilter(existing, negate); - filter = existing; - } else if (fieldObj.type?.includes('range') && value && typeof value === 'object') { - filter = buildFilter( + if (isRange && _.isObjectLike(value)) { + return buildFilter( index, fieldObj, FILTERS.RANGE_FROM_VALUE, @@ -106,29 +109,53 @@ export function generateFilters( null, FilterStateStore.APP_STATE ); - } else { - // exists filter special case: fieldname = '_exists' and value = fieldname - const filterType = fieldName === '_exists_' ? FILTERS.EXISTS : FILTERS.PHRASE; - const actualFieldObj = - fieldName === '_exists_' ? ({ name: value } as DataViewFieldBase) : fieldObj; + } - // Fix for #7189 - if value is empty, phrase filters become exists filters. - const isNullFilter = value === null || value === undefined; + // exists filter special case: fieldname = '_exists' and value = fieldname + const filterType = fieldName === '_exists_' ? FILTERS.EXISTS : FILTERS.PHRASE; + const actualFieldObj = + fieldName === '_exists_' ? ({ name: value } as DataViewFieldBase) : fieldObj; - filter = buildFilter( - index, - actualFieldObj, - isNullFilter ? FILTERS.EXISTS : filterType, - isNullFilter ? !negate : negate, - false, - value, - null, - FilterStateStore.APP_STATE - ); + // Fix for #7189 - if value is empty, phrase filters become exists filters. + const isNullFilter = value === null || value === undefined; + + return buildFilter( + index, + actualFieldObj, + isNullFilter ? FILTERS.EXISTS : filterType, + isNullFilter ? !negate : negate, + false, + value, + null, + FilterStateStore.APP_STATE + ); + } + + function castValue(value: unknown) { + if (fieldObj.type === KBN_FIELD_TYPES.DATE && typeof value === 'string') { + const parsedValue = moment(value); + + return parsedValue.isValid() + ? ({ + format: 'date_time', + gte: parsedValue.format(DATE_FORMAT), + lte: parsedValue.format(DATE_FORMAT), + } as RangeFilterParams) + : value; } - newFilters.push(filter); - }); + return value; + } + + return _.chain(values) + .map(castValue) + .map((value) => { + const existing = getExistingFilter(appFilters, fieldName, value); + if (existing) { + updateExistingFilter(existing, negate); + } - return newFilters; + return existing ?? generateFilter(value as Serializable); + }) + .value(); } From 31dab4402e94615e3cac8f9a2bcee3b13c3023f4 Mon Sep 17 00:00:00 2001 From: Cristina Amico Date: Mon, 1 Aug 2022 17:32:20 +0200 Subject: [PATCH 29/37] [Fleet] Removed successful message from toast when upgrading agents (#137712) * [Fleet] Removed successful message from toast when upgrading agents * Remove unused translation --- .../components/agent_upgrade_modal/index.tsx | 20 +++++-------------- .../translations/translations/fr-FR.json | 1 - .../translations/translations/ja-JP.json | 1 - .../translations/translations/zh-CN.json | 1 - 4 files changed, 5 insertions(+), 18 deletions(-) diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx index 5e53b775526a46..a37052944ddb58 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx @@ -169,23 +169,14 @@ export const AgentUpgradeAgentModal: React.FunctionComponent Date: Mon, 1 Aug 2022 11:38:05 -0400 Subject: [PATCH 30/37] [Synthetics] update spaces logic for private locations (#137650) * synthetics - update spaces logic for private locations * adjust test * fix jest test * use appropriate saved objects client * update types Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../lib/adapters/framework/adapter_types.ts | 2 - .../routes/monitor_cruds/add_monitor.ts | 3 +- .../routes/monitor_cruds/delete_monitor.ts | 3 +- .../routes/monitor_cruds/edit_monitor.ts | 3 +- .../server/synthetics_route_wrapper.ts | 1 - .../synthetics_private_location.test.ts | 42 +++++--- .../synthetics_private_location.ts | 99 ++++++++++++------- .../synthetics_monitor_client.test.ts | 16 ++- .../synthetics_monitor_client.ts | 28 ++++-- .../rest/add_monitor_private_location.ts | 84 ++++++++++++++-- .../apis/uptime/rest/add_monitor_project.ts | 4 +- .../uptime/rest/sample_data/test_policy.ts | 8 +- 12 files changed, 212 insertions(+), 81 deletions(-) diff --git a/x-pack/plugins/synthetics/server/legacy_uptime/lib/adapters/framework/adapter_types.ts b/x-pack/plugins/synthetics/server/legacy_uptime/lib/adapters/framework/adapter_types.ts index dff21acc3bb86f..e5df5a031dbdd7 100644 --- a/x-pack/plugins/synthetics/server/legacy_uptime/lib/adapters/framework/adapter_types.ts +++ b/x-pack/plugins/synthetics/server/legacy_uptime/lib/adapters/framework/adapter_types.ts @@ -11,7 +11,6 @@ import type { IScopedClusterClient, Logger, IBasePath, - KibanaRequest, } from '@kbn/core/server'; import type { TelemetryPluginSetup, TelemetryPluginStart } from '@kbn/telemetry-plugin/server'; import { ObservabilityPluginSetup } from '@kbn/observability-plugin/server'; @@ -63,7 +62,6 @@ export interface UptimeServerSetup { uptimeEsClient: UptimeESClient; basePath: IBasePath; isDev?: boolean; - currentRequest?: KibanaRequest; } export interface UptimeCorePluginsSetup { diff --git a/x-pack/plugins/synthetics/server/routes/monitor_cruds/add_monitor.ts b/x-pack/plugins/synthetics/server/routes/monitor_cruds/add_monitor.ts index 4322003f4db86c..011b5f853a47b0 100644 --- a/x-pack/plugins/synthetics/server/routes/monitor_cruds/add_monitor.ts +++ b/x-pack/plugins/synthetics/server/routes/monitor_cruds/add_monitor.ts @@ -132,7 +132,8 @@ export const syncNewMonitor = async ({ const errors = await syntheticsMonitorClient.addMonitor( monitor as MonitorFields, monitorSavedObject.id, - request + request, + savedObjectsClient ); sendTelemetryEvents( diff --git a/x-pack/plugins/synthetics/server/routes/monitor_cruds/delete_monitor.ts b/x-pack/plugins/synthetics/server/routes/monitor_cruds/delete_monitor.ts index 897c3d1c5123b9..2313ca548ed294 100644 --- a/x-pack/plugins/synthetics/server/routes/monitor_cruds/delete_monitor.ts +++ b/x-pack/plugins/synthetics/server/routes/monitor_cruds/delete_monitor.ts @@ -113,7 +113,8 @@ export const deleteMonitor = async ({ (normalizedMonitor.attributes as MonitorFields)[ConfigKey.CUSTOM_HEARTBEAT_ID] || monitorId, }, - request + request, + savedObjectsClient ); await savedObjectsClient.delete(syntheticsMonitorType, monitorId); diff --git a/x-pack/plugins/synthetics/server/routes/monitor_cruds/edit_monitor.ts b/x-pack/plugins/synthetics/server/routes/monitor_cruds/edit_monitor.ts index 0eb6e95c42063a..c692bd25415d0a 100644 --- a/x-pack/plugins/synthetics/server/routes/monitor_cruds/edit_monitor.ts +++ b/x-pack/plugins/synthetics/server/routes/monitor_cruds/edit_monitor.ts @@ -155,7 +155,8 @@ export const syncEditedMonitor = async ({ const errors = await syntheticsMonitorClient.editMonitor( editedMonitor as MonitorFields, editedMonitorSavedObject.id, - request + request, + savedObjectsClient ); sendTelemetryEvents( diff --git a/x-pack/plugins/synthetics/server/synthetics_route_wrapper.ts b/x-pack/plugins/synthetics/server/synthetics_route_wrapper.ts index f6840ceb94e16e..a5e28aa051b984 100644 --- a/x-pack/plugins/synthetics/server/synthetics_route_wrapper.ts +++ b/x-pack/plugins/synthetics/server/synthetics_route_wrapper.ts @@ -30,7 +30,6 @@ export const syntheticsRouteWrapper: SyntheticsRouteWrapper = ( // specifically needed for the synthetics service api key generation server.authSavedObjectsClient = savedObjectsClient; - server.currentRequest = request; const isInspectorEnabled = await coreContext.uiSettings.client.get( enableInspectEsQueries diff --git a/x-pack/plugins/synthetics/server/synthetics_service/private_location/synthetics_private_location.test.ts b/x-pack/plugins/synthetics/server/synthetics_service/private_location/synthetics_private_location.test.ts index 0943a87c2e46e9..b232da7af0e507 100644 --- a/x-pack/plugins/synthetics/server/synthetics_service/private_location/synthetics_private_location.test.ts +++ b/x-pack/plugins/synthetics/server/synthetics_service/private_location/synthetics_private_location.test.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import { KibanaRequest } from '@kbn/core/server'; +import { KibanaRequest, SavedObjectsClientContract } from '@kbn/core/server'; import { loggerMock } from '@kbn/logging-mocks'; import { UptimeServerSetup } from '../../legacy_uptime/lib/adapters'; import { formatSyntheticsPolicy } from '../../../common/formatters/format_synthetics_policy'; @@ -50,17 +50,18 @@ describe('SyntheticsPrivateLocation', () => { username: '', } as unknown as HeartbeatConfig; + const savedObjectsClientMock = { + bulkUpdate: jest.fn(), + get: jest.fn().mockReturnValue({ + attributes: { + locations: [mockPrivateLocation], + }, + }), + } as unknown as SavedObjectsClientContract; + const serverMock: UptimeServerSetup = { uptimeEsClient: { search: jest.fn() }, logger: loggerMock.create(), - authSavedObjectsClient: { - bulkUpdate: jest.fn(), - get: jest.fn().mockReturnValue({ - attributes: { - locations: [mockPrivateLocation], - }, - }), - }, config: { service: { username: 'dev', @@ -78,6 +79,11 @@ describe('SyntheticsPrivateLocation', () => { get: jest.fn().mockReturnValue({}), }, }, + spaces: { + spacesService: { + getSpaceId: jest.fn().mockReturnValue('nonDefaultSpace'), + }, + }, } as unknown as UptimeServerSetup; it.each([ @@ -101,7 +107,11 @@ describe('SyntheticsPrivateLocation', () => { }); try { - await syntheticsPrivateLocation.createMonitor(testConfig, {} as unknown as KibanaRequest); + await syntheticsPrivateLocation.createMonitor( + testConfig, + {} as unknown as KibanaRequest, + savedObjectsClientMock + ); } catch (e) { expect(e).toEqual(new Error(error)); } @@ -128,7 +138,11 @@ describe('SyntheticsPrivateLocation', () => { }); try { - await syntheticsPrivateLocation.editMonitor(testConfig, {} as unknown as KibanaRequest); + await syntheticsPrivateLocation.editMonitor( + testConfig, + {} as unknown as KibanaRequest, + savedObjectsClientMock + ); } catch (e) { expect(e).toEqual(new Error(error)); } @@ -154,7 +168,11 @@ describe('SyntheticsPrivateLocation', () => { }, }); try { - await syntheticsPrivateLocation.deleteMonitor(testConfig, {} as unknown as KibanaRequest); + await syntheticsPrivateLocation.deleteMonitor( + testConfig, + {} as unknown as KibanaRequest, + savedObjectsClientMock + ); } catch (e) { expect(e).toEqual(new Error(e)); } diff --git a/x-pack/plugins/synthetics/server/synthetics_service/private_location/synthetics_private_location.ts b/x-pack/plugins/synthetics/server/synthetics_service/private_location/synthetics_private_location.ts index 2211e94ca6a78c..78c8193f8f5826 100644 --- a/x-pack/plugins/synthetics/server/synthetics_service/private_location/synthetics_private_location.ts +++ b/x-pack/plugins/synthetics/server/synthetics_service/private_location/synthetics_private_location.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import { KibanaRequest } from '@kbn/core/server'; +import { KibanaRequest, SavedObjectsClientContract } from '@kbn/core/server'; import { NewPackagePolicy } from '@kbn/fleet-plugin/common'; import { formatSyntheticsPolicy } from '../../../common/formatters/format_synthetics_policy'; import { getSyntheticsPrivateLocations } from '../../legacy_uptime/lib/saved_objects/private_locations'; @@ -24,35 +24,33 @@ export class SyntheticsPrivateLocation { this.server = _server; } - getSpaceId() { - if (!this.server.currentRequest) { - return ''; - } - - return this.server.spaces.spacesService.getSpaceId(this.server.currentRequest); + getSpaceId(request: KibanaRequest) { + return this.server.spaces.spacesService.getSpaceId(request); } - getPolicyId(config: HeartbeatConfig, { id: locId }: PrivateLocation) { + getPolicyId(config: HeartbeatConfig, { id: locId }: PrivateLocation, request: KibanaRequest) { if (config[ConfigKey.MONITOR_SOURCE_TYPE] === SourceType.PROJECT) { return `${config.id}-${locId}`; } - return `${config.id}-${locId}-${this.getSpaceId()}`; + return `${config.id}-${locId}-${this.getSpaceId(request)}`; } async generateNewPolicy( config: HeartbeatConfig, - privateLocation: PrivateLocation + privateLocation: PrivateLocation, + request: KibanaRequest, + savedObjectsClient: SavedObjectsClientContract ): Promise { - if (!this.server.authSavedObjectsClient) { - throw new Error('Could not find authSavedObjectsClient'); + if (!savedObjectsClient) { + throw new Error('Could not find savedObjectsClient'); } const { label: locName } = privateLocation; - const spaceId = this.getSpaceId(); + const spaceId = this.getSpaceId(request); try { const newPolicy = await this.server.fleet.packagePolicyService.buildPackagePolicyFromPackage( - this.server.authSavedObjectsClient, + savedObjectsClient, 'synthetics', this.server.logger ); @@ -99,7 +97,11 @@ export class SyntheticsPrivateLocation { } } - async createMonitor(config: HeartbeatConfig, request: KibanaRequest) { + async createMonitor( + config: HeartbeatConfig, + request: KibanaRequest, + savedObjectsClient: SavedObjectsClientContract + ) { const { locations } = config; await this.checkPermissions( @@ -110,7 +112,7 @@ export class SyntheticsPrivateLocation { ); const privateLocations: PrivateLocation[] = await getSyntheticsPrivateLocations( - this.server.authSavedObjectsClient! + savedObjectsClient ); const fleetManagedLocations = locations.filter((loc) => !loc.isServiceManaged); @@ -124,7 +126,7 @@ export class SyntheticsPrivateLocation { ); } - const newPolicy = await this.generateNewPolicy(config, location); + const newPolicy = await this.generateNewPolicy(config, location, request, savedObjectsClient); if (!newPolicy) { throw new Error( @@ -135,7 +137,11 @@ export class SyntheticsPrivateLocation { } try { - await this.createPolicy(newPolicy, this.getPolicyId(config, location)); + await this.createPolicy( + newPolicy, + this.getPolicyId(config, location, request), + savedObjectsClient + ); } catch (e) { this.server.logger.error(e); throw new Error( @@ -147,7 +153,11 @@ export class SyntheticsPrivateLocation { } } - async editMonitor(config: HeartbeatConfig, request: KibanaRequest) { + async editMonitor( + config: HeartbeatConfig, + request: KibanaRequest, + savedObjectsClient: SavedObjectsClientContract + ) { await this.checkPermissions( request, `Unable to update Synthetics package policy for monitor ${ @@ -157,19 +167,22 @@ export class SyntheticsPrivateLocation { const { locations } = config; - const allPrivateLocations = await getSyntheticsPrivateLocations( - this.server.authSavedObjectsClient! - ); + const allPrivateLocations = await getSyntheticsPrivateLocations(savedObjectsClient); const monitorPrivateLocations = locations.filter((loc) => !loc.isServiceManaged); for (const privateLocation of allPrivateLocations) { const hasLocation = monitorPrivateLocations?.some((loc) => loc.id === privateLocation.id); - const currId = this.getPolicyId(config, privateLocation); - const hasPolicy = await this.getMonitor(currId); + const currId = this.getPolicyId(config, privateLocation, request); + const hasPolicy = await this.getMonitor(currId, savedObjectsClient); try { if (hasLocation) { - const newPolicy = await this.generateNewPolicy(config, privateLocation); + const newPolicy = await this.generateNewPolicy( + config, + privateLocation, + request, + savedObjectsClient + ); if (!newPolicy) { throw new Error( @@ -180,12 +193,12 @@ export class SyntheticsPrivateLocation { } if (hasPolicy) { - await this.updatePolicy(newPolicy, currId); + await this.updatePolicy(newPolicy, currId, savedObjectsClient); } else { - await this.createPolicy(newPolicy, currId); + await this.createPolicy(newPolicy, currId, savedObjectsClient); } } else if (hasPolicy) { - const soClient = this.server.authSavedObjectsClient!; + const soClient = savedObjectsClient; const esClient = this.server.uptimeEsClient.baseESClient; try { await this.server.fleet.packagePolicyService.delete(soClient, esClient, [currId], { @@ -211,8 +224,12 @@ export class SyntheticsPrivateLocation { } } - async createPolicy(newPolicy: NewPackagePolicy, id: string) { - const soClient = this.server.authSavedObjectsClient; + async createPolicy( + newPolicy: NewPackagePolicy, + id: string, + savedObjectsClient: SavedObjectsClientContract + ) { + const soClient = savedObjectsClient; const esClient = this.server.uptimeEsClient.baseESClient; if (soClient && esClient) { return await this.server.fleet.packagePolicyService.create(soClient, esClient, newPolicy, { @@ -222,8 +239,12 @@ export class SyntheticsPrivateLocation { } } - async updatePolicy(updatedPolicy: NewPackagePolicy, id: string) { - const soClient = this.server.authSavedObjectsClient; + async updatePolicy( + updatedPolicy: NewPackagePolicy, + id: string, + savedObjectsClient: SavedObjectsClientContract + ) { + const soClient = savedObjectsClient; const esClient = this.server.uptimeEsClient.baseESClient; if (soClient && esClient) { return await this.server.fleet.packagePolicyService.update( @@ -238,9 +259,9 @@ export class SyntheticsPrivateLocation { } } - async getMonitor(id: string) { + async getMonitor(id: string, savedObjectsClient: SavedObjectsClientContract) { try { - const soClient = this.server.authSavedObjectsClient; + const soClient = savedObjectsClient; return await this.server.fleet.packagePolicyService.get(soClient!, id); } catch (e) { this.server.logger.debug(e); @@ -248,8 +269,12 @@ export class SyntheticsPrivateLocation { } } - async deleteMonitor(config: HeartbeatConfig, request: KibanaRequest) { - const soClient = this.server.authSavedObjectsClient; + async deleteMonitor( + config: HeartbeatConfig, + request: KibanaRequest, + savedObjectsClient: SavedObjectsClientContract + ) { + const soClient = savedObjectsClient; const esClient = this.server.uptimeEsClient.baseESClient; if (soClient && esClient) { @@ -273,7 +298,7 @@ export class SyntheticsPrivateLocation { await this.server.fleet.packagePolicyService.delete( soClient, esClient, - [this.getPolicyId(config, location)], + [this.getPolicyId(config, location, request)], { force: true, } diff --git a/x-pack/plugins/synthetics/server/synthetics_service/synthetics_monitor/synthetics_monitor_client.test.ts b/x-pack/plugins/synthetics/server/synthetics_service/synthetics_monitor/synthetics_monitor_client.test.ts index 315ff4894cbf10..df8f5837e7d5d9 100644 --- a/x-pack/plugins/synthetics/server/synthetics_service/synthetics_monitor/synthetics_monitor_client.test.ts +++ b/x-pack/plugins/synthetics/server/synthetics_service/synthetics_monitor/synthetics_monitor_client.test.ts @@ -5,7 +5,7 @@ * 2.0. */ import { loggerMock } from '@kbn/logging-mocks'; -import { KibanaRequest } from '@kbn/core/server'; +import { KibanaRequest, SavedObjectsClientContract } from '@kbn/core/server'; import { SyntheticsMonitorClient } from './synthetics_monitor_client'; import { UptimeServerSetup } from '../../legacy_uptime/lib/adapters'; import { SyntheticsService } from '../synthetics_service'; @@ -20,6 +20,10 @@ describe('SyntheticsMonitorClient', () => { const mockEsClient = { search: jest.fn(), }; + const savedObjectsClientMock = { + bulkUpdate: jest.fn(), + get: jest.fn(), + } as unknown as SavedObjectsClientContract; const mockRequest = {} as unknown as KibanaRequest; const logger = loggerMock.create(); @@ -85,7 +89,7 @@ describe('SyntheticsMonitorClient', () => { const client = new SyntheticsMonitorClient(syntheticsService, serverMock); client.privateLocationAPI.createMonitor = jest.fn(); - await client.addMonitor(monitor, id, mockRequest); + await client.addMonitor(monitor, id, mockRequest, savedObjectsClientMock); expect(syntheticsService.addConfig).toHaveBeenCalledTimes(1); expect(client.privateLocationAPI.createMonitor).toHaveBeenCalledTimes(1); @@ -98,7 +102,7 @@ describe('SyntheticsMonitorClient', () => { const client = new SyntheticsMonitorClient(syntheticsService, serverMock); client.privateLocationAPI.editMonitor = jest.fn(); - await client.editMonitor(monitor, id, mockRequest); + await client.editMonitor(monitor, id, mockRequest, savedObjectsClientMock); expect(syntheticsService.editConfig).toHaveBeenCalledTimes(1); expect(client.privateLocationAPI.editMonitor).toHaveBeenCalledTimes(1); @@ -110,7 +114,11 @@ describe('SyntheticsMonitorClient', () => { const client = new SyntheticsMonitorClient(syntheticsService, serverMock); client.privateLocationAPI.deleteMonitor = jest.fn(); - await client.deleteMonitor(monitor as unknown as SyntheticsMonitorWithId, mockRequest); + await client.deleteMonitor( + monitor as unknown as SyntheticsMonitorWithId, + mockRequest, + savedObjectsClientMock + ); expect(syntheticsService.deleteConfigs).toHaveBeenCalledTimes(1); expect(client.privateLocationAPI.deleteMonitor).toHaveBeenCalledTimes(1); diff --git a/x-pack/plugins/synthetics/server/synthetics_service/synthetics_monitor/synthetics_monitor_client.ts b/x-pack/plugins/synthetics/server/synthetics_service/synthetics_monitor/synthetics_monitor_client.ts index bd1c67de372413..67a6b69c62cc50 100644 --- a/x-pack/plugins/synthetics/server/synthetics_service/synthetics_monitor/synthetics_monitor_client.ts +++ b/x-pack/plugins/synthetics/server/synthetics_service/synthetics_monitor/synthetics_monitor_client.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import { KibanaRequest } from '@kbn/core/server'; +import { KibanaRequest, SavedObjectsClientContract } from '@kbn/core/server'; import { UptimeServerSetup } from '../../legacy_uptime/lib/adapters'; import { SyntheticsPrivateLocation } from '../private_location/synthetics_private_location'; import { SyntheticsService } from '../synthetics_service'; @@ -26,7 +26,12 @@ export class SyntheticsMonitorClient { this.privateLocationAPI = new SyntheticsPrivateLocation(server); } - async addMonitor(monitor: MonitorFields, id: string, request: KibanaRequest) { + async addMonitor( + monitor: MonitorFields, + id: string, + request: KibanaRequest, + savedObjectsClient: SavedObjectsClientContract + ) { await this.syntheticsService.setupIndexTemplates(); const config = formatHeartbeatRequest({ @@ -38,7 +43,7 @@ export class SyntheticsMonitorClient { const { privateLocations, publicLocations } = this.parseLocations(config); if (privateLocations.length > 0) { - await this.privateLocationAPI.createMonitor(config, request); + await this.privateLocationAPI.createMonitor(config, request, savedObjectsClient); } if (publicLocations.length > 0) { @@ -46,7 +51,12 @@ export class SyntheticsMonitorClient { } } - async editMonitor(editedMonitor: MonitorFields, id: string, request: KibanaRequest) { + async editMonitor( + editedMonitor: MonitorFields, + id: string, + request: KibanaRequest, + savedObjectsClient: SavedObjectsClientContract + ) { const editedConfig = formatHeartbeatRequest({ monitor: editedMonitor, monitorId: id, @@ -55,7 +65,7 @@ export class SyntheticsMonitorClient { const { publicLocations } = this.parseLocations(editedConfig); - await this.privateLocationAPI.editMonitor(editedConfig, request); + await this.privateLocationAPI.editMonitor(editedConfig, request, savedObjectsClient); if (publicLocations.length > 0) { return await this.syntheticsService.editConfig(editedConfig); @@ -64,8 +74,12 @@ export class SyntheticsMonitorClient { await this.syntheticsService.editConfig(editedConfig); } - async deleteMonitor(monitor: SyntheticsMonitorWithId, request: KibanaRequest) { - await this.privateLocationAPI.deleteMonitor(monitor, request); + async deleteMonitor( + monitor: SyntheticsMonitorWithId, + request: KibanaRequest, + savedObjectsClient: SavedObjectsClientContract + ) { + await this.privateLocationAPI.deleteMonitor(monitor, request, savedObjectsClient); return await this.syntheticsService.deleteConfigs([monitor]); } diff --git a/x-pack/test/api_integration/apis/uptime/rest/add_monitor_private_location.ts b/x-pack/test/api_integration/apis/uptime/rest/add_monitor_private_location.ts index 818d16ee017b3c..c9e510a39a44f4 100644 --- a/x-pack/test/api_integration/apis/uptime/rest/add_monitor_private_location.ts +++ b/x-pack/test/api_integration/apis/uptime/rest/add_monitor_private_location.ts @@ -4,6 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ +import uuid from 'uuid'; import expect from '@kbn/expect'; import { HTTPFields } from '@kbn/synthetics-plugin/common/runtime_types'; import { API_URLS } from '@kbn/synthetics-plugin/common/constants'; @@ -12,15 +13,15 @@ import { secretKeys } from '@kbn/synthetics-plugin/common/constants/monitor_mana import { PackagePolicy } from '@kbn/fleet-plugin/common'; import { FtrProviderContext } from '../../../ftr_provider_context'; import { getFixtureJson } from './helper/get_fixture_json'; -import { comparePolicies, testSyntheticsPolicy } from './sample_data/test_policy'; +import { comparePolicies, getTestSyntheticsPolicy } from './sample_data/test_policy'; import { PrivateLocationTestService } from './services/private_location_test_service'; export default function ({ getService }: FtrProviderContext) { - // FAILING ON 8.4: https://github.com/elastic/kibana/issues/137328 - describe.skip('PrivateLocationMonitor', function () { + describe('PrivateLocationMonitor', function () { this.tags('skipCloud'); - + const kibanaServer = getService('kibanaServer'); const supertestAPI = getService('supertest'); + const supertestWithoutAuth = getService('supertestWithoutAuth'); let testFleetPolicyID: string; @@ -28,6 +29,7 @@ export default function ({ getService }: FtrProviderContext) { let httpMonitorJson: HTTPFields; const testPrivateLocations = new PrivateLocationTestService(getService); + const security = getService('security'); before(async () => { await supertestAPI.post('/api/fleet/setup').set('kbn-xsrf', 'true').send().expect(200); @@ -113,7 +115,7 @@ export default function ({ getService }: FtrProviderContext) { expect(packagePolicy.policy_id).eql(testFleetPolicyID); - comparePolicies(packagePolicy, testSyntheticsPolicy); + comparePolicies(packagePolicy, getTestSyntheticsPolicy(httpMonitorJson.name)); }); let testFleetPolicyID2: string; @@ -152,7 +154,7 @@ export default function ({ getService }: FtrProviderContext) { expect(packagePolicy.policy_id).eql(testFleetPolicyID); - comparePolicies(packagePolicy, testSyntheticsPolicy); + comparePolicies(packagePolicy, getTestSyntheticsPolicy(httpMonitorJson.name)); packagePolicy = apiResponsePolicy.body.items.find( (pkgPolicy: PackagePolicy) => @@ -160,7 +162,7 @@ export default function ({ getService }: FtrProviderContext) { ); expect(packagePolicy.policy_id).eql(testFleetPolicyID2); - comparePolicies(packagePolicy, testSyntheticsPolicy); + comparePolicies(packagePolicy, getTestSyntheticsPolicy(httpMonitorJson.name)); }); it('deletes integration for a removed location from monitor', async () => { @@ -185,7 +187,7 @@ export default function ({ getService }: FtrProviderContext) { expect(packagePolicy.policy_id).eql(testFleetPolicyID); - comparePolicies(packagePolicy, testSyntheticsPolicy); + comparePolicies(packagePolicy, getTestSyntheticsPolicy(httpMonitorJson.name)); packagePolicy = apiResponsePolicy.body.items.find( (pkgPolicy: PackagePolicy) => @@ -212,5 +214,71 @@ export default function ({ getService }: FtrProviderContext) { expect(packagePolicy).eql(undefined); }); + + it('handles spaces', async () => { + const username = 'admin'; + const password = `${username}-password`; + const roleName = 'uptime-role'; + const SPACE_ID = `test-space-${uuid.v4()}`; + const SPACE_NAME = `test-space-name ${uuid.v4()}`; + let monitorId = ''; + const monitor = { + ...httpMonitorJson, + name: `Test monitor ${uuid.v4()}`, + locations: [ + { + id: testFleetPolicyID, + label: 'Test private location 0', + isServiceManaged: false, + }, + ], + }; + + try { + await kibanaServer.spaces.create({ id: SPACE_ID, name: SPACE_NAME }); + await security.role.create(roleName, { + kibana: [ + { + feature: { + uptime: ['all'], + fleet: ['all'], + fleetv2: ['all'], + }, + spaces: ['*'], + }, + ], + }); + await security.user.create(username, { + password, + roles: [roleName], + full_name: 'a kibana user', + }); + const apiResponse = await supertestWithoutAuth + .post(`/s/${SPACE_ID}${API_URLS.SYNTHETICS_MONITORS}`) + .auth(username, password) + .set('kbn-xsrf', 'true') + .send(monitor) + .expect(200); + + expect(apiResponse.body.attributes).eql(omit(monitor, secretKeys)); + monitorId = apiResponse.body.id; + + const policyResponse = await supertestAPI.get( + '/api/fleet/package_policies?page=1&perPage=2000&kuery=ingest-package-policies.package.name%3A%20synthetics' + ); + + const packagePolicy = policyResponse.body.items.find( + (pkgPolicy: PackagePolicy) => + pkgPolicy.id === monitorId + '-' + testFleetPolicyID + `-${SPACE_ID}` + ); + + expect(packagePolicy.policy_id).eql(testFleetPolicyID); + expect(packagePolicy.name).eql(`${monitor.name}-Test private location 0-${SPACE_ID}`); + comparePolicies(packagePolicy, getTestSyntheticsPolicy(monitor.name)); + } finally { + await security.user.delete(username); + await security.role.delete(roleName); + } + }); }); } diff --git a/x-pack/test/api_integration/apis/uptime/rest/add_monitor_project.ts b/x-pack/test/api_integration/apis/uptime/rest/add_monitor_project.ts index b338437ca1d9db..ed437b1e0bd7af 100644 --- a/x-pack/test/api_integration/apis/uptime/rest/add_monitor_project.ts +++ b/x-pack/test/api_integration/apis/uptime/rest/add_monitor_project.ts @@ -16,8 +16,7 @@ import { PrivateLocationTestService } from './services/private_location_test_ser import { comparePolicies, getTestProjectSyntheticsPolicy } from './sample_data/test_policy'; export default function ({ getService }: FtrProviderContext) { - // FLAKY: https://github.com/elastic/kibana/issues/137124 - describe.skip('[PUT] /api/uptime/service/monitors', function () { + describe('[PUT] /api/uptime/service/monitors', function () { this.tags('skipCloud'); const supertest = getService('supertest'); @@ -727,7 +726,6 @@ export default function ({ getService }: FtrProviderContext) { label: 'Test private location 0', isServiceManaged: false, isInvalid: false, - name: 'Test private location 0', agentPolicyId: testPolicyId, id: testPolicyId, geo: { diff --git a/x-pack/test/api_integration/apis/uptime/rest/sample_data/test_policy.ts b/x-pack/test/api_integration/apis/uptime/rest/sample_data/test_policy.ts index cc007ab21bb2a3..b829eb355e8dbf 100644 --- a/x-pack/test/api_integration/apis/uptime/rest/sample_data/test_policy.ts +++ b/x-pack/test/api_integration/apis/uptime/rest/sample_data/test_policy.ts @@ -9,7 +9,7 @@ import { omit, sortBy } from 'lodash'; import expect from '@kbn/expect'; import { PackagePolicy } from '@kbn/fleet-plugin/common'; -export const testSyntheticsPolicy: PackagePolicy = { +export const getTestSyntheticsPolicy = (name: string): PackagePolicy => ({ id: '5863efe0-0368-11ed-8df7-a7424c6f5167-5347cd10-0368-11ed-8df7-a7424c6f5167', version: 'WzMyNTcsMV0=', name: '5863efe0-0368-11ed-8df7-a7424c6f5167-5347cd10-0368-11ed-8df7-a7424c6f5167', @@ -35,7 +35,7 @@ export const testSyntheticsPolicy: PackagePolicy = { }, enabled: { value: true, type: 'bool' }, type: { value: 'http', type: 'text' }, - name: { value: 'test-monitor-name', type: 'text' }, + name: { value: name, type: 'text' }, schedule: { value: '"@every 5m"', type: 'text' }, urls: { value: 'https://nextjs-test-synthetics.vercel.app/api/users', type: 'text' }, 'service.name': { value: '', type: 'text' }, @@ -69,7 +69,7 @@ export const testSyntheticsPolicy: PackagePolicy = { script_source: { is_generated_script: false, file_name: 'test-file.name' }, }, type: 'http', - name: 'test-monitor-name', + name, enabled: true, urls: 'https://nextjs-test-synthetics.vercel.app/api/users', schedule: '@every 5m', @@ -238,7 +238,7 @@ export const testSyntheticsPolicy: PackagePolicy = { created_by: 'system', updated_at: '2022-07-14T11:30:23.034Z', updated_by: 'system', -}; +}); export const getTestProjectSyntheticsPolicy = ( { From 48ba47f794e8d4c13355c043dbf7b32a89a0809f Mon Sep 17 00:00:00 2001 From: Andrew Tate Date: Mon, 1 Aug 2022 10:39:52 -0500 Subject: [PATCH 31/37] add border-radius (#137597) Co-authored-by: Joe Reuter --- x-pack/plugins/lens/public/visualization_container.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x-pack/plugins/lens/public/visualization_container.scss b/x-pack/plugins/lens/public/visualization_container.scss index ba74fb711d9675..a20bcef82e17b7 100644 --- a/x-pack/plugins/lens/public/visualization_container.scss +++ b/x-pack/plugins/lens/public/visualization_container.scss @@ -11,6 +11,8 @@ height: 100%; display: flex; overflow: auto; + // important for visualizations with no padding + border-radius: $euiBorderRadius; .lnsExpressionRenderer__component { position: static; // Let the progress indicator position itself against the outer parent From 08a32c2ae5f61a2bd45aa54e7bef9fa71016b4c8 Mon Sep 17 00:00:00 2001 From: Stratoula Kalafateli Date: Mon, 1 Aug 2022 18:49:10 +0300 Subject: [PATCH 32/37] [Lens] Fixes bug on new metric viz when transitioning to an empty formula (#137268) * [Lens] Fixes bug on new metric viz when transitioning to an empty formula * Fix filterable function bugs when there is no data * Fix intervals error on no data * Make the metricViz work for 'null' format * fix * Add some comments * Fix PR comment --- .../public/components/metric_vis.test.tsx | 12 ++++++++++-- .../public/components/metric_vis.tsx | 11 +++++++++-- .../expression_renderers/metric_vis_renderer.tsx | 12 +++++++----- 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/src/plugins/chart_expressions/expression_metric/public/components/metric_vis.test.tsx b/src/plugins/chart_expressions/expression_metric/public/components/metric_vis.test.tsx index 7ecc379b2abc60..31a12f702ae2a4 100644 --- a/src/plugins/chart_expressions/expression_metric/public/components/metric_vis.test.tsx +++ b/src/plugins/chart_expressions/expression_metric/public/components/metric_vis.test.tsx @@ -29,6 +29,8 @@ const mockDeserialize = jest.fn((params) => { const converter = params.id === 'terms' ? (val: string) => (val === '__other__' ? 'Other' : val) + : params.id === 'string' + ? (val: string) => (val === '' ? '(empty)' : val) : () => 'formatted duration'; return { getConverterFor: jest.fn(() => converter) }; }); @@ -1077,8 +1079,8 @@ describe('MetricVisComponent', function () { describe('metric value formatting', () => { const getFormattedMetrics = ( - value: number, - secondaryValue: number, + value: number | string, + secondaryValue: number | string, fieldFormatter: SerializedFieldFormat ) => { const config: Props['config'] = { @@ -1130,6 +1132,12 @@ describe('MetricVisComponent', function () { expect(secondary).toBe('983.12K'); }); + it('correctly formats strings', () => { + const { primary, secondary } = getFormattedMetrics('', '', { id: 'string' }); + expect(primary).toBe('(empty)'); + expect(secondary).toBe('(empty)'); + }); + it('correctly formats currency', () => { const { primary, secondary } = getFormattedMetrics(1000.839, 11.2, { id: 'currency' }); expect(primary).toBe('$1.00K'); diff --git a/src/plugins/chart_expressions/expression_metric/public/components/metric_vis.tsx b/src/plugins/chart_expressions/expression_metric/public/components/metric_vis.tsx index 5473d98d85c180..94fd86ea43daa9 100644 --- a/src/plugins/chart_expressions/expression_metric/public/components/metric_vis.tsx +++ b/src/plugins/chart_expressions/expression_metric/public/components/metric_vis.tsx @@ -81,7 +81,9 @@ const getMetricFormatter = ( const serializedFieldFormat = getFormatByAccessor(accessor, columns); const formatId = serializedFieldFormat?.id ?? 'number'; - if (!['number', 'currency', 'percent', 'bytes', 'duration'].includes(formatId)) { + if ( + !['number', 'currency', 'percent', 'bytes', 'duration', 'string', 'null'].includes(formatId) + ) { throw new Error( i18n.translate('expressionMetricVis.errors.unsupportedColumnFormat', { defaultMessage: 'Metric visualization expression - Unsupported column format: "{id}"', @@ -92,6 +94,11 @@ const getMetricFormatter = ( ); } + // this formats are coming when formula is empty + if (formatId === 'string') { + return getFormatService().deserialize(serializedFieldFormat).getConverterFor('text'); + } + if (formatId === 'duration') { const formatter = getFormatService().deserialize({ ...serializedFieldFormat, @@ -297,7 +304,7 @@ export const MetricVis = ({ // In the editor, we constrain the maximum size of the tiles for aesthetic reasons const maxTileSideLength = metricConfigs.flat().length > 1 ? 200 : 300; pixelHeight = grid.length * maxTileSideLength; - pixelWidth = grid[0].length * maxTileSideLength; + pixelWidth = grid[0]?.length * maxTileSideLength; } // force chart to re-render to circumvent a charts bug diff --git a/src/plugins/chart_expressions/expression_metric/public/expression_renderers/metric_vis_renderer.tsx b/src/plugins/chart_expressions/expression_metric/public/expression_renderers/metric_vis_renderer.tsx index 3979f2f563af29..bb140b1957cb92 100644 --- a/src/plugins/chart_expressions/expression_metric/public/expression_renderers/metric_vis_renderer.tsx +++ b/src/plugins/chart_expressions/expression_metric/public/expression_renderers/metric_vis_renderer.tsx @@ -61,11 +61,13 @@ export const getMetricVisRenderer = ( unmountComponentAtNode(domNode); }); - const filterable = await metricFilterable( - visConfig.dimensions, - visData, - handlers.hasCompatibleActions?.bind(handlers) - ); + const filterable = visData.rows.length + ? await metricFilterable( + visConfig.dimensions, + visData, + handlers.hasCompatibleActions?.bind(handlers) + ) + : false; const renderComplete = () => { const executionContext = handlers.getExecutionContext(); const containerType = extractContainerType(executionContext); From bb3325f0b1bdf98bce24f89855757e1c484fcf7f Mon Sep 17 00:00:00 2001 From: "Christiane (Tina) Heiligers" Date: Mon, 1 Aug 2022 09:07:22 -0700 Subject: [PATCH 33/37] Migrates core's notifications service to packages (#137653) --- package.json | 6 + packages/BUILD.bazel | 6 + .../BUILD.bazel | 134 ++++++++++++++++++ .../README.md | 3 + .../jest.config.js | 13 ++ .../package.json | 8 ++ .../src}/index.ts | 15 +- .../src}/notifications_service.ts | 19 +-- .../__snapshots__/error_toast.test.tsx.snap | 0 .../global_toast_list.test.tsx.snap | 0 .../toasts_service.test.tsx.snap | 0 .../src}/toasts/error_toast.test.tsx | 0 .../src}/toasts/error_toast.tsx | 2 +- .../src}/toasts/global_toast_list.test.tsx | 8 +- .../src}/toasts/global_toast_list.tsx | 10 +- .../src/toasts/index.ts | 10 ++ .../src}/toasts/toasts_api.test.ts | 0 .../src}/toasts/toasts_api.tsx | 71 ++-------- .../src}/toasts/toasts_service.test.mocks.ts | 0 .../src}/toasts/toasts_service.test.tsx | 0 .../src}/toasts/toasts_service.tsx | 14 +- .../tsconfig.json | 19 +++ .../BUILD.bazel | 103 ++++++++++++++ .../README.md | 3 + .../jest.config.js | 13 ++ .../package.json | 7 + .../src/index.ts | 9 ++ .../src}/notifications_service.mock.ts | 11 +- .../src}/toasts_service.mock.ts | 2 +- .../tsconfig.json | 18 +++ .../core-notifications-browser/BUILD.bazel | 108 ++++++++++++++ .../core-notifications-browser/README.md | 3 + .../core-notifications-browser/jest.config.js | 13 ++ .../core-notifications-browser/package.json | 8 ++ .../src/contracts.ts | 33 +++++ .../core-notifications-browser/src}/index.ts | 8 +- .../core-notifications-browser/src/types.ts | 77 ++++++++++ .../core-notifications-browser/tsconfig.json | 18 +++ src/core/public/chrome/chrome_service.test.ts | 2 +- src/core/public/chrome/chrome_service.tsx | 2 +- src/core/public/core_app/core_app.ts | 2 +- .../core_app/errors/public_base_url.test.tsx | 2 +- .../core_app/errors/url_overflow.test.ts | 4 +- .../public/core_app/errors/url_overflow.tsx | 2 +- .../core_app/status/lib/load_status.test.ts | 2 +- .../public/core_app/status/lib/load_status.ts | 2 +- .../public/core_app/status/render_app.tsx | 2 +- .../public/core_app/status/status_app.tsx | 2 +- src/core/public/core_system.test.mocks.ts | 4 +- src/core/public/core_system.ts | 2 +- src/core/public/index.ts | 7 +- src/core/public/mocks.ts | 4 +- .../public/plugins/plugins_service.test.ts | 2 +- .../search/fetch/handle_response.test.ts | 2 +- src/plugins/data_views/common/types.ts | 2 +- yarn.lock | 24 ++++ 56 files changed, 694 insertions(+), 147 deletions(-) create mode 100644 packages/core/notifications/core-notifications-browser-internal/BUILD.bazel create mode 100644 packages/core/notifications/core-notifications-browser-internal/README.md create mode 100644 packages/core/notifications/core-notifications-browser-internal/jest.config.js create mode 100644 packages/core/notifications/core-notifications-browser-internal/package.json rename {src/core/public/notifications => packages/core/notifications/core-notifications-browser-internal/src}/index.ts (52%) rename {src/core/public/notifications => packages/core/notifications/core-notifications-browser-internal/src}/notifications_service.ts (87%) rename {src/core/public/notifications => packages/core/notifications/core-notifications-browser-internal/src}/toasts/__snapshots__/error_toast.test.tsx.snap (100%) rename {src/core/public/notifications => packages/core/notifications/core-notifications-browser-internal/src}/toasts/__snapshots__/global_toast_list.test.tsx.snap (100%) rename {src/core/public/notifications => packages/core/notifications/core-notifications-browser-internal/src}/toasts/__snapshots__/toasts_service.test.tsx.snap (100%) rename {src/core/public/notifications => packages/core/notifications/core-notifications-browser-internal/src}/toasts/error_toast.test.tsx (100%) rename {src/core/public/notifications => packages/core/notifications/core-notifications-browser-internal/src}/toasts/error_toast.tsx (98%) rename {src/core/public/notifications => packages/core/notifications/core-notifications-browser-internal/src}/toasts/global_toast_list.test.tsx (85%) rename {src/core/public/notifications => packages/core/notifications/core-notifications-browser-internal/src}/toasts/global_toast_list.tsx (87%) create mode 100644 packages/core/notifications/core-notifications-browser-internal/src/toasts/index.ts rename {src/core/public/notifications => packages/core/notifications/core-notifications-browser-internal/src}/toasts/toasts_api.test.ts (100%) rename {src/core/public/notifications => packages/core/notifications/core-notifications-browser-internal/src}/toasts/toasts_api.tsx (78%) rename {src/core/public/notifications => packages/core/notifications/core-notifications-browser-internal/src}/toasts/toasts_service.test.mocks.ts (100%) rename {src/core/public/notifications => packages/core/notifications/core-notifications-browser-internal/src}/toasts/toasts_service.test.tsx (100%) rename {src/core/public/notifications => packages/core/notifications/core-notifications-browser-internal/src}/toasts/toasts_service.tsx (90%) create mode 100644 packages/core/notifications/core-notifications-browser-internal/tsconfig.json create mode 100644 packages/core/notifications/core-notifications-browser-mocks/BUILD.bazel create mode 100644 packages/core/notifications/core-notifications-browser-mocks/README.md create mode 100644 packages/core/notifications/core-notifications-browser-mocks/jest.config.js create mode 100644 packages/core/notifications/core-notifications-browser-mocks/package.json create mode 100644 packages/core/notifications/core-notifications-browser-mocks/src/index.ts rename {src/core/public/notifications => packages/core/notifications/core-notifications-browser-mocks/src}/notifications_service.mock.ts (81%) rename {src/core/public/notifications/toasts => packages/core/notifications/core-notifications-browser-mocks/src}/toasts_service.mock.ts (93%) create mode 100644 packages/core/notifications/core-notifications-browser-mocks/tsconfig.json create mode 100644 packages/core/notifications/core-notifications-browser/BUILD.bazel create mode 100644 packages/core/notifications/core-notifications-browser/README.md create mode 100644 packages/core/notifications/core-notifications-browser/jest.config.js create mode 100644 packages/core/notifications/core-notifications-browser/package.json create mode 100644 packages/core/notifications/core-notifications-browser/src/contracts.ts rename {src/core/public/notifications/toasts => packages/core/notifications/core-notifications-browser/src}/index.ts (75%) create mode 100644 packages/core/notifications/core-notifications-browser/src/types.ts create mode 100644 packages/core/notifications/core-notifications-browser/tsconfig.json diff --git a/package.json b/package.json index 204389c0d73d6c..f0ea47b2b80789 100644 --- a/package.json +++ b/package.json @@ -223,6 +223,9 @@ "@kbn/core-node-server": "link:bazel-bin/packages/core/node/core-node-server", "@kbn/core-node-server-internal": "link:bazel-bin/packages/core/node/core-node-server-internal", "@kbn/core-node-server-mocks": "link:bazel-bin/packages/core/node/core-node-server-mocks", + "@kbn/core-notifications-browser": "link:bazel-bin/packages/core/notifications/core-notifications-browser", + "@kbn/core-notifications-browser-internal": "link:bazel-bin/packages/core/notifications/core-notifications-browser-internal", + "@kbn/core-notifications-browser-mocks": "link:bazel-bin/packages/core/notifications/core-notifications-browser-mocks", "@kbn/core-overlays-browser": "link:bazel-bin/packages/core/overlays/core-overlays-browser", "@kbn/core-overlays-browser-internal": "link:bazel-bin/packages/core/overlays/core-overlays-browser-internal", "@kbn/core-overlays-browser-mocks": "link:bazel-bin/packages/core/overlays/core-overlays-browser-mocks", @@ -850,6 +853,9 @@ "@types/kbn__core-node-server": "link:bazel-bin/packages/core/node/core-node-server/npm_module_types", "@types/kbn__core-node-server-internal": "link:bazel-bin/packages/core/node/core-node-server-internal/npm_module_types", "@types/kbn__core-node-server-mocks": "link:bazel-bin/packages/core/node/core-node-server-mocks/npm_module_types", + "@types/kbn__core-notifications-browser": "link:bazel-bin/packages/core/notifications/core-notifications-browser/npm_module_types", + "@types/kbn__core-notifications-browser-internal": "link:bazel-bin/packages/core/notifications/core-notifications-browser-internal/npm_module_types", + "@types/kbn__core-notifications-browser-mocks": "link:bazel-bin/packages/core/notifications/core-notifications-browser-mocks/npm_module_types", "@types/kbn__core-overlays-browser": "link:bazel-bin/packages/core/overlays/core-overlays-browser/npm_module_types", "@types/kbn__core-overlays-browser-internal": "link:bazel-bin/packages/core/overlays/core-overlays-browser-internal/npm_module_types", "@types/kbn__core-overlays-browser-mocks": "link:bazel-bin/packages/core/overlays/core-overlays-browser-mocks/npm_module_types", diff --git a/packages/BUILD.bazel b/packages/BUILD.bazel index 539c8d14127985..ad1c6d019d7a51 100644 --- a/packages/BUILD.bazel +++ b/packages/BUILD.bazel @@ -91,6 +91,9 @@ filegroup( "//packages/core/node/core-node-server-internal:build", "//packages/core/node/core-node-server-mocks:build", "//packages/core/node/core-node-server:build", + "//packages/core/notifications/core-notifications-browser-internal:build", + "//packages/core/notifications/core-notifications-browser-mocks:build", + "//packages/core/notifications/core-notifications-browser:build", "//packages/core/overlays/core-overlays-browser-internal:build", "//packages/core/overlays/core-overlays-browser-mocks:build", "//packages/core/overlays/core-overlays-browser:build", @@ -343,6 +346,9 @@ filegroup( "//packages/core/node/core-node-server-internal:build_types", "//packages/core/node/core-node-server-mocks:build_types", "//packages/core/node/core-node-server:build_types", + "//packages/core/notifications/core-notifications-browser-internal:build_types", + "//packages/core/notifications/core-notifications-browser-mocks:build_types", + "//packages/core/notifications/core-notifications-browser:build_types", "//packages/core/overlays/core-overlays-browser-internal:build_types", "//packages/core/overlays/core-overlays-browser-mocks:build_types", "//packages/core/overlays/core-overlays-browser:build_types", diff --git a/packages/core/notifications/core-notifications-browser-internal/BUILD.bazel b/packages/core/notifications/core-notifications-browser-internal/BUILD.bazel new file mode 100644 index 00000000000000..abd56b4433c75e --- /dev/null +++ b/packages/core/notifications/core-notifications-browser-internal/BUILD.bazel @@ -0,0 +1,134 @@ +load("@npm//@bazel/typescript:index.bzl", "ts_config") +load("@build_bazel_rules_nodejs//:index.bzl", "js_library") +load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project") + +PKG_DIRNAME = "core-notifications-browser-internal" +PKG_REQUIRE_NAME = "@kbn/core-notifications-browser-internal" + +SOURCE_FILES = glob( + [ + "src/**/*.ts", + "src/**/*.tsx", + ], + exclude = [ + "**/*.test.*", + "**/*.stories.*", + ], +) + +SRCS = SOURCE_FILES + +filegroup( + name = "srcs", + srcs = SRCS, +) + +NPM_MODULE_EXTRA_FILES = [ + "package.json", +] + +RUNTIME_DEPS = [ + "@npm//react", + "@npm//react-dom", + "@npm//rxjs", + "@npm//lodash", + "@npm//@elastic/eui", + "@npm//enzyme", + "//packages/kbn-i18n", + "//packages/kbn-i18n-react", + "//packages/core/theme/core-theme-browser-internal", + "//packages/core/overlays/core-overlays-browser-mocks", + "//packages/core/theme/core-theme-browser-mocks", + "//packages/core/ui-settings/core-ui-settings-browser-mocks", + "//packages/core/mount-utils/core-mount-utils-browser-internal", +] + +TYPES_DEPS = [ + "@npm//@types/node", + "@npm//@types/jest", + "@npm//@types/react", + "@npm//@types/react-dom", + "@npm//rxjs", + "@npm//lodash", + "@npm//@elastic/eui", + "@npm//enzyme", + "//packages/kbn-i18n-react:npm_module_types", + "//packages/kbn-i18n:npm_module_types", + "//packages/kbn-utility-types:npm_module_types", + "//packages/core/theme/core-theme-browser:npm_module_types", + "//packages/core/theme/core-theme-browser-internal:npm_module_types", + "//packages/core/i18n/core-i18n-browser:npm_module_types", + "//packages/core/ui-settings/core-ui-settings-browser:npm_module_types", + "//packages/core/overlays/core-overlays-browser:npm_module_types", + "//packages/core/notifications/core-notifications-browser:npm_module_types", + "//packages/core/mount-utils/core-mount-utils-browser-internal:npm_module_types", +] + +jsts_transpiler( + name = "target_node", + srcs = SRCS, + build_pkg_name = package_name(), +) + +jsts_transpiler( + name = "target_web", + srcs = SRCS, + build_pkg_name = package_name(), + web = True, +) + +ts_config( + name = "tsconfig", + src = "tsconfig.json", + deps = [ + "//:tsconfig.base.json", + "//:tsconfig.bazel.json", + ], +) + +ts_project( + name = "tsc_types", + args = ['--pretty'], + srcs = SRCS, + deps = TYPES_DEPS, + declaration = True, + declaration_map = True, + emit_declaration_only = True, + out_dir = "target_types", + root_dir = "src", + tsconfig = ":tsconfig", +) + +js_library( + name = PKG_DIRNAME, + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + +pkg_npm( + name = "npm_module", + deps = [":" + PKG_DIRNAME], +) + +filegroup( + name = "build", + srcs = [":npm_module"], + visibility = ["//visibility:public"], +) + +pkg_npm_types( + name = "npm_module_types", + srcs = SRCS, + deps = [":tsc_types"], + package_name = PKG_REQUIRE_NAME, + tsconfig = ":tsconfig", + visibility = ["//visibility:public"], +) + +filegroup( + name = "build_types", + srcs = [":npm_module_types"], + visibility = ["//visibility:public"], +) diff --git a/packages/core/notifications/core-notifications-browser-internal/README.md b/packages/core/notifications/core-notifications-browser-internal/README.md new file mode 100644 index 00000000000000..53b526413d2668 --- /dev/null +++ b/packages/core/notifications/core-notifications-browser-internal/README.md @@ -0,0 +1,3 @@ +# @kbn/core-notifications-browser-internal + +This package contains the implementation and internal types for core's browser-side notifications service. diff --git a/packages/core/notifications/core-notifications-browser-internal/jest.config.js b/packages/core/notifications/core-notifications-browser-internal/jest.config.js new file mode 100644 index 00000000000000..d9207a258dc6dc --- /dev/null +++ b/packages/core/notifications/core-notifications-browser-internal/jest.config.js @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../..', + roots: ['/packages/core/notifications/core-notifications-browser-internal'], +}; diff --git a/packages/core/notifications/core-notifications-browser-internal/package.json b/packages/core/notifications/core-notifications-browser-internal/package.json new file mode 100644 index 00000000000000..c31bff466d5224 --- /dev/null +++ b/packages/core/notifications/core-notifications-browser-internal/package.json @@ -0,0 +1,8 @@ +{ + "name": "@kbn/core-notifications-browser-internal", + "private": true, + "version": "1.0.0", + "main": "./target_node/index.js", + "browser": "./target_web/index.js", + "license": "SSPL-1.0 OR Elastic License 2.0" +} diff --git a/src/core/public/notifications/index.ts b/packages/core/notifications/core-notifications-browser-internal/src/index.ts similarity index 52% rename from src/core/public/notifications/index.ts rename to packages/core/notifications/core-notifications-browser-internal/src/index.ts index e93ff5c7513991..976caa1e10bb58 100644 --- a/src/core/public/notifications/index.ts +++ b/packages/core/notifications/core-notifications-browser-internal/src/index.ts @@ -5,16 +5,5 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ -export { NotificationsService } from './notifications_service'; -export type { - ErrorToastOptions, - ToastOptions, - Toast, - ToastInput, - IToasts, - ToastsApi, - ToastInputFields, - ToastsSetup, - ToastsStart, -} from './toasts'; -export type { NotificationsSetup, NotificationsStart } from './notifications_service'; +export { NotificationsService, type NotificationsServiceContract } from './notifications_service'; +export type { ToastsApi } from './toasts'; diff --git a/src/core/public/notifications/notifications_service.ts b/packages/core/notifications/core-notifications-browser-internal/src/notifications_service.ts similarity index 87% rename from src/core/public/notifications/notifications_service.ts rename to packages/core/notifications/core-notifications-browser-internal/src/notifications_service.ts index 14137d81edf953..01d23f13784d40 100644 --- a/src/core/public/notifications/notifications_service.ts +++ b/packages/core/notifications/core-notifications-browser-internal/src/notifications_service.ts @@ -13,7 +13,9 @@ import type { ThemeServiceStart } from '@kbn/core-theme-browser'; import type { I18nStart } from '@kbn/core-i18n-browser'; import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; import type { OverlayStart } from '@kbn/core-overlays-browser'; -import { ToastsService, ToastsSetup, ToastsStart } from './toasts'; +import type { NotificationsSetup, NotificationsStart } from '@kbn/core-notifications-browser'; +import type { PublicMethodsOf } from '@kbn/utility-types'; +import { ToastsService } from './toasts'; export interface SetupDeps { uiSettings: IUiSettingsClient; @@ -84,14 +86,7 @@ export class NotificationsService { } } -/** @public */ -export interface NotificationsSetup { - /** {@link ToastsSetup} */ - toasts: ToastsSetup; -} - -/** @public */ -export interface NotificationsStart { - /** {@link ToastsStart} */ - toasts: ToastsStart; -} +/** + * @public {@link NotificationsService} + */ +export type NotificationsServiceContract = PublicMethodsOf; diff --git a/src/core/public/notifications/toasts/__snapshots__/error_toast.test.tsx.snap b/packages/core/notifications/core-notifications-browser-internal/src/toasts/__snapshots__/error_toast.test.tsx.snap similarity index 100% rename from src/core/public/notifications/toasts/__snapshots__/error_toast.test.tsx.snap rename to packages/core/notifications/core-notifications-browser-internal/src/toasts/__snapshots__/error_toast.test.tsx.snap diff --git a/src/core/public/notifications/toasts/__snapshots__/global_toast_list.test.tsx.snap b/packages/core/notifications/core-notifications-browser-internal/src/toasts/__snapshots__/global_toast_list.test.tsx.snap similarity index 100% rename from src/core/public/notifications/toasts/__snapshots__/global_toast_list.test.tsx.snap rename to packages/core/notifications/core-notifications-browser-internal/src/toasts/__snapshots__/global_toast_list.test.tsx.snap diff --git a/src/core/public/notifications/toasts/__snapshots__/toasts_service.test.tsx.snap b/packages/core/notifications/core-notifications-browser-internal/src/toasts/__snapshots__/toasts_service.test.tsx.snap similarity index 100% rename from src/core/public/notifications/toasts/__snapshots__/toasts_service.test.tsx.snap rename to packages/core/notifications/core-notifications-browser-internal/src/toasts/__snapshots__/toasts_service.test.tsx.snap diff --git a/src/core/public/notifications/toasts/error_toast.test.tsx b/packages/core/notifications/core-notifications-browser-internal/src/toasts/error_toast.test.tsx similarity index 100% rename from src/core/public/notifications/toasts/error_toast.test.tsx rename to packages/core/notifications/core-notifications-browser-internal/src/toasts/error_toast.test.tsx diff --git a/src/core/public/notifications/toasts/error_toast.tsx b/packages/core/notifications/core-notifications-browser-internal/src/toasts/error_toast.tsx similarity index 98% rename from src/core/public/notifications/toasts/error_toast.tsx rename to packages/core/notifications/core-notifications-browser-internal/src/toasts/error_toast.tsx index bef4833d0097d1..75db975d937216 100644 --- a/src/core/public/notifications/toasts/error_toast.tsx +++ b/packages/core/notifications/core-notifications-browser-internal/src/toasts/error_toast.tsx @@ -21,7 +21,7 @@ import { import { EuiSpacer } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; import type { I18nStart } from '@kbn/core-i18n-browser'; -import { OverlayStart } from '../..'; +import type { OverlayStart } from '@kbn/core-overlays-browser'; interface ErrorToastProps { title: string; diff --git a/src/core/public/notifications/toasts/global_toast_list.test.tsx b/packages/core/notifications/core-notifications-browser-internal/src/toasts/global_toast_list.test.tsx similarity index 85% rename from src/core/public/notifications/toasts/global_toast_list.test.tsx rename to packages/core/notifications/core-notifications-browser-internal/src/toasts/global_toast_list.test.tsx index 25cab35d0d120c..77430aa951b116 100644 --- a/src/core/public/notifications/toasts/global_toast_list.test.tsx +++ b/packages/core/notifications/core-notifications-browser-internal/src/toasts/global_toast_list.test.tsx @@ -9,12 +9,12 @@ import { EuiGlobalToastList } from '@elastic/eui'; import { shallow } from 'enzyme'; import React from 'react'; -import * as Rx from 'rxjs'; +import { Observable, from, EMPTY } from 'rxjs'; import { GlobalToastList } from './global_toast_list'; function render(props: Partial = {}) { - return ; + return ; } it('renders matching snapshot', () => { @@ -29,7 +29,7 @@ it('subscribes to toasts$ on mount and unsubscribes on unmount', () => { }); const component = render({ - toasts$: new Rx.Observable(subscribeSpy), + toasts$: new Observable(subscribeSpy), }); expect(subscribeSpy).not.toHaveBeenCalled(); @@ -46,7 +46,7 @@ it('subscribes to toasts$ on mount and unsubscribes on unmount', () => { it('passes latest value from toasts$ to ', () => { const el = shallow( render({ - toasts$: Rx.from([[], [{ id: '1' }], [{ id: '1' }, { id: '2' }]]) as any, + toasts$: from([[], [{ id: '1' }], [{ id: '1' }, { id: '2' }]]) as any, }) ); diff --git a/src/core/public/notifications/toasts/global_toast_list.tsx b/packages/core/notifications/core-notifications-browser-internal/src/toasts/global_toast_list.tsx similarity index 87% rename from src/core/public/notifications/toasts/global_toast_list.tsx rename to packages/core/notifications/core-notifications-browser-internal/src/toasts/global_toast_list.tsx index 6e1ab11601d7e1..db700da12cf0a9 100644 --- a/src/core/public/notifications/toasts/global_toast_list.tsx +++ b/packages/core/notifications/core-notifications-browser-internal/src/toasts/global_toast_list.tsx @@ -8,14 +8,14 @@ import { EuiGlobalToastList, EuiGlobalToastListToast as EuiToast } from '@elastic/eui'; import React from 'react'; -import * as Rx from 'rxjs'; +import { Observable, type Subscription } from 'rxjs'; import { i18n } from '@kbn/i18n'; -import { MountWrapper } from '../../utils'; -import { Toast } from './toasts_api'; +import type { Toast } from '@kbn/core-notifications-browser'; +import { MountWrapper } from '@kbn/core-mount-utils-browser-internal'; interface Props { - toasts$: Rx.Observable; + toasts$: Observable; dismissToast: (toastId: string) => void; } @@ -34,7 +34,7 @@ export class GlobalToastList extends React.Component { toasts: [], }; - private subscription?: Rx.Subscription; + private subscription?: Subscription; public componentDidMount() { this.subscription = this.props.toasts$.subscribe((toasts) => { diff --git a/packages/core/notifications/core-notifications-browser-internal/src/toasts/index.ts b/packages/core/notifications/core-notifications-browser-internal/src/toasts/index.ts new file mode 100644 index 00000000000000..1d4dd09e67899f --- /dev/null +++ b/packages/core/notifications/core-notifications-browser-internal/src/toasts/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +export { ToastsService } from './toasts_service'; +export type { ToastsApi } from './toasts_api'; diff --git a/src/core/public/notifications/toasts/toasts_api.test.ts b/packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.test.ts similarity index 100% rename from src/core/public/notifications/toasts/toasts_api.test.ts rename to packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.test.ts diff --git a/src/core/public/notifications/toasts/toasts_api.tsx b/packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx similarity index 78% rename from src/core/public/notifications/toasts/toasts_api.tsx rename to packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx index 3a75ab43239760..43e95b68ade20f 100644 --- a/src/core/public/notifications/toasts/toasts_api.tsx +++ b/packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_api.tsx @@ -6,70 +6,24 @@ * Side Public License, v 1. */ -import { EuiGlobalToastListToast as EuiToast } from '@elastic/eui'; import React from 'react'; import * as Rx from 'rxjs'; import { omitBy, isUndefined } from 'lodash'; import type { I18nStart } from '@kbn/core-i18n-browser'; import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; -import type { MountPoint } from '@kbn/core-mount-utils-browser'; import type { OverlayStart } from '@kbn/core-overlays-browser'; import { mountReactNode } from '@kbn/core-mount-utils-browser-internal'; +import type { + ErrorToastOptions, + IToasts, + Toast, + ToastInput, + ToastInputFields, + ToastOptions, +} from '@kbn/core-notifications-browser'; import { ErrorToast } from './error_toast'; -/** - * Allowed fields for {@link ToastInput}. - * - * @remarks - * `id` cannot be specified. - * - * @public - */ -export type ToastInputFields = Pick> & { - title?: string | MountPoint; - text?: string | MountPoint; -}; - -export type Toast = ToastInputFields & { - id: string; -}; - -/** - * Inputs for {@link IToasts} APIs. - * @public - */ -export type ToastInput = string | ToastInputFields; - -/** - * Options available for {@link IToasts} APIs. - * @public - */ -export interface ToastOptions { - /** - * How long should the toast remain on screen. - */ - toastLifeTimeMs?: number; -} - -/** - * Options available for {@link IToasts} error APIs. - * @public - */ -export interface ErrorToastOptions extends ToastOptions { - /** - * The title of the toast and the dialog when expanding the message. - */ - title: string; - /** - * The message to be shown in the toast. If this is not specified the error's - * message will be shown in the toast instead. Overwriting that message can - * be used to provide more user-friendly toasts. If you specify this, the error - * message will still be shown in the detailed error modal. - */ - toastMessage?: string; -} - const normalizeToast = (toastOrTitle: ToastInput): ToastInputFields => { if (typeof toastOrTitle === 'string') { return { @@ -79,15 +33,6 @@ const normalizeToast = (toastOrTitle: ToastInput): ToastInputFields => { return omitBy(toastOrTitle, isUndefined); }; -/** - * Methods for adding and removing global toast messages. See {@link ToastsApi}. - * @public - */ -export type IToasts = Pick< - ToastsApi, - 'get$' | 'add' | 'remove' | 'addSuccess' | 'addWarning' | 'addDanger' | 'addError' | 'addInfo' ->; - /** * Methods for adding and removing global toast messages. * @public diff --git a/src/core/public/notifications/toasts/toasts_service.test.mocks.ts b/packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_service.test.mocks.ts similarity index 100% rename from src/core/public/notifications/toasts/toasts_service.test.mocks.ts rename to packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_service.test.mocks.ts diff --git a/src/core/public/notifications/toasts/toasts_service.test.tsx b/packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_service.test.tsx similarity index 100% rename from src/core/public/notifications/toasts/toasts_service.test.tsx rename to packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_service.test.tsx diff --git a/src/core/public/notifications/toasts/toasts_service.tsx b/packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_service.tsx similarity index 90% rename from src/core/public/notifications/toasts/toasts_service.tsx rename to packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_service.tsx index 40021e3654ce98..18c4804ca60663 100644 --- a/src/core/public/notifications/toasts/toasts_service.tsx +++ b/packages/core/notifications/core-notifications-browser-internal/src/toasts/toasts_service.tsx @@ -15,7 +15,7 @@ import { CoreContextProvider } from '@kbn/core-theme-browser-internal'; import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; import type { OverlayStart } from '@kbn/core-overlays-browser'; import { GlobalToastList } from './global_toast_list'; -import { ToastsApi, IToasts } from './toasts_api'; +import { ToastsApi } from './toasts_api'; interface SetupDeps { uiSettings: IUiSettingsClient; @@ -28,18 +28,6 @@ interface StartDeps { targetDomElement: HTMLElement; } -/** - * {@link IToasts} - * @public - */ -export type ToastsSetup = IToasts; - -/** - * {@link IToasts} - * @public - */ -export type ToastsStart = IToasts; - export class ToastsService { private api?: ToastsApi; private targetDomElement?: HTMLElement; diff --git a/packages/core/notifications/core-notifications-browser-internal/tsconfig.json b/packages/core/notifications/core-notifications-browser-internal/tsconfig.json new file mode 100644 index 00000000000000..d10eb479b3697d --- /dev/null +++ b/packages/core/notifications/core-notifications-browser-internal/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../../tsconfig.bazel.json", + "compilerOptions": { + "declaration": true, + "declarationMap": true, + "emitDeclarationOnly": true, + "outDir": "target_types", + "rootDir": "src", + "stripInternal": false, + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "src/**/*" + ] +} diff --git a/packages/core/notifications/core-notifications-browser-mocks/BUILD.bazel b/packages/core/notifications/core-notifications-browser-mocks/BUILD.bazel new file mode 100644 index 00000000000000..374f15293b3ee0 --- /dev/null +++ b/packages/core/notifications/core-notifications-browser-mocks/BUILD.bazel @@ -0,0 +1,103 @@ +load("@npm//@bazel/typescript:index.bzl", "ts_config") +load("@build_bazel_rules_nodejs//:index.bzl", "js_library") +load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project") + +PKG_DIRNAME = "core-notifications-browser-mocks" +PKG_REQUIRE_NAME = "@kbn/core-notifications-browser-mocks" + +SOURCE_FILES = glob( + [ + "src/**/*.ts", + ], + exclude = [ + "**/*.test.*", + "**/*.stories.*", + ], +) + +SRCS = SOURCE_FILES + +filegroup( + name = "srcs", + srcs = SRCS, +) + +NPM_MODULE_EXTRA_FILES = [ + "package.json", +] + +RUNTIME_DEPS = [ + "@npm//rxjs", + "//packages/core/notifications/core-notifications-browser-internal", +] + +TYPES_DEPS = [ + "@npm//@types/node", + "@npm//@types/jest", + "@npm//rxjs", + "//packages/kbn-utility-types-jest:npm_module_types", + "//packages/core/notifications/core-notifications-browser:npm_module_types", + "//packages/core/notifications/core-notifications-browser-internal:npm_module_types" +] + +jsts_transpiler( + name = "target_node", + srcs = SRCS, + build_pkg_name = package_name(), +) + +ts_config( + name = "tsconfig", + src = "tsconfig.json", + deps = [ + "//:tsconfig.base.json", + "//:tsconfig.bazel.json", + ], +) + +ts_project( + name = "tsc_types", + args = ['--pretty'], + srcs = SRCS, + deps = TYPES_DEPS, + declaration = True, + declaration_map = True, + emit_declaration_only = True, + out_dir = "target_types", + root_dir = "src", + tsconfig = ":tsconfig", +) + +js_library( + name = PKG_DIRNAME, + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + +pkg_npm( + name = "npm_module", + deps = [":" + PKG_DIRNAME], +) + +filegroup( + name = "build", + srcs = [":npm_module"], + visibility = ["//visibility:public"], +) + +pkg_npm_types( + name = "npm_module_types", + srcs = SRCS, + deps = [":tsc_types"], + package_name = PKG_REQUIRE_NAME, + tsconfig = ":tsconfig", + visibility = ["//visibility:public"], +) + +filegroup( + name = "build_types", + srcs = [":npm_module_types"], + visibility = ["//visibility:public"], +) diff --git a/packages/core/notifications/core-notifications-browser-mocks/README.md b/packages/core/notifications/core-notifications-browser-mocks/README.md new file mode 100644 index 00000000000000..51054a5759eacf --- /dev/null +++ b/packages/core/notifications/core-notifications-browser-mocks/README.md @@ -0,0 +1,3 @@ +# @kbn/core-notifications-browser-mocks + +This package contains the mocks for core's browser-side notifications service. diff --git a/packages/core/notifications/core-notifications-browser-mocks/jest.config.js b/packages/core/notifications/core-notifications-browser-mocks/jest.config.js new file mode 100644 index 00000000000000..5ac9ef9af3f02d --- /dev/null +++ b/packages/core/notifications/core-notifications-browser-mocks/jest.config.js @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../..', + roots: ['/packages/core/notifications/core-notifications-browser-mocks'], +}; diff --git a/packages/core/notifications/core-notifications-browser-mocks/package.json b/packages/core/notifications/core-notifications-browser-mocks/package.json new file mode 100644 index 00000000000000..08d2958e3c5eb6 --- /dev/null +++ b/packages/core/notifications/core-notifications-browser-mocks/package.json @@ -0,0 +1,7 @@ +{ + "name": "@kbn/core-notifications-browser-mocks", + "private": true, + "version": "1.0.0", + "main": "./target_node/index.js", + "license": "SSPL-1.0 OR Elastic License 2.0" +} diff --git a/packages/core/notifications/core-notifications-browser-mocks/src/index.ts b/packages/core/notifications/core-notifications-browser-mocks/src/index.ts new file mode 100644 index 00000000000000..ec493cd01435a4 --- /dev/null +++ b/packages/core/notifications/core-notifications-browser-mocks/src/index.ts @@ -0,0 +1,9 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +export { notificationServiceMock } from './notifications_service.mock'; diff --git a/src/core/public/notifications/notifications_service.mock.ts b/packages/core/notifications/core-notifications-browser-mocks/src/notifications_service.mock.ts similarity index 81% rename from src/core/public/notifications/notifications_service.mock.ts rename to packages/core/notifications/core-notifications-browser-mocks/src/notifications_service.mock.ts index 01a2a4a1d5ac9b..93520e227778a8 100644 --- a/src/core/public/notifications/notifications_service.mock.ts +++ b/packages/core/notifications/core-notifications-browser-mocks/src/notifications_service.mock.ts @@ -6,14 +6,10 @@ * Side Public License, v 1. */ -import type { PublicMethodsOf } from '@kbn/utility-types'; import type { MockedKeys } from '@kbn/utility-types-jest'; -import { - NotificationsService, - NotificationsSetup, - NotificationsStart, -} from './notifications_service'; -import { toastsServiceMock } from './toasts/toasts_service.mock'; +import type { NotificationsSetup, NotificationsStart } from '@kbn/core-notifications-browser'; +import type { NotificationsServiceContract } from '@kbn/core-notifications-browser-internal'; +import { toastsServiceMock } from './toasts_service.mock'; const createSetupContractMock = () => { const setupContract: MockedKeys = { @@ -31,7 +27,6 @@ const createStartContractMock = () => { return startContract; }; -type NotificationsServiceContract = PublicMethodsOf; const createMock = () => { const mocked: jest.Mocked = { setup: jest.fn(), diff --git a/src/core/public/notifications/toasts/toasts_service.mock.ts b/packages/core/notifications/core-notifications-browser-mocks/src/toasts_service.mock.ts similarity index 93% rename from src/core/public/notifications/toasts/toasts_service.mock.ts rename to packages/core/notifications/core-notifications-browser-mocks/src/toasts_service.mock.ts index 19d88f590de2fe..be1fbc348bf9a6 100644 --- a/src/core/public/notifications/toasts/toasts_service.mock.ts +++ b/packages/core/notifications/core-notifications-browser-mocks/src/toasts_service.mock.ts @@ -6,8 +6,8 @@ * Side Public License, v 1. */ +import type { IToasts } from '@kbn/core-notifications-browser'; import { Observable } from 'rxjs'; -import { IToasts } from './toasts_api'; const createToastsApiMock = () => { const api: jest.Mocked = { diff --git a/packages/core/notifications/core-notifications-browser-mocks/tsconfig.json b/packages/core/notifications/core-notifications-browser-mocks/tsconfig.json new file mode 100644 index 00000000000000..39d3c7097814ac --- /dev/null +++ b/packages/core/notifications/core-notifications-browser-mocks/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../../tsconfig.bazel.json", + "compilerOptions": { + "declaration": true, + "declarationMap": true, + "emitDeclarationOnly": true, + "outDir": "target_types", + "rootDir": "src", + "stripInternal": false, + "types": [ + "jest", + "node" + ] + }, + "include": [ + "src/**/*" + ] +} diff --git a/packages/core/notifications/core-notifications-browser/BUILD.bazel b/packages/core/notifications/core-notifications-browser/BUILD.bazel new file mode 100644 index 00000000000000..32c20d28b3e78b --- /dev/null +++ b/packages/core/notifications/core-notifications-browser/BUILD.bazel @@ -0,0 +1,108 @@ +load("@npm//@bazel/typescript:index.bzl", "ts_config") +load("@build_bazel_rules_nodejs//:index.bzl", "js_library") +load("//src/dev/bazel:index.bzl", "jsts_transpiler", "pkg_npm", "pkg_npm_types", "ts_project") + +PKG_DIRNAME = "core-notifications-browser" +PKG_REQUIRE_NAME = "@kbn/core-notifications-browser" + +SOURCE_FILES = glob( + [ + "src/**/*.ts", + "src/**/*.tsx", + ], + exclude = [ + "**/*.test.*", + "**/*.stories.*", + ], +) + +SRCS = SOURCE_FILES + +filegroup( + name = "srcs", + srcs = SRCS, +) + +NPM_MODULE_EXTRA_FILES = [ + "package.json", +] + +RUNTIME_DEPS = [ +] + +TYPES_DEPS = [ + "@npm//@types/node", + "@npm//@types/jest", + "@npm//rxjs", + "@npm//@elastic/eui", + "//packages/core/mount-utils/core-mount-utils-browser:npm_module_types" +] + +jsts_transpiler( + name = "target_node", + srcs = SRCS, + build_pkg_name = package_name(), +) + +jsts_transpiler( + name = "target_web", + srcs = SRCS, + build_pkg_name = package_name(), + web = True, +) + +ts_config( + name = "tsconfig", + src = "tsconfig.json", + deps = [ + "//:tsconfig.base.json", + "//:tsconfig.bazel.json", + ], +) + +ts_project( + name = "tsc_types", + args = ['--pretty'], + srcs = SRCS, + deps = TYPES_DEPS, + declaration = True, + declaration_map = True, + emit_declaration_only = True, + out_dir = "target_types", + root_dir = "src", + tsconfig = ":tsconfig", +) + +js_library( + name = PKG_DIRNAME, + srcs = NPM_MODULE_EXTRA_FILES, + deps = RUNTIME_DEPS + [":target_node", ":target_web"], + package_name = PKG_REQUIRE_NAME, + visibility = ["//visibility:public"], +) + +pkg_npm( + name = "npm_module", + deps = [":" + PKG_DIRNAME], +) + +filegroup( + name = "build", + srcs = [":npm_module"], + visibility = ["//visibility:public"], +) + +pkg_npm_types( + name = "npm_module_types", + srcs = SRCS, + deps = [":tsc_types"], + package_name = PKG_REQUIRE_NAME, + tsconfig = ":tsconfig", + visibility = ["//visibility:public"], +) + +filegroup( + name = "build_types", + srcs = [":npm_module_types"], + visibility = ["//visibility:public"], +) diff --git a/packages/core/notifications/core-notifications-browser/README.md b/packages/core/notifications/core-notifications-browser/README.md new file mode 100644 index 00000000000000..9b72649544f894 --- /dev/null +++ b/packages/core/notifications/core-notifications-browser/README.md @@ -0,0 +1,3 @@ +# @kbn/core-notifications-browser + +This package contains the public types for core's browser-side notifications service. diff --git a/packages/core/notifications/core-notifications-browser/jest.config.js b/packages/core/notifications/core-notifications-browser/jest.config.js new file mode 100644 index 00000000000000..2f2e84fbf8f33a --- /dev/null +++ b/packages/core/notifications/core-notifications-browser/jest.config.js @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../..', + roots: ['/packages/core/notifications/core-notifications-browser'], +}; diff --git a/packages/core/notifications/core-notifications-browser/package.json b/packages/core/notifications/core-notifications-browser/package.json new file mode 100644 index 00000000000000..c38afd1db5d49e --- /dev/null +++ b/packages/core/notifications/core-notifications-browser/package.json @@ -0,0 +1,8 @@ +{ + "name": "@kbn/core-notifications-browser", + "private": true, + "version": "1.0.0", + "main": "./target_node/index.js", + "browser": "./target_web/index.js", + "license": "SSPL-1.0 OR Elastic License 2.0" +} diff --git a/packages/core/notifications/core-notifications-browser/src/contracts.ts b/packages/core/notifications/core-notifications-browser/src/contracts.ts new file mode 100644 index 00000000000000..c89b4dc226e2b1 --- /dev/null +++ b/packages/core/notifications/core-notifications-browser/src/contracts.ts @@ -0,0 +1,33 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import type { IToasts } from './types'; + +/** + * {@link IToasts} + * @public + */ +export type ToastsSetup = IToasts; + +/** + * {@link IToasts} + * @public + */ +export type ToastsStart = IToasts; + +/** @public */ +export interface NotificationsSetup { + /** {@link ToastsSetup} */ + toasts: ToastsSetup; +} + +/** @public */ +export interface NotificationsStart { + /** {@link ToastsStart} */ + toasts: ToastsStart; +} diff --git a/src/core/public/notifications/toasts/index.ts b/packages/core/notifications/core-notifications-browser/src/index.ts similarity index 75% rename from src/core/public/notifications/toasts/index.ts rename to packages/core/notifications/core-notifications-browser/src/index.ts index 6681ca4a8e8f37..f64a7d56c65dc6 100644 --- a/src/core/public/notifications/toasts/index.ts +++ b/packages/core/notifications/core-notifications-browser/src/index.ts @@ -6,14 +6,12 @@ * Side Public License, v 1. */ -export { ToastsService } from './toasts_service'; -export type { ToastsSetup, ToastsStart } from './toasts_service'; export type { ErrorToastOptions, ToastOptions, - ToastsApi, + Toast, ToastInput, IToasts, ToastInputFields, - Toast, -} from './toasts_api'; +} from './types'; +export type { ToastsSetup, ToastsStart, NotificationsSetup, NotificationsStart } from './contracts'; diff --git a/packages/core/notifications/core-notifications-browser/src/types.ts b/packages/core/notifications/core-notifications-browser/src/types.ts new file mode 100644 index 00000000000000..3b971df71fb62e --- /dev/null +++ b/packages/core/notifications/core-notifications-browser/src/types.ts @@ -0,0 +1,77 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +import type { Observable } from 'rxjs'; +import type { EuiGlobalToastListToast as EuiToast } from '@elastic/eui'; +import type { MountPoint } from '@kbn/core-mount-utils-browser'; + +/** + * Allowed fields for {@link ToastInput}. + * + * @remarks + * `id` cannot be specified. + * + * @public + */ +export type ToastInputFields = Pick> & { + title?: string | MountPoint; + text?: string | MountPoint; +}; + +export type Toast = ToastInputFields & { + id: string; +}; + +/** + * Inputs for {@link IToasts} APIs. + * @public + */ +export type ToastInput = string | ToastInputFields; + +/** + * Options available for {@link IToasts} APIs. + * @public + */ +export interface ToastOptions { + /** + * How long should the toast remain on screen. + */ + toastLifeTimeMs?: number; +} + +/** + * Options available for {@link IToasts} error APIs. + * @public + */ +export interface ErrorToastOptions extends ToastOptions { + /** + * The title of the toast and the dialog when expanding the message. + */ + title: string; + /** + * The message to be shown in the toast. If this is not specified the error's + * message will be shown in the toast instead. Overwriting that message can + * be used to provide more user-friendly toasts. If you specify this, the error + * message will still be shown in the detailed error modal. + */ + toastMessage?: string; +} + +/** + * Methods for adding and removing global toast messages. See {@link ToastsApi}. + * @public + */ +export interface IToasts { + get$: () => Observable; + add: (toastOrTitle: ToastInput) => Toast; + remove: (toastOrId: Toast | string) => void; + addInfo: (toastOrTitle: ToastInput, options?: any) => Toast; + addSuccess: (toastOrTitle: ToastInput, options?: any) => Toast; + addWarning: (toastOrTitle: ToastInput, options?: any) => Toast; + addDanger: (toastOrTitle: ToastInput, options?: any) => Toast; + addError: (error: Error, options: ErrorToastOptions) => Toast; +} diff --git a/packages/core/notifications/core-notifications-browser/tsconfig.json b/packages/core/notifications/core-notifications-browser/tsconfig.json new file mode 100644 index 00000000000000..4c665fe2ba49a5 --- /dev/null +++ b/packages/core/notifications/core-notifications-browser/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../../tsconfig.bazel.json", + "compilerOptions": { + "declaration": true, + "declarationMap": true, + "emitDeclarationOnly": true, + "outDir": "target_types", + "rootDir": "src", + "stripInternal": false, + "types": [ + "jest", + "node", + ] + }, + "include": [ + "src/**/*" + ] +} diff --git a/src/core/public/chrome/chrome_service.test.ts b/src/core/public/chrome/chrome_service.test.ts index 737b561bed8e30..c6eae3009dfff6 100644 --- a/src/core/public/chrome/chrome_service.test.ts +++ b/src/core/public/chrome/chrome_service.test.ts @@ -15,7 +15,7 @@ import { docLinksServiceMock } from '@kbn/core-doc-links-browser-mocks'; import { httpServiceMock } from '@kbn/core-http-browser-mocks'; import { App, PublicAppInfo } from '../application'; import { applicationServiceMock } from '../application/application_service.mock'; -import { notificationServiceMock } from '../notifications/notifications_service.mock'; +import { notificationServiceMock } from '@kbn/core-notifications-browser-mocks'; import { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; import { ChromeService } from './chrome_service'; import { getAppInfo } from '../application/utils'; diff --git a/src/core/public/chrome/chrome_service.tsx b/src/core/public/chrome/chrome_service.tsx index 97e9bce2ff245b..281bafe7a42499 100644 --- a/src/core/public/chrome/chrome_service.tsx +++ b/src/core/public/chrome/chrome_service.tsx @@ -16,8 +16,8 @@ import type { InternalInjectedMetadataStart } from '@kbn/core-injected-metadata- import type { DocLinksStart } from '@kbn/core-doc-links-browser'; import type { HttpStart } from '@kbn/core-http-browser'; import { mountReactNode } from '@kbn/core-mount-utils-browser-internal'; +import type { NotificationsStart } from '@kbn/core-notifications-browser'; import type { InternalApplicationStart } from '../application'; -import type { NotificationsStart } from '../notifications'; import { KIBANA_ASK_ELASTIC_LINK } from './constants'; import { type ChromeDocTitle, DocTitleService } from './doc_title'; import { type ChromeNavControls, NavControlsService } from './nav_controls'; diff --git a/src/core/public/core_app/core_app.ts b/src/core/public/core_app/core_app.ts index d834ece6e76cf8..1b013b792f6275 100644 --- a/src/core/public/core_app/core_app.ts +++ b/src/core/public/core_app/core_app.ts @@ -12,13 +12,13 @@ import type { InternalInjectedMetadataSetup } from '@kbn/core-injected-metadata- import type { DocLinksStart } from '@kbn/core-doc-links-browser'; import type { HttpSetup, HttpStart } from '@kbn/core-http-browser'; import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; +import type { NotificationsSetup, NotificationsStart } from '@kbn/core-notifications-browser'; import { type InternalApplicationSetup, type InternalApplicationStart, AppNavLinkStatus, type AppMountParameters, } from '../application'; -import type { NotificationsSetup, NotificationsStart } from '../notifications'; import { renderApp as renderErrorApp, setupPublicBaseUrlConfigWarning, diff --git a/src/core/public/core_app/errors/public_base_url.test.tsx b/src/core/public/core_app/errors/public_base_url.test.tsx index aa01058010a6e4..edcdc18740664c 100644 --- a/src/core/public/core_app/errors/public_base_url.test.tsx +++ b/src/core/public/core_app/errors/public_base_url.test.tsx @@ -9,7 +9,7 @@ import { docLinksServiceMock } from '@kbn/core-doc-links-browser-mocks'; import { httpServiceMock } from '@kbn/core-http-browser-mocks'; -import { notificationServiceMock } from '../../notifications/notifications_service.mock'; +import { notificationServiceMock } from '@kbn/core-notifications-browser-mocks'; import { setupPublicBaseUrlConfigWarning } from './public_base_url'; describe('publicBaseUrl warning', () => { diff --git a/src/core/public/core_app/errors/url_overflow.test.ts b/src/core/public/core_app/errors/url_overflow.test.ts index e68b80931d2ec2..bdf8bdf0abc6a9 100644 --- a/src/core/public/core_app/errors/url_overflow.test.ts +++ b/src/core/public/core_app/errors/url_overflow.test.ts @@ -10,9 +10,9 @@ import { createMemoryHistory, History } from 'history'; import type { IBasePath } from '@kbn/core-http-browser'; import { BasePath } from '@kbn/core-http-browser-internal'; -import { notificationServiceMock } from '../../notifications/notifications_service.mock'; +import { notificationServiceMock } from '@kbn/core-notifications-browser-mocks'; import { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; -import type { IToasts } from '../../notifications'; +import type { IToasts } from '@kbn/core-notifications-browser'; import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; import { setupUrlOverflowDetection, URL_MAX_LENGTH, URL_WARNING_LENGTH } from './url_overflow'; diff --git a/src/core/public/core_app/errors/url_overflow.tsx b/src/core/public/core_app/errors/url_overflow.tsx index 9b71dbf882059a..4557ad36585243 100644 --- a/src/core/public/core_app/errors/url_overflow.tsx +++ b/src/core/public/core_app/errors/url_overflow.tsx @@ -15,7 +15,7 @@ import type { IBasePath } from '@kbn/core-http-browser'; import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser'; import { mountReactNode } from '@kbn/core-mount-utils-browser-internal'; -import { IToasts } from '../../notifications'; +import type { IToasts } from '@kbn/core-notifications-browser'; const IE_REGEX = /(; ?MSIE |Edge\/\d|Trident\/[\d+\.]+;.*rv:*11\.\d+)/; export const IS_IE = IE_REGEX.test(window.navigator.userAgent); diff --git a/src/core/public/core_app/status/lib/load_status.test.ts b/src/core/public/core_app/status/lib/load_status.test.ts index 348e796e615e61..f14e250fec4b50 100644 --- a/src/core/public/core_app/status/lib/load_status.test.ts +++ b/src/core/public/core_app/status/lib/load_status.test.ts @@ -8,7 +8,7 @@ import { httpServiceMock } from '@kbn/core-http-browser-mocks'; import type { StatusResponse } from '../../../../types/status'; -import { notificationServiceMock } from '../../../notifications/notifications_service.mock'; +import { notificationServiceMock } from '@kbn/core-notifications-browser-mocks'; import { mocked } from '@kbn/core-metrics-collectors-server-mocks'; import { loadStatus } from './load_status'; diff --git a/src/core/public/core_app/status/lib/load_status.ts b/src/core/public/core_app/status/lib/load_status.ts index d8ebf9510ca9a5..6a5dfa7ad3e45c 100644 --- a/src/core/public/core_app/status/lib/load_status.ts +++ b/src/core/public/core_app/status/lib/load_status.ts @@ -8,8 +8,8 @@ import { i18n } from '@kbn/i18n'; import type { HttpSetup } from '@kbn/core-http-browser'; +import type { NotificationsSetup } from '@kbn/core-notifications-browser'; import type { StatusResponse, ServiceStatus, ServiceStatusLevel } from '../../../../types/status'; -import type { NotificationsSetup } from '../../../notifications'; import type { DataType } from '.'; interface MetricMeta { diff --git a/src/core/public/core_app/status/render_app.tsx b/src/core/public/core_app/status/render_app.tsx index 545ebcf6c47e7c..da28ed0ee9f847 100644 --- a/src/core/public/core_app/status/render_app.tsx +++ b/src/core/public/core_app/status/render_app.tsx @@ -11,8 +11,8 @@ import ReactDOM from 'react-dom'; import { I18nProvider } from '@kbn/i18n-react'; import { CoreThemeProvider } from '@kbn/core-theme-browser-internal'; import type { HttpSetup } from '@kbn/core-http-browser'; +import type { NotificationsSetup } from '@kbn/core-notifications-browser'; import type { AppMountParameters } from '../../application'; -import type { NotificationsSetup } from '../../notifications'; import { StatusApp } from './status_app'; interface Deps { diff --git a/src/core/public/core_app/status/status_app.tsx b/src/core/public/core_app/status/status_app.tsx index deb993343ec7e9..43e388ad170a88 100644 --- a/src/core/public/core_app/status/status_app.tsx +++ b/src/core/public/core_app/status/status_app.tsx @@ -11,7 +11,7 @@ import { EuiLoadingSpinner, EuiText, EuiPage, EuiPageBody, EuiSpacer } from '@el import { FormattedMessage } from '@kbn/i18n-react'; import { i18n } from '@kbn/i18n'; import type { HttpSetup } from '@kbn/core-http-browser'; -import type { NotificationsSetup } from '../../notifications'; +import type { NotificationsSetup } from '@kbn/core-notifications-browser'; import { loadStatus, type ProcessedServerResponse } from './lib'; import { MetricTiles, ServerStatus, StatusSection, VersionHeader } from './components'; diff --git a/src/core/public/core_system.test.mocks.ts b/src/core/public/core_system.test.mocks.ts index 45c37f2cfb04b9..845a43f5b492aa 100644 --- a/src/core/public/core_system.test.mocks.ts +++ b/src/core/public/core_system.test.mocks.ts @@ -15,7 +15,7 @@ import { chromeServiceMock } from './chrome/chrome_service.mock'; import { fatalErrorsServiceMock } from '@kbn/core-fatal-errors-browser-mocks'; import { httpServiceMock } from '@kbn/core-http-browser-mocks'; import { i18nServiceMock } from '@kbn/core-i18n-browser-mocks'; -import { notificationServiceMock } from './notifications/notifications_service.mock'; +import { notificationServiceMock } from '@kbn/core-notifications-browser-mocks'; import { overlayServiceMock } from '@kbn/core-overlays-browser-mocks'; import { pluginsServiceMock } from './plugins/plugins_service.mock'; import { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; @@ -62,7 +62,7 @@ export const MockNotificationsService = notificationServiceMock.create(); export const NotificationServiceConstructor = jest .fn() .mockImplementation(() => MockNotificationsService); -jest.doMock('./notifications', () => ({ +jest.doMock('@kbn/core-notifications-browser-internal', () => ({ NotificationsService: NotificationServiceConstructor, })); diff --git a/src/core/public/core_system.ts b/src/core/public/core_system.ts index 761016e4b6647d..0ba7d4f1fc2851 100644 --- a/src/core/public/core_system.ts +++ b/src/core/public/core_system.ts @@ -28,9 +28,9 @@ import { DeprecationsService } from '@kbn/core-deprecations-browser-internal'; import { IntegrationsService } from '@kbn/core-integrations-browser-internal'; import { OverlayService } from '@kbn/core-overlays-browser-internal'; import { KBN_LOAD_MARKS } from '@kbn/core-mount-utils-browser-internal'; +import { NotificationsService } from '@kbn/core-notifications-browser-internal'; import { CoreSetup, CoreStart } from '.'; import { ChromeService } from './chrome'; -import { NotificationsService } from './notifications'; import { PluginsService } from './plugins'; import { ApplicationService } from './application'; import { RenderingService } from './rendering'; diff --git a/src/core/public/index.ts b/src/core/public/index.ts index cb105adb76e135..fe18a711123e6c 100644 --- a/src/core/public/index.ts +++ b/src/core/public/index.ts @@ -46,6 +46,7 @@ import type { UiSettingsState, IUiSettingsClient } from '@kbn/core-ui-settings-b import type { DeprecationsServiceStart } from '@kbn/core-deprecations-browser'; import type { Capabilities } from '@kbn/core-capabilities-common'; import type { OverlayStart } from '@kbn/core-overlays-browser'; +import type { NotificationsSetup, NotificationsStart } from '@kbn/core-notifications-browser'; import type { ChromeBadge, ChromeBreadcrumb, @@ -68,7 +69,6 @@ import type { NavType, ChromeHelpMenuActions, } from './chrome'; -import type { NotificationsSetup, NotificationsStart } from './notifications'; import type { Plugin, PluginInitializer, @@ -206,13 +206,14 @@ export type { Toast, ToastInput, IToasts, - ToastsApi, ToastInputFields, ToastsSetup, ToastsStart, ToastOptions, ErrorToastOptions, -} from './notifications'; +} from '@kbn/core-notifications-browser'; + +export type { ToastsApi } from '@kbn/core-notifications-browser-internal'; export type { ThemeServiceSetup, ThemeServiceStart, CoreTheme } from '@kbn/core-theme-browser'; diff --git a/src/core/public/mocks.ts b/src/core/public/mocks.ts index 1824efc31fcf41..38d9431e6d0e67 100644 --- a/src/core/public/mocks.ts +++ b/src/core/public/mocks.ts @@ -20,12 +20,12 @@ import { httpServiceMock } from '@kbn/core-http-browser-mocks'; import { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; import { deprecationsServiceMock } from '@kbn/core-deprecations-browser-mocks'; import { overlayServiceMock } from '@kbn/core-overlays-browser-mocks'; +import { notificationServiceMock } from '@kbn/core-notifications-browser-mocks'; import type { PluginInitializerContext, AppMountParameters } from '.'; // Import values from their individual modules instead. import { ScopedHistory } from './application'; import { applicationServiceMock } from './application/application_service.mock'; import { chromeServiceMock } from './chrome/chrome_service.mock'; -import { notificationServiceMock } from './notifications/notifications_service.mock'; import { savedObjectsServiceMock } from './saved_objects/saved_objects_service.mock'; export { injectedMetadataServiceMock } from '@kbn/core-injected-metadata-browser-mocks'; @@ -37,7 +37,7 @@ export { executionContextServiceMock } from '@kbn/core-execution-context-browser export { fatalErrorsServiceMock } from '@kbn/core-fatal-errors-browser-mocks'; export { httpServiceMock } from '@kbn/core-http-browser-mocks'; export { i18nServiceMock } from '@kbn/core-i18n-browser-mocks'; -export { notificationServiceMock } from './notifications/notifications_service.mock'; +export { notificationServiceMock } from '@kbn/core-notifications-browser-mocks'; export { overlayServiceMock } from '@kbn/core-overlays-browser-mocks'; export { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; export { savedObjectsServiceMock } from './saved_objects/saved_objects_service.mock'; diff --git a/src/core/public/plugins/plugins_service.test.ts b/src/core/public/plugins/plugins_service.test.ts index 48a8a317032167..bd2c5f5fb9705a 100644 --- a/src/core/public/plugins/plugins_service.test.ts +++ b/src/core/public/plugins/plugins_service.test.ts @@ -29,7 +29,7 @@ import { } from './plugins_service'; import type { InjectedMetadataPlugin } from '@kbn/core-injected-metadata-common-internal'; -import { notificationServiceMock } from '../notifications/notifications_service.mock'; +import { notificationServiceMock } from '@kbn/core-notifications-browser-mocks'; import { applicationServiceMock } from '../application/application_service.mock'; import { overlayServiceMock } from '@kbn/core-overlays-browser-mocks'; import { chromeServiceMock } from '../chrome/chrome_service.mock'; diff --git a/src/plugins/data/public/search/fetch/handle_response.test.ts b/src/plugins/data/public/search/fetch/handle_response.test.ts index 30fdd673948739..b7a37cf1d52178 100644 --- a/src/plugins/data/public/search/fetch/handle_response.test.ts +++ b/src/plugins/data/public/search/fetch/handle_response.test.ts @@ -9,7 +9,7 @@ import { handleResponse } from './handle_response'; // Temporary disable eslint, will be removed after moving to new platform folder -import { notificationServiceMock } from '@kbn/core/public/notifications/notifications_service.mock'; +import { notificationServiceMock } from '@kbn/core-notifications-browser-mocks'; import { setNotifications } from '../../services'; import { IKibanaSearchResponse } from '../../../common'; import { themeServiceMock } from '@kbn/core/public/mocks'; diff --git a/src/plugins/data_views/common/types.ts b/src/plugins/data_views/common/types.ts index 40a70e3c1f5470..ee396787610238 100644 --- a/src/plugins/data_views/common/types.ts +++ b/src/plugins/data_views/common/types.ts @@ -12,7 +12,7 @@ import type { SavedObjectsCreateOptions, SavedObjectsUpdateOptions, } from '@kbn/core/public'; -import type { ErrorToastOptions, ToastInputFields } from '@kbn/core/public/notifications'; +import type { ErrorToastOptions, ToastInputFields } from '@kbn/core-notifications-browser'; import type { DataViewFieldBase } from '@kbn/es-query'; import type { SerializedFieldFormat } from '@kbn/field-formats-plugin/common'; import { RUNTIME_FIELD_TYPES } from './constants'; diff --git a/yarn.lock b/yarn.lock index 64d1d44e6b790b..4e1f82be56b753 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3339,6 +3339,18 @@ version "0.0.0" uid "" +"@kbn/core-notifications-browser-internal@link:bazel-bin/packages/core/notifications/core-notifications-browser-internal": + version "0.0.0" + uid "" + +"@kbn/core-notifications-browser-mocks@link:bazel-bin/packages/core/notifications/core-notifications-browser-mocks": + version "0.0.0" + uid "" + +"@kbn/core-notifications-browser@link:bazel-bin/packages/core/notifications/core-notifications-browser": + version "0.0.0" + uid "" + "@kbn/core-overlays-browser-internal@link:bazel-bin/packages/core/overlays/core-overlays-browser-internal": version "0.0.0" uid "" @@ -7199,6 +7211,18 @@ version "0.0.0" uid "" +"@types/kbn__core-notifications-browser-internal@link:bazel-bin/packages/core/notifications/core-notifications-browser-internal/npm_module_types": + version "0.0.0" + uid "" + +"@types/kbn__core-notifications-browser-mocks@link:bazel-bin/packages/core/notifications/core-notifications-browser-mocks/npm_module_types": + version "0.0.0" + uid "" + +"@types/kbn__core-notifications-browser@link:bazel-bin/packages/core/notifications/core-notifications-browser/npm_module_types": + version "0.0.0" + uid "" + "@types/kbn__core-overlays-browser-internal@link:bazel-bin/packages/core/overlays/core-overlays-browser-internal/npm_module_types": version "0.0.0" uid "" From 871d7da1bfeaf0b8500f8882a9f8aa5b5be1a6dc Mon Sep 17 00:00:00 2001 From: Candace Park <56409205+parkiino@users.noreply.github.com> Date: Mon, 1 Aug 2022 12:08:48 -0400 Subject: [PATCH 34/37] [Security Solution][Endpoint][Responder] Hide responder action menu option when endpoint is unenrolled (#137243) * [Security Solution][Endpoint][Responder] Hide responder action menu option when endpoint is unenrolled * remove extra * update error code to use 400 --- .../responder_context_menu_item.tsx | 14 ++++---------- .../alerts/use_host_isolation_status.tsx | 2 +- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/x-pack/plugins/security_solution/public/detections/components/endpoint_responder/responder_context_menu_item.tsx b/x-pack/plugins/security_solution/public/detections/components/endpoint_responder/responder_context_menu_item.tsx index ddc638e28020b4..85c0c2f31b29c0 100644 --- a/x-pack/plugins/security_solution/public/detections/components/endpoint_responder/responder_context_menu_item.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/endpoint_responder/responder_context_menu_item.tsx @@ -53,7 +53,7 @@ export const ResponderContextMenuItem = memo( return [true, NOT_FROM_ENDPOINT_HOST_TOOLTIP]; } - if (!isResponderCapabilitiesEnabled) { + if (endpointHostInfo && !isResponderCapabilitiesEnabled) { return [true, UPGRADE_ENDPOINT_FOR_RESPONDER]; } @@ -62,24 +62,18 @@ export const ResponderContextMenuItem = memo( return [true, LOADING_ENDPOINT_DATA_TOOLTIP]; } - // if we got an error and it's a 404 (alerts can exist for endpoint that are no longer around) + // if we got an error and it's a 400 (alerts can exist for endpoint that are no longer around) // or, // the Host status is `unenrolled` if ( - (error && error.body?.statusCode === 404) || + (error && error.body?.statusCode === 400) || endpointHostInfo?.host_status === HostStatus.UNENROLLED ) { return [true, HOST_ENDPOINT_UNENROLLED_TOOLTIP]; } return [false, undefined]; - }, [ - endpointHostInfo?.host_status, - endpointId, - error, - isFetching, - isResponderCapabilitiesEnabled, - ]); + }, [endpointHostInfo, endpointId, error, isFetching, isResponderCapabilitiesEnabled]); const handleResponseActionsClick = useCallback(() => { if (endpointHostInfo) showEndpointResponseActionsConsole(endpointHostInfo.metadata); diff --git a/x-pack/plugins/security_solution/public/detections/containers/detection_engine/alerts/use_host_isolation_status.tsx b/x-pack/plugins/security_solution/public/detections/containers/detection_engine/alerts/use_host_isolation_status.tsx index 18782b2a052f8f..e10bc1d6669459 100644 --- a/x-pack/plugins/security_solution/public/detections/containers/detection_engine/alerts/use_host_isolation_status.tsx +++ b/x-pack/plugins/security_solution/public/detections/containers/detection_engine/alerts/use_host_isolation_status.tsx @@ -59,7 +59,7 @@ export const useHostIsolationStatus = ({ return; } - if (isMounted && error.body.statusCode === 404) { + if (isMounted && error.body.statusCode === 400) { setAgentStatus(HostStatus.UNENROLLED); } } From 77fa5e7185139f8824ee89b8bd1936a74873d99b Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Mon, 1 Aug 2022 10:47:48 -0600 Subject: [PATCH 35/37] [Maps] fallback to GeoJSON with runtime geo_point field (#136675) * [Maps] fallback to geojson with runtime geo_point field * convert to TS * update snapshots Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../elasticsearch_geo_utils.test.js | 8 ++ .../elasticsearch_geo_utils.ts | 16 +++- .../update_source_editor.test.js.snap | 6 +- ...rce_editor.js => create_source_editor.tsx} | 40 ++++++---- .../es_documents_layer_wizard.tsx | 3 +- .../es_search_source/es_search_source.tsx | 1 - ...rce_editor.js => update_source_editor.tsx} | 80 ++++++++++++------- .../__snapshots__/scaling_form.test.tsx.snap | 2 + .../util/scaling_form.test.tsx | 1 + .../es_search_source/util/scaling_form.tsx | 29 +++++-- 10 files changed, 132 insertions(+), 54 deletions(-) rename x-pack/plugins/maps/public/classes/sources/es_search_source/{create_source_editor.js => create_source_editor.tsx} (71%) rename x-pack/plugins/maps/public/classes/sources/es_search_source/{update_source_editor.js => update_source_editor.tsx} (76%) diff --git a/x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js b/x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js index 096f5370ca3b97..49996b61ba6c6e 100644 --- a/x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js +++ b/x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js @@ -360,6 +360,14 @@ describe('geoPointToGeometry', () => { expect(points[0].coordinates).toEqual([lon, lat]); }); + it('Should convert runtime geo_point value', () => { + const points = []; + geoPointToGeometry(`${lat},${lon}`, points); + expect(points.length).toBe(1); + expect(points[0].type).toBe('Point'); + expect(points[0].coordinates).toEqual([lon, lat]); + }); + it('Should convert array of values', () => { const lat2 = 30; const lon2 = -60; diff --git a/x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts b/x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts index 3e494976787447..964a88a8b1a93b 100644 --- a/x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts +++ b/x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts @@ -129,7 +129,7 @@ export function hitsToGeoJson( // Parse geo_point fields API response export function geoPointToGeometry( - value: Point[] | Point | undefined, + value: Point[] | Point | string | undefined, accumulator: Geometry[] ): void { if (!value) { @@ -143,6 +143,20 @@ export function geoPointToGeometry( return; } + // runtime geo_point field returns value as "lat,lon" string instead of GeoJSON + // This is a workaround for a bug - https://github.com/elastic/elasticsearch/issues/85245 + if (typeof value === 'string') { + const commaSplit = value.split(','); + const lat = parseFloat(commaSplit[0]); + const lon = parseFloat(commaSplit[1]); + accumulator.push({ + type: GEO_JSON_TYPE.POINT, + coordinates: [lon, lat], + } as Point); + return; + } + + // geo_point fields API returns GeoJSON accumulator.push(value as Point); } diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap b/x-pack/plugins/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap index 60d7be79d35e3b..1edbdec2427229 100644 --- a/x-pack/plugins/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap +++ b/x-pack/plugins/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap @@ -52,7 +52,6 @@ exports[`should enable sort order select when sort field provided 1`] = ` > @@ -201,10 +201,12 @@ exports[`should render update source editor 1`] = ` clusteringDisabledReason={null} filterByMapBounds={true} indexPatternId="indexPattern1" + mvtDisabledReason={null} numberOfJoins={0} onChange={[Function]} scalingType="LIMIT" supportsClustering={false} + supportsMvt={true} /> | null) => void; +} + +interface State { + indexPattern: DataView | undefined; + geoFields: DataViewField[] | undefined; + geoFieldName: string | undefined; +} + +const RESET_INDEX_PATTERN_STATE: State = { indexPattern: undefined, geoFields: undefined, geoFieldName: undefined, }; -export class CreateSourceEditor extends Component { - static propTypes = { - onSourceConfigChange: PropTypes.func.isRequired, - }; - - state = { +export class CreateSourceEditor extends Component { + state: State = { ...RESET_INDEX_PATTERN_STATE, }; - _onIndexPatternSelect = (indexPattern) => { + _onIndexPatternSelect = (indexPattern: DataView) => { const geoFields = getGeoFields(indexPattern.fields); this.setState( @@ -54,7 +62,7 @@ export class CreateSourceEditor extends Component { ); }; - _onGeoFieldSelect = (geoFieldName) => { + _onGeoFieldSelect = (geoFieldName?: string) => { this.setState( { geoFieldName, @@ -66,12 +74,14 @@ export class CreateSourceEditor extends Component { _previewLayer = () => { const { indexPattern, geoFieldName } = this.state; + const field = geoFieldName && indexPattern?.getFieldByName(geoFieldName); + const sourceConfig = indexPattern && geoFieldName ? { indexPatternId: indexPattern.id, geoField: geoFieldName, - scalingType: SCALING_TYPES.MVT, + scalingType: field && field.isRuntimeField ? SCALING_TYPES.LIMIT : SCALING_TYPES.MVT, } : null; this.props.onSourceConfigChange(sourceConfig); @@ -92,7 +102,7 @@ export class CreateSourceEditor extends Component { placeholder={i18n.translate('xpack.maps.source.esSearch.selectLabel', { defaultMessage: 'Select geo field', })} - value={this.state.geoFieldName} + value={this.state.geoFieldName ? this.state.geoFieldName : null} onChange={this._onGeoFieldSelect} fields={this.state.geoFields} /> @@ -104,7 +114,9 @@ export class CreateSourceEditor extends Component { return ( diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx b/x-pack/plugins/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx index 92580f92f02795..72a0539be6b082 100644 --- a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx +++ b/x-pack/plugins/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx @@ -7,7 +7,6 @@ import { i18n } from '@kbn/i18n'; import React from 'react'; -// @ts-ignore import { CreateSourceEditor } from './create_source_editor'; import { LayerWizard, RenderWizardArguments } from '../../layers'; import { ESSearchSource, sourceTitle } from './es_search_source'; @@ -43,7 +42,7 @@ export const esDocumentsLayerWizardConfig: LayerWizard = { }), icon: DocumentsLayerIcon, renderWizard: ({ previewLayers, mapColors }: RenderWizardArguments) => { - const onSourceConfigChange = (sourceConfig: Partial) => { + const onSourceConfigChange = (sourceConfig: Partial | null) => { if (!sourceConfig) { previewLayers([]); return; diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx b/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx index 62c05c1e5c5633..b99903423376ee 100644 --- a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx +++ b/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx @@ -30,7 +30,6 @@ import { TotalHits, } from '../../../../common/elasticsearch_util'; import { encodeMvtResponseBody } from '../../../../common/mvt_request_body'; -// @ts-expect-error import { UpdateSourceEditor } from './update_source_editor'; import { DEFAULT_MAX_BUCKETS_LIMIT, diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.js b/x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.tsx similarity index 76% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.js rename to x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.tsx index 7addffc286bd09..2c8dca0f1cdf61 100644 --- a/x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.js +++ b/x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.tsx @@ -5,45 +5,61 @@ * 2.0. */ -import React, { Fragment, Component } from 'react'; -import PropTypes from 'prop-types'; +import React, { ChangeEvent, Component, Fragment } from 'react'; import { EuiFormRow, EuiSelect, EuiTitle, EuiPanel, EuiSpacer } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { SortDirection, indexPatterns } from '@kbn/data-plugin/public'; +import { DataViewField } from '@kbn/data-views-plugin/public'; +import { FormattedMessage } from '@kbn/i18n-react'; import { getDataViewNotFoundMessage } from '../../../../common/i18n_getters'; -import { FIELD_ORIGIN } from '../../../../common/constants'; +import { FIELD_ORIGIN, SCALING_TYPES } from '../../../../common/constants'; import { SingleFieldSelect } from '../../../components/single_field_select'; import { TooltipSelector } from '../../../components/tooltip_selector'; import { getIndexPatternService } from '../../../kibana_services'; -import { i18n } from '@kbn/i18n'; import { getGeoTileAggNotSupportedReason, getSourceFields, supportsGeoTileAgg, } from '../../../index_pattern_util'; -import { SortDirection, indexPatterns } from '@kbn/data-plugin/public'; import { ESDocField } from '../../fields/es_doc_field'; -import { FormattedMessage } from '@kbn/i18n-react'; - +import { IESSource } from '../es_source'; +import { OnSourceChangeArgs } from '../source'; +import { IField } from '../../fields/field'; import { ScalingForm } from './util/scaling_form'; -export class UpdateSourceEditor extends Component { - static propTypes = { - indexPatternId: PropTypes.string.isRequired, - onChange: PropTypes.func.isRequired, - tooltipFields: PropTypes.arrayOf(PropTypes.object).isRequired, - sortField: PropTypes.string, - sortOrder: PropTypes.string.isRequired, - scalingType: PropTypes.string.isRequired, - source: PropTypes.object, - numberOfJoins: PropTypes.number.isRequired, - }; +interface Props { + indexPatternId: string; + onChange(...args: OnSourceChangeArgs[]): void; + tooltipFields: ESDocField[]; + sortField: string; + sortOrder: SortDirection; + scalingType: SCALING_TYPES; + source: IESSource; + numberOfJoins: number; + getGeoField(): Promise; + filterByMapBounds: boolean; +} + +interface State { + loadError?: string; + sourceFields: IField[] | null; + sortFields: DataViewField[] | undefined; + supportsClustering: boolean; + clusteringDisabledReason: string | null; + supportsMvt: boolean; + mvtDisabledReason: string | null; +} - state = { +export class UpdateSourceEditor extends Component { + _isMounted: boolean = false; + state: State = { sourceFields: null, - sortFields: null, + sortFields: undefined, supportsClustering: false, - mvtDisabledReason: null, clusteringDisabledReason: null, + supportsMvt: true, + mvtDisabledReason: null, }; componentDidMount() { @@ -82,7 +98,7 @@ export class UpdateSourceEditor extends Component { return; } - //todo move this all to the source + // todo move this all to the source const rawTooltipFields = getSourceFields(indexPattern.fields); const sourceFields = rawTooltipFields.map((field) => { return new ESDocField({ @@ -95,22 +111,28 @@ export class UpdateSourceEditor extends Component { this.setState({ supportsClustering: supportsGeoTileAgg(geoField), clusteringDisabledReason: getGeoTileAggNotSupportedReason(geoField), - mvtDisabledReason: null, - sourceFields: sourceFields, + supportsMvt: !geoField.isRuntimeField, + mvtDisabledReason: geoField.isRuntimeField + ? i18n.translate('xpack.maps.source.esSearch.mvtDisableReason', { + defaultMessage: 'Vector tile API does not support runtime {type} field', + values: { type: geoField.type }, + }) + : null, + sourceFields, sortFields: indexPattern.fields.filter( (field) => field.sortable && !indexPatterns.isNestedField(field) - ), //todo change sort fields to use fields + ), // todo change sort fields to use fields }); } - _onTooltipPropertiesChange = (propertyNames) => { + _onTooltipPropertiesChange = (propertyNames: string[]) => { this.props.onChange({ propName: 'tooltipProperties', value: propertyNames }); }; - _onSortFieldChange = (sortField) => { + _onSortFieldChange = (sortField?: string) => { this.props.onChange({ propName: 'sortField', value: sortField }); }; - _onSortOrderChange = (e) => { + _onSortOrderChange = (e: ChangeEvent) => { this.props.onChange({ propName: 'sortOrder', value: e.target.value }); }; @@ -206,6 +228,8 @@ export class UpdateSourceEditor extends Component { scalingType={this.props.scalingType} supportsClustering={this.state.supportsClustering} clusteringDisabledReason={this.state.clusteringDisabledReason} + supportsMvt={this.state.supportsMvt} + mvtDisabledReason={this.state.mvtDisabledReason} numberOfJoins={this.props.numberOfJoins} /> diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap b/x-pack/plugins/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap index f8c5951e95e043..0c77be62179c29 100644 --- a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap +++ b/x-pack/plugins/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap @@ -34,6 +34,7 @@ exports[`scaling form should disable clusters option when clustering is not supp
{}, scalingType: SCALING_TYPES.LIMIT, supportsClustering: true, + supportsMvt: true, termFields: [], numberOfJoins: 0, }; diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.tsx b/x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.tsx index ccd3b3913a0852..fd0c23a98df459 100644 --- a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.tsx +++ b/x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.tsx @@ -35,6 +35,8 @@ interface Props { scalingType: SCALING_TYPES; supportsClustering: boolean; clusteringDisabledReason?: string | null; + supportsMvt: boolean; + mvtDisabledReason?: string | null; numberOfJoins: number; } @@ -186,6 +188,26 @@ export class ScalingForm extends Component { ); } + _renderMvtRadio() { + const radio = ( + this._onScalingTypeSelect(SCALING_TYPES.MVT)} + disabled={!this.props.supportsMvt} + /> + ); + + return this.props.mvtDisabledReason ? ( + + {radio} + + ) : ( + radio + ); + } + _renderClusteringRadio() { const clusteringRadio = ( {
- this._onScalingTypeSelect(SCALING_TYPES.MVT)} - /> + {this._renderMvtRadio()} {this._renderClusteringRadio()} Date: Mon, 1 Aug 2022 19:32:56 +0200 Subject: [PATCH 36/37] [Enterprise Search] Move crawler polling to index view logic (#137575) --- .../connector_configuration_logic.test.ts | 5 +- .../search_index/crawler/crawler_logic.ts | 111 +++++------------- .../search_index/index_name_logic.ts | 3 +- .../search_index/index_view_logic.test.ts | 105 +++++++++++++---- .../search_index/index_view_logic.ts | 47 ++++++-- .../components/search_index/search_index.tsx | 15 +-- .../search_index/search_index_router.tsx | 12 ++ 7 files changed, 170 insertions(+), 128 deletions(-) diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_configuration_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_configuration_logic.test.ts index 0876bbdd827b77..25753312ba8dbf 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_configuration_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_configuration_logic.test.ts @@ -6,13 +6,12 @@ */ import { LogicMounter, mockFlashMessageHelpers } from '../../../../__mocks__/kea_logic'; - import { connectorIndex } from '../../../__mocks__/view_index.mock'; import { ConnectorConfigurationApiLogic } from '../../../api/connector_package/update_connector_configuration_api_logic'; import { FetchIndexApiLogic } from '../../../api/index/fetch_index_api_logic'; -import '../_mocks_/index_name_logic.mock'; +import { IndexNameLogic } from '../index_name_logic'; import { IndexViewLogic } from '../index_view_logic'; import { ConnectorConfigurationLogic } from './connector_configuration_logic'; @@ -28,12 +27,14 @@ const DEFAULT_VALUES = { describe('ConnectorConfigurationLogic', () => { const { mount } = new LogicMounter(ConnectorConfigurationLogic); + const { mount: mountIndexNameLogic } = new LogicMounter(IndexNameLogic); const { mount: mountFetchIndexApiLogic } = new LogicMounter(FetchIndexApiLogic); const { mount: mountIndexViewLogic } = new LogicMounter(IndexViewLogic); const { clearFlashMessages, flashAPIErrors, flashSuccessToast } = mockFlashMessageHelpers; beforeEach(() => { jest.clearAllMocks(); + mountIndexNameLogic({ indexName: 'index-name' }, { indexName: 'index-name' }); mountFetchIndexApiLogic(); mountIndexViewLogic({ index: 'index' }); mount(); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_logic.ts index 1b9d30985c4d9f..7b664de1e24cc5 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_logic.ts @@ -22,15 +22,6 @@ import { } from '../../../api/crawler/types'; import { IndexNameLogic } from '../index_name_logic'; -const POLLING_DURATION = 1000; -const POLLING_DURATION_ON_FAILURE = 5000; -const ACTIVE_STATUSES = [ - CrawlerStatus.Pending, - CrawlerStatus.Starting, - CrawlerStatus.Running, - CrawlerStatus.Canceling, -]; - export interface CrawlRequestOverrides { domain_allowlist?: string[]; max_crawl_depth?: number; @@ -53,7 +44,6 @@ export type CrawlerActions = Pick< Actions, 'apiError' | 'apiSuccess' > & { - clearTimeoutId(): void; createNewTimeoutForCrawlerData(duration: number): { duration: number }; fetchCrawlerData(): void; onCreateNewTimeout(timeoutId: NodeJS.Timeout): { timeoutId: NodeJS.Timeout }; @@ -63,73 +53,24 @@ export type CrawlerActions = Pick< }; export const CrawlerLogic = kea>({ - path: ['enterprise_search', 'crawler_logic'], - connect: { - actions: [GetCrawlerApiLogic, ['apiError', 'apiSuccess']], - values: [GetCrawlerApiLogic, ['status', 'data']], - }, actions: { - clearTimeoutId: true, - createNewTimeoutForCrawlerData: (duration) => ({ duration }), fetchCrawlerData: true, - onCreateNewTimeout: (timeoutId) => ({ timeoutId }), reApplyCrawlRules: (domain) => ({ domain }), startCrawl: (overrides) => ({ overrides }), stopCrawl: () => null, }, - reducers: { - dataLoading: [ - true, - { - apiError: () => false, - apiSuccess: () => false, - }, - ], - timeoutId: [ - null, - { - apiError: () => null, - apiSuccess: () => null, - onCreateNewTimeout: (_, { timeoutId }) => timeoutId, - }, - ], + connect: { + actions: [GetCrawlerApiLogic, ['apiError', 'apiSuccess']], + values: [GetCrawlerApiLogic, ['status', 'data']], }, - selectors: ({ selectors }) => ({ - domains: [() => [selectors.data], (data: CrawlerValues['data']) => data?.domains ?? []], - events: [() => [selectors.data], (data: CrawlerValues['data']) => data?.events ?? []], - mostRecentCrawlRequest: [ - () => [selectors.data], - (data: CrawlerValues['data']) => data?.mostRecentCrawlRequest ?? null, - ], - mostRecentCrawlRequestStatus: [ - () => [selectors.mostRecentCrawlRequest], - (crawlRequest: CrawlerValues['mostRecentCrawlRequest']) => crawlRequest?.status ?? null, - ], - }), - listeners: ({ actions, values }) => ({ + listeners: ({ actions }) => ({ apiError: (error) => { flashAPIErrors(error); - actions.createNewTimeoutForCrawlerData(POLLING_DURATION_ON_FAILURE); }, - apiSuccess: ({ mostRecentCrawlRequest }) => { - const continuePoll = - mostRecentCrawlRequest && ACTIVE_STATUSES.includes(mostRecentCrawlRequest.status); - - if (continuePoll) { - actions.createNewTimeoutForCrawlerData(POLLING_DURATION); - } - }, - - createNewTimeoutForCrawlerData: ({ duration }) => { - if (values.timeoutId) { - clearTimeout(values.timeoutId); - } - - const timeoutIdId = setTimeout(() => { - actions.fetchCrawlerData(); - }, duration); + fetchCrawlerData: () => { + const { indexName } = IndexNameLogic.values; - actions.onCreateNewTimeout(timeoutIdId); + GetCrawlerApiLogic.actions.makeRequest({ indexName }); }, reApplyCrawlRules: async ({ domain }) => { const { indexName } = IndexNameLogic.values; @@ -159,14 +100,6 @@ export const CrawlerLogic = kea>({ flashAPIErrors(e); } }, - fetchCrawlerData: () => { - const { indexName } = IndexNameLogic.values; - - if (values.timeoutId) { - clearTimeout(values.timeoutId); - } - GetCrawlerApiLogic.actions.makeRequest({ indexName }); - }, startCrawl: async ({ overrides = {} }) => { const { indexName } = IndexNameLogic.values; const { http } = HttpLogic.values; @@ -194,14 +127,26 @@ export const CrawlerLogic = kea>({ } }, }), - events: ({ actions, values }) => ({ - afterMount: () => { - actions.fetchCrawlerData(); - }, - beforeUnmount: () => { - if (values.timeoutId) { - clearTimeout(values.timeoutId); - } - }, + path: ['enterprise_search', 'crawler_logic'], + reducers: { + dataLoading: [ + true, + { + apiError: () => false, + apiSuccess: () => false, + }, + ], + }, + selectors: ({ selectors }) => ({ + domains: [() => [selectors.data], (data: CrawlerValues['data']) => data?.domains ?? []], + events: [() => [selectors.data], (data: CrawlerValues['data']) => data?.events ?? []], + mostRecentCrawlRequest: [ + () => [selectors.data], + (data: CrawlerValues['data']) => data?.mostRecentCrawlRequest ?? null, + ], + mostRecentCrawlRequestStatus: [ + () => [selectors.mostRecentCrawlRequest], + (crawlRequest: CrawlerValues['mostRecentCrawlRequest']) => crawlRequest?.status ?? null, + ], }), }); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_name_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_name_logic.ts index d11034335d2b3f..b18f1dc6a15b39 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_name_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_name_logic.ts @@ -25,7 +25,8 @@ export const IndexNameLogic = kea ({ indexName: [ - props.indexName, + // Short-circuiting this to empty string is necessary to enable testing logics relying on this + props.indexName ?? '', { setIndexName: (_, { indexName }) => indexName, }, diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.test.ts index 8e19cacaafd505..2191f788b024a0 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.test.ts @@ -6,8 +6,7 @@ */ import { LogicMounter, mockFlashMessageHelpers } from '../../../__mocks__/kea_logic'; -import { apiIndex, connectorIndex } from '../../__mocks__/view_index.mock'; -import './_mocks_/index_name_logic.mock'; +import { apiIndex, connectorIndex, crawlerIndex } from '../../__mocks__/view_index.mock'; import { nextTick } from '@kbn/test-jest-helpers'; @@ -21,12 +20,15 @@ import { IngestionMethod, IngestionStatus } from '../../types'; import { indexToViewIndex } from '../../utils/indices'; -import { IndexViewLogic, IndexViewValues } from './index_view_logic'; +import { IndexNameLogic } from './index_name_logic'; +import { IndexViewLogic } from './index_view_logic'; -const DEFAULT_VALUES: IndexViewValues = { +// We can't test fetchTimeOutId because this will get set whenever the logic is created +// And the timeoutId is non-deterministic. We use expect.object.containing throughout this test file +const DEFAULT_VALUES = { data: undefined, - fetchIndexTimeoutId: null, index: undefined, + indexName: '', ingestionMethod: IngestionMethod.API, ingestionStatus: IngestionStatus.CONNECTED, isSyncing: false, @@ -48,18 +50,20 @@ const CONNECTOR_VALUES = { describe('IndexViewLogic', () => { const { mount: apiLogicMount } = new LogicMounter(StartSyncApiLogic); const { mount: fetchIndexMount } = new LogicMounter(FetchIndexApiLogic); + const indexNameLogic = new LogicMounter(IndexNameLogic); const { mount } = new LogicMounter(IndexViewLogic); beforeEach(() => { jest.clearAllMocks(); jest.useRealTimers(); + indexNameLogic.mount({ indexName: 'index-name' }, { indexName: 'index-name' }); apiLogicMount(); fetchIndexMount(); mount(); }); it('has expected default values', () => { - expect(IndexViewLogic.values).toEqual(DEFAULT_VALUES); + expect(IndexViewLogic.values).toEqual(expect.objectContaining(DEFAULT_VALUES)); }); describe('actions', () => { @@ -74,36 +78,59 @@ describe('IndexViewLogic', () => { connector: { ...connectorIndex.connector!, sync_now: true }, }); - expect(IndexViewLogic.values).toEqual({ - ...CONNECTOR_VALUES, - data: { - ...CONNECTOR_VALUES.data, - connector: { ...CONNECTOR_VALUES.data.connector, sync_now: true }, - }, - index: { - ...CONNECTOR_VALUES.index, - connector: { ...CONNECTOR_VALUES.index.connector, sync_now: true }, - }, - isWaitingForSync: true, - localSyncNowValue: true, - syncStatus: SyncStatus.COMPLETED, - }); + expect(IndexViewLogic.values).toEqual( + expect.objectContaining({ + ...CONNECTOR_VALUES, + data: { + ...CONNECTOR_VALUES.data, + connector: { ...CONNECTOR_VALUES.data.connector, sync_now: true }, + }, + index: { + ...CONNECTOR_VALUES.index, + connector: { ...CONNECTOR_VALUES.index.connector, sync_now: true }, + }, + isWaitingForSync: true, + localSyncNowValue: true, + syncStatus: SyncStatus.COMPLETED, + }) + ); }); it('should update values with no connector', () => { FetchIndexApiLogic.actions.apiSuccess(apiIndex); - expect(IndexViewLogic.values).toEqual({ - ...DEFAULT_VALUES, - data: apiIndex, - index: apiIndex, - }); + expect(IndexViewLogic.values).toEqual( + expect.objectContaining({ + ...DEFAULT_VALUES, + data: apiIndex, + index: apiIndex, + }) + ); }); it('should call createNewFetchIndexTimeout', () => { + IndexViewLogic.actions.fetchCrawlerData = jest.fn(); + IndexNameLogic.actions.setIndexName('api'); FetchIndexApiLogic.actions.apiSuccess(apiIndex); expect(IndexViewLogic.actions.createNewFetchIndexTimeout).toHaveBeenCalled(); + expect(IndexViewLogic.actions.fetchCrawlerData).not.toHaveBeenCalled(); + }); + it('should call fetchCrawler if index is a crawler ', () => { + IndexViewLogic.actions.fetchCrawlerData = jest.fn(); + IndexNameLogic.actions.setIndexName('crawler'); + FetchIndexApiLogic.actions.apiSuccess(crawlerIndex); + + expect(IndexViewLogic.actions.createNewFetchIndexTimeout).toHaveBeenCalled(); + expect(IndexViewLogic.actions.fetchCrawlerData).toHaveBeenCalled(); + }); + it('should not call fetchCrawler if index is a crawler but indexName does not match', () => { + IndexViewLogic.actions.fetchCrawlerData = jest.fn(); + IndexNameLogic.actions.setIndexName('api'); + FetchIndexApiLogic.actions.apiSuccess(crawlerIndex); + + expect(IndexViewLogic.actions.createNewFetchIndexTimeout).toHaveBeenCalled(); + expect(IndexViewLogic.actions.fetchCrawlerData).not.toHaveBeenCalled(); }); }); @@ -148,6 +175,26 @@ describe('IndexViewLogic', () => { }); }); + describe('clearTimeoutId', () => { + it('should clear timeout Id', () => { + IndexViewLogic.actions.startFetchIndexPoll(); + expect(IndexViewLogic.values.fetchIndexTimeoutId).not.toEqual(null); + IndexViewLogic.actions.clearFetchIndexTimeout(); + expect(IndexViewLogic.values.fetchIndexTimeoutId).toEqual(null); + }); + }); + describe('createNewFetchIndexTimeout', () => { + it('should trigger fetchIndex after timeout', async () => { + IndexViewLogic.actions.fetchIndex = jest.fn(); + jest.useFakeTimers(); + IndexViewLogic.actions.createNewFetchIndexTimeout(1); + expect(IndexViewLogic.actions.fetchIndex).not.toHaveBeenCalled(); + jest.advanceTimersByTime(2); + await nextTick(); + expect(IndexViewLogic.actions.fetchIndex).toHaveBeenCalled(); + }); + }); + describe('listeners', () => { it('calls clearFlashMessages on makeStartSyncRequest', () => { IndexViewLogic.actions.makeStartSyncRequest({ connectorId: 'connectorId' }); @@ -159,5 +206,13 @@ describe('IndexViewLogic', () => { expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledTimes(1); expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledWith({}); }); + it('calls makeFetchIndexRequest on fetchIndex', () => { + IndexViewLogic.actions.makeFetchIndexRequest = jest.fn(); + IndexNameLogic.actions.setIndexName('indexName'); + IndexViewLogic.actions.fetchIndex(); + expect(IndexViewLogic.actions.makeFetchIndexRequest).toHaveBeenCalledWith({ + indexName: 'indexName', + }); + }); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.ts index 0505b1ae23bdd2..6f7e4f871e7235 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.ts @@ -29,11 +29,13 @@ import { getLastUpdated, indexToViewIndex, isConnectorIndex, + isCrawlerIndex, } from '../../utils/indices'; +import { CrawlerLogic } from './crawler/crawler_logic'; import { IndexNameLogic } from './index_name_logic'; -const FETCH_INDEX_POLLING_DURATION = 5000; // 5 seconds +const FETCH_INDEX_POLLING_DURATION = 1000; // 1 seconds const FETCH_INDEX_POLLING_DURATION_ON_FAILURE = 30000; // 30 seconds type FetchIndexApiValues = Actions; @@ -42,6 +44,8 @@ type StartSyncApiValues = Actions; export interface IndexViewActions { clearFetchIndexTimeout(): void; createNewFetchIndexTimeout(duration: number): { duration: number }; + fetchCrawlerData: () => void; + fetchIndex: () => void; fetchIndexApiSuccess: FetchIndexApiValues['apiSuccess']; makeFetchIndexRequest: FetchIndexApiValues['makeRequest']; makeStartSyncRequest: StartSyncApiValues['makeRequest']; @@ -58,6 +62,7 @@ export interface IndexViewValues { data: typeof FetchIndexApiLogic.values.data; fetchIndexTimeoutId: NodeJS.Timeout | null; index: ElasticsearchViewIndex | undefined; + indexName: string; ingestionMethod: IngestionMethod; ingestionStatus: IngestionStatus; isSyncing: boolean; @@ -71,6 +76,7 @@ export const IndexViewLogic = kea ({ duration }), + fetchIndex: true, setFetchIndexTimeoutId: (timeoutId) => ({ timeoutId }), startFetchIndexPoll: true, startSync: true, @@ -91,31 +97,58 @@ export const IndexViewLogic = kea ({ + afterMount: () => { + actions.startFetchIndexPoll(); + }, + beforeUnmount: () => { + if (values.fetchIndexTimeoutId) { + clearTimeout(values.fetchIndexTimeoutId); + } + }, + }), listeners: ({ actions, values }) => ({ createNewFetchIndexTimeout: ({ duration }) => { if (values.fetchIndexTimeoutId) { clearTimeout(values.fetchIndexTimeoutId); } - const { indexName } = IndexNameLogic.values; const timeoutId = setTimeout(() => { - actions.makeFetchIndexRequest({ indexName }); + actions.fetchIndex(); }, duration); actions.setFetchIndexTimeoutId(timeoutId); }, + fetchIndex: () => { + const { indexName } = IndexNameLogic.values; + actions.makeFetchIndexRequest({ indexName }); + }, fetchIndexApiError: () => { actions.createNewFetchIndexTimeout(FETCH_INDEX_POLLING_DURATION_ON_FAILURE); }, - fetchIndexApiSuccess: () => { + fetchIndexApiSuccess: (index) => { actions.createNewFetchIndexTimeout(FETCH_INDEX_POLLING_DURATION); + if (isCrawlerIndex(index) && index.name === values.indexName) { + actions.fetchCrawlerData(); + } }, makeStartSyncRequest: () => clearFlashMessages(), + setIndexName: () => { + if (values.fetchIndexTimeoutId) { + clearTimeout(values.fetchIndexTimeoutId); + } + actions.clearFetchIndexTimeout(); + actions.resetFetchIndexApi(); + actions.fetchIndex(); + }, startFetchIndexPoll: () => { - const { indexName } = IndexNameLogic.values; // we rely on listeners for fetchIndexApiError and fetchIndexApiSuccess to handle reccuring polling - actions.makeFetchIndexRequest({ indexName }); + actions.fetchIndex(); }, startSync: () => { if (isConnectorIndex(values.data)) { diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/search_index.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/search_index.tsx index 6b23a3c68a1eef..4bc2206715c15a 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/search_index.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/search_index.tsx @@ -5,11 +5,11 @@ * 2.0. */ -import React, { useEffect } from 'react'; +import React from 'react'; import { useParams } from 'react-router-dom'; -import { useActions, useValues } from 'kea'; +import { useValues } from 'kea'; import { EuiTabbedContent, EuiTabbedContentTab } from '@elastic/eui'; @@ -36,7 +36,6 @@ import { SearchIndexDomainManagement } from './crawler/domain_management/domain_ import { SearchIndexDocuments } from './documents'; import { SearchIndexIndexMappings } from './index_mappings'; import { IndexNameLogic } from './index_name_logic'; -import { IndexViewLogic } from './index_view_logic'; import { SearchIndexOverview } from './overview'; export enum SearchIndexTabId { @@ -53,7 +52,6 @@ export enum SearchIndexTabId { export const SearchIndex: React.FC = () => { const { data: indexData, status: indexApiStatus } = useValues(FetchIndexApiLogic); - const { startFetchIndexPoll, stopFetchIndexPoll } = useActions(IndexViewLogic); const { isCalloutVisible } = useValues(IndexCreatedCalloutLogic); const { tabId = SearchIndexTabId.OVERVIEW } = useParams<{ tabId?: string; @@ -61,11 +59,6 @@ export const SearchIndex: React.FC = () => { const { indexName } = useValues(IndexNameLogic); - useEffect(() => { - startFetchIndexPoll(); - return stopFetchIndexPoll; - }, [indexName]); - const ALL_INDICES_TABS: EuiTabbedContentTab[] = [ { content: , @@ -158,7 +151,9 @@ export const SearchIndex: React.FC = () => { > <> {isCalloutVisible && } - + {indexName === indexData?.name && ( + + )} {isCrawlerIndex(indexData) && } diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/search_index_router.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/search_index_router.tsx index c5acd80aaf6bc8..2dc5ff8d059c9e 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/search_index_router.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/search_index_router.tsx @@ -19,6 +19,7 @@ import { import { CrawlerDomainDetail } from '../crawler_domain_detail/crawler_domain_detail'; import { IndexNameLogic } from './index_name_logic'; +import { IndexViewLogic } from './index_view_logic'; import { SearchIndex } from './search_index'; export const SearchIndexRouter: React.FC = () => { @@ -26,6 +27,17 @@ export const SearchIndexRouter: React.FC = () => { const indexNameLogic = IndexNameLogic({ indexName }); const { setIndexName } = useActions(indexNameLogic); + const { stopFetchIndexPoll } = useActions(IndexViewLogic); + useEffect(() => { + const unmountName = indexNameLogic.mount(); + const unmountView = IndexViewLogic.mount(); + return () => { + stopFetchIndexPoll(); + unmountName(); + unmountView(); + }; + }, []); + useEffect(() => {}, []); useEffect(() => { setIndexName(indexName); From f71ef4daec7bf3bed9d8d7ce17adf641d368c382 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 2 Aug 2022 03:03:23 +0930 Subject: [PATCH 37/37] Update dependency @types/selenium-webdriver to ^4.1.2 (main) (#137746) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f0ea47b2b80789..5c1c447c6db903 100644 --- a/package.json +++ b/package.json @@ -1045,7 +1045,7 @@ "@types/resolve": "^1.20.1", "@types/rrule": "^2.2.9", "@types/seedrandom": ">=2.0.0 <4.0.0", - "@types/selenium-webdriver": "^4.1.1", + "@types/selenium-webdriver": "^4.1.2", "@types/semver": "^7", "@types/set-value": "^2.0.0", "@types/sinon": "^7.0.13", diff --git a/yarn.lock b/yarn.lock index 4e1f82be56b753..d9ea619f255ef4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8353,10 +8353,10 @@ resolved "https://registry.yarnpkg.com/@types/seedrandom/-/seedrandom-2.4.28.tgz#9ce8fa048c1e8c85cb71d7fe4d704e000226036f" integrity sha512-SMA+fUwULwK7sd/ZJicUztiPs8F1yCPwF3O23Z9uQ32ME5Ha0NmDK9+QTsYE4O2tHXChzXomSWWeIhCnoN1LqA== -"@types/selenium-webdriver@^4.1.1": - version "4.1.1" - resolved "https://registry.yarnpkg.com/@types/selenium-webdriver/-/selenium-webdriver-4.1.1.tgz#aefb038f0462fd880f9c9581b8b3b71ce385719c" - integrity sha512-NxxZZek50ylIACiXebKQYHD3D4One3WXOasEXWazL6aTfYbZob7ClNKxUpg8I4/oWArX87oPWvj1cHKqfel3Hg== +"@types/selenium-webdriver@^4.1.2": + version "4.1.2" + resolved "https://registry.yarnpkg.com/@types/selenium-webdriver/-/selenium-webdriver-4.1.2.tgz#9c6d8d6bea08b312e890aaa5915fb2228fa62486" + integrity sha512-NCn1vqHC2hDgZmOuiDa4xgyo3FBZuqB+wXg5t8YcwnjIi2ufGTowqcnbUAKGHxY7z/OFfv4MnaVfuJ7gJ/xBsw== dependencies: "@types/ws" "*"